Method GetSystem
GetSystem<T>(RideID)
Returns a system with the given id
Declaration
T GetSystem<T>(RideID system)
where T : IRideSystem
Parameters
Type | Name | Description |
---|---|---|
RideID | system | The id of the system |
Returns
Type | Description |
---|---|
T | The system. Null if not found |
Type Parameters
Name | Description |
---|---|
T |
GetSystem<T>()
Returns a system of the given type
Declaration
T GetSystem<T>()
where T : IRideSystem
Returns
Type | Description |
---|---|
T | the first system found of type T. returns default(T) if not found |
Type Parameters
Name | Description |
---|---|
T |