Method PrimaryTargetID
PrimaryTargetID(GameObject)
A utilty function that picks the RideID of a game object with multiple Scenario Map Components
Declaration
public RideID PrimaryTargetID(GameObject go)
Parameters
Type | Name | Description |
---|---|---|
GameObject | go | A game object that has Scenario Map Components attached to it |
Returns
Type | Description |
---|---|
RideID | The primary TargetID among this game object's components |