Class NamedObjectInfo
From TrainzOnline
(Difference between revisions)
(Create NamedObjectInfo) |
Revision as of 05:01, 29 December 2020
- API Hierarchy
- NamedObjectInfo
- NamedObjectInfo is a lightweight class containing a result from an asynchronous object search. It defines only four member fields.
- TrainUtil is located in asyncobjectsearch.gs.
Members
| public GameObject objectRef | A reference to the object, if it's loaded |
| public GameObjectID objectId | The unique ID of the object |
| public string localisedUsername | The display name for the object, in the current language |
| public string categoryString | The category code string for the object |
Related Methods