Method DestroyObject
DestroyObject(Object)
Convenience to destroy an object, using the appropriate method depending on whether the game is playing
Declaration
public static void DestroyObject(Object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj | The object to destroy |