TryGetSpaceObjectID
Method
Try find the space object ID for a given game object in the scene. Any child game object of a visual representation of a space object can be used to retrieve the space object ID.
Parameters
Parameter | Description |
---|---|
GameObject gameObject | A game object that is the visual representation of a space object |
int objectID | The resulting space object ID |