ProtectedaddReadonlyapiGeneric object accessible by other instances of ScriptComponent. Use this object to store references to properties and methods that need to be accessible from other ScriptComponents.
If disabled, the Component will stop enacting its behavior.
ReadonlyisReturns true if this Component, its SceneObject, and all of that SceneObjects parents are enabled.
ReadonlyonAn event that is triggered when a toggle is selected within the group.
ReadonlysceneThe SceneObject this component is on.
ReadonlyuniqueGets a value indicating whether all toggles in the group are allowed to be turned off.
When this property is true, it means that none of the toggles in the group
are required to remain active, allowing all toggles to be in an "off" state.
A boolean value indicating if all toggles can be turned off.
Sets whether all toggles in the group can be turned off simultaneously.
A boolean indicating if all toggles can be turned off.
If true, all toggles can be deselected at the same time.
Gets the list of toggleable components managed by this toggle group.
An array of Toggleable objects representing the toggleable components.
Adds a new SceneEvent, triggered by eventType events, to the ScriptComponent.
Deregisters a toggleable component from the toggle group.
This method removes the specified toggleable component from the list of registered toggleables and also removes its associated event handler.
The toggleable component to be deregistered.
Destroys the component.
Returns the SceneObject the component is attached to.
Returns the Transform this component is attached to.
StaticgetReturns the name of this object's type.
Returns true if the object matches or derives from the passed in type.
Returns true if this object is the same as other. Useful for checking if two references point to the same thing.
Registers a toggleable component with the toggle group, with an optional value.
The toggleable component to be registered.
An optional value associated with the toggleable.
Removes a previously added SceneEvent from the ScriptComponent.
A public API to reset the togglegroup
Represents a group of switch toggles.