Method Destroy
Destroy(RideID)
Destroy the object
Declaration
void Destroy(RideID obj)
Parameters
Type | Name | Description |
---|---|---|
RideID | obj | The object to destroy |
Destroy(RideID, Single)
Destroy the object after an amount of time.
Declaration
void Destroy(RideID obj, float delay)
Parameters
Type | Name | Description |
---|---|---|
RideID | obj | The object to destroy |
System.Single | delay | Time to wait before obliteration, in seconds |