Method GetSceneObject
GetSceneObject(String)
Returns the gameobject with the given name that exists in the scene
Declaration
RideID GetSceneObject(string objectName)
Parameters
Type | Name | Description |
---|---|---|
System.String | objectName | The name of the object in the scene |
Returns
Type | Description |
---|---|
RideID | Returns the gameobject with the given name that exists in the scene. Null if not found |