Method PhysicsDestroy
PhysicsDestroy(GameObject)
Destroys an object and waits one physics frame.
Declaration
protected static IEnumerator PhysicsDestroy(GameObject go)
Parameters
| Type | Name | Description |
|---|---|---|
| GameObject | go | GameObject to destroy. |
Returns
| Type | Description |
|---|---|
| IEnumerator |