πŸ“—
Padlock System - Doc
  • Padlock System - Introduction
  • ⭐Getting Started
    • Quick Start
    • Detailed Setup
  • ❓Support
    • FAQ
    • Unlock Event
    • Yellow Warnings?
    • Input Locations
    • Adding Audio Clips
    • Adding Trigger Event
    • Changing Materials
    • System Namespace
    • Changing Character Controller
  • πŸŒ€Development
    • Patch Notes - V1.6
    • Roadmap
  • πŸ“§Contacts
    • Contact Me
    • My Other Assets
Powered by GitBook
On this page

Was this helpful?

  1. Support

System Namespace

What is a namespace?

A namespace is almost like a folder that keeps scripts and classes from clashing with others that might have the same name. It's good practise to add them around classes which may have common names or specific use cases, so you can keep the code specific to your systems.

Namespace PadlockSystem;

How to reference namespaces to use in other scripts?

If you need to access the chess puzzle scripts from another script that isn’t in relation to this asset you may need to use a namespace collection at the top of your script:

Using PadlockSystem;
PreviousChanging MaterialsNextChanging Character Controller

Last updated 1 year ago

Was this helpful?

❓