ReadonlyapiGeneric 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.
ReadonlysceneThe SceneObject this component is on.
ReadonlysyncReadonlyuniqueThe storage property to add to the entity
The storage property that was added
True if the current user can modify the store
Adds a new SceneEvent, triggered by eventType events, to the ScriptComponent.
Destroys the component.
True if the store is owned by the current user
Returns the SceneObject the component is attached to.
The data store backing this entity
The store owner's user info
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.
True if the store is owned by any user
True if the store is ready
Removes a previously added SceneEvent from the ScriptComponent.
Meant to be a very simple interface for a synced entity and its RealtimeStore. It doesn’t do any behaviors on its own, so it can be used just for storing and retrieving synced values.