• Studio

  • Studio API

  • Bots

  • Web API

  • Designer Resources

  • Host Resources

  • Behaviour

    Inherits from: Component

    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.

    Properties

    enabled

    boolean

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

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

    Updated about 1 month ago

    PocketWorlds Icon

    © 2024 Pocket Worlds. All rights reserved.