|
| bool | Contains (MenuPanel panel) |
| |
| bool | ShouldAddDroppedMenu (MenuPanel panel) |
| |
| void | Add (MenuPanel panel) |
| |
| void | Remove (MenuPanel panel) |
| |
| void | DestroyComponent () |
| | Removes this component from the entity that contains it. More...
|
| |
| void | DestroyEntity () |
| | Removes the entity containing this component from the world, along with any child entities. More...
|
| |
| override string | ToString () |
| | Returns a string representing this component with the format "TypeName (EntityName)." More...
|
| |
| Entity | CreateChild () |
| | Creates a new Entity parented to this one. More...
|
| |
| TComponent | CreateChildWithComponent< TComponent > () |
| | Creates a new Entity parented to this one with a component of the given type, which is returned. More...
|
| |
| Entity | FindChild (string name, bool recurse=true) |
| | Attempts to find a child Entity of this one with the given name, and optionally searches recursively through all children. Null is returned if no matches are found. More...
|
| |
| TComponent | FindChildComponent< TComponent > (string name, bool recurse=true) |
| | Attempts to find a child Entity of this one with the given name, and optionally searches recursively through all children. If a matching Entity is found, a component of the given type is retrieved from it. Null is returned if no matches are found. More...
|
| |
| Entity | FindParent (string name) |
| | Attempts to find an Entity that contains this Object's Entity with the given Name. Returns null if no match is found. More...
|
| |
| TComponent | FindParentComponent< TComponent > () |
| | Attempts to find an Entity that contains this Object's Entity with a component of the given type. If a matching Entity is found, the component of the given type is retrieved from it. Returns null if no match is found. More...
|
| |
| TComponent | FindParentComponent< TComponent > (string name) |
| | Attempts to find an Entity that contains this Object's Entity with the given Name. If a matching Entity is found, a component of the given type is retrieved from it. Returns null if no match is found. More...
|
| |
| TComponent | AddComponent< TComponent > () |
| | Adds a component of the specified type to this entity, returning the new component. More...
|
| |
| TComponent | GetOrAddComponent< TComponent > () |
| | Attempts to get a component of the specified type from this entity, adding it if one doesn't already exist. More...
|
| |
| TComponent | GetComponent< TComponent > () |
| | Attempts to get a component of the specified type from this entity, returning null if one doesn't exist. More...
|
| |
| IEnumerable< TComponent > | GetComponents< TComponent > () |
| | Gets all components derived from the given type. More...
|
| |
|
| override void | OnUpdate () |
| | Called once per world update if this component and its parent entity are enabled. More...
|
| |
| object | Wait (float timeSeconds) |
| | Suspends coroutine operation for the given time when yielded. More...
|
| |
| object | StartCoroutine (IEnumerator routine) |
| | Starts execution of a coroutine. More...
|
| |
| virtual void | OnSave (BinaryWriter writer) |
| | Implement this and OnLoad to enable serialization of this component when the parent entity saves. More...
|
| |
| virtual void | OnLoad (BinaryReader reader) |
| | Implement this and OnSave to enable serialization of this component when the parent entity saves. More...
|
| |
| virtual void | OnInitialize () |
| | Called only once, when the component is first attached to an entity and is ready to add or retrieve other components. More...
|
| |
| virtual void | OnEnable () |
| | Called each time this component goes from being disabled to enabled. More...
|
| |
| virtual void | OnDisable () |
| | Called each time this component goes from being enabled to disabled. More...
|
| |
| virtual void | OnPhysicsUpdate () |
| | Called at a fixed time step for any time dependant physics calculations. More...
|
| |
| virtual void | OnDestroy () |
| | Called when this component is removed, or the parent entity is destroyed. More...
|
| |
| virtual void | OnPreRender () |
| | Called just before the entity containing this component is rendered. More...
|
| |