Method GetObject
GetObject(Int32)
Uses the id given by the engine that ride uses to look up the RideID
Declaration
RideID GetObject(int engineGameObjectInstanceId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | engineGameObjectInstanceId | The id given to an object by the game/simulation engine. This is NOT a RideID |
Returns
Type | Description |
---|---|
RideID | The RideID associated with this object. RideID.NULL is not found |
GetObject(Object)
Uses the runtime existing object by the engine that ride uses to look up the RideID
Declaration
RideID GetObject(object engineObject)
Parameters
Type | Name | Description |
---|---|---|
System.Object | engineObject | The runtime object of the game/simulation engine |
Returns
Type | Description |
---|---|
RideID | The RideID associated with this object. RideID.NULL is not found |