Interface IGameObjectSystem
System for creating, destroying, finding, and attaching components to runtime engine gameobjects This should always be used to perform the aformentioned actions.
Inherited Members
Namespace: Ride
Assembly: cs.temp.dll.dll
Syntax
public interface IGameObjectSystem : IRideSystem, IApiInject, IIdentity
Methods
Name | Description |
---|---|
AddExistingObject(Object) | Adds an exsting runtime object to the game object system's list for tracking and assigns it a RideID |
Create(RideID, RideVector3, RideQuaternion) | Create a runtime object |
Create(String) | Create a runtime object |
Create(String, RideVector3, RideQuaternion) | Create a runtime object |
Create(String, RideVector3, RideQuaternion, CreationType) | Create a runtime object |
CreateFromEntity(EntityData) | Create a runtime object based off of an EntityData data structure |
CreateFromPrefab(String, RideVector3, RideQuaternion) | Create a runtime object based off of a prefab object in the project |
CreateFromResource(String) | |
CreateFromResource(String, RideVector3, RideQuaternion) | Create a runtime object based off of a resource object in the project |
CreateFromScene(String, RideVector3, RideQuaternion) | Create a runtime object based off of an object from the scene |
Destroy(RideID) | Destroy the object |
Destroy(RideID, Single) | Destroy the object after an amount of time. |
Exists(RideID) | Checks if the object exists. |
Find(String) | Find the object by name. If multiple objects have the same name, this returns the first |
GetEngineObjectId(RideID) | Returns the game/simulation engine's internal representation of the object |
GetName(RideID) | Get the name of the gameobject |
GetObject(Int32) | Uses the id given by the engine that ride uses to look up the RideID |
GetObject(Object) | Uses the runtime existing object by the engine that ride uses to look up the RideID |
InsertObject(Int32) | Insert the object into the system using id of the object assigned by the game/simulation engine. This is useful for associating RideID's for objects that exist in the scene prior to runtime |
ResetEntity(RideID) | Reset all the RideMonoBehaviour components of the entity |
SetActive(RideID, Boolean) | Set the gameobject active or inactive |
SetName(RideID, String) | Set the name of the gameobject |