• Studio

  • Studio API

  • Bots

  • Web API

  • Designer Resources

  • Host Resources

  • Globals

    Behaviour

    Inherits from:

    Behaviour serves as the foundational class for enabling or disabling functionality on GameObjects, acting as a base for various active components such as scripts (MonoBehaviour), physics components (Rigidbody), and renderers (MeshRenderer). It facilitates dynamic control over the active states of attached functionalities. For comprehensive information, the official Unity documentation on Behaviour is recommended. Unity's Behaviour Documentation

    Properties

    enabled

    boolean
    ClientAndServer

    Permits runtime toggling of a Behaviour's active state, affecting scripts, physics, renderers, etc. Unity's Behaviour.enabled Documentation

    isActiveAndEnabled

    boolean
    ClientAndServer
    ReadOnly

    Indicates whether the Behaviour is active, considering both its own state and the GameObject's activity. Unity's Behaviour.isActiveAndEnabled Documentation

    Updated 9 days ago

    PocketWorlds Icon

    © 2025 Pocket Worlds. All rights reserved.