Class OnDestroyTests
Inheritance
object
OnDestroyTests
Assembly: solution.dll
Syntax
public class OnDestroyTests
Methods
SetUp()
Declaration
public IEnumerator SetUp()
Returns
| Type |
Description |
| IEnumerator |
|
TearDown()
Declaration
public IEnumerator TearDown()
Returns
| Type |
Description |
| IEnumerator |
|
TestDisabledGameObjectDestroyDoesntTriggerOnDestroy(bool)
Declaration
public IEnumerator TestDisabledGameObjectDestroyDoesntTriggerOnDestroy(bool destroyImmediately)
Parameters
| Type |
Name |
Description |
| bool |
destroyImmediately |
|
Returns
| Type |
Description |
| IEnumerator |
|
TestGameObjectDestroyTriggersOnDestroy(bool)
Declaration
public IEnumerator TestGameObjectDestroyTriggersOnDestroy(bool destroyImmediately)
Parameters
| Type |
Name |
Description |
| bool |
destroyImmediately |
|
Returns
| Type |
Description |
| IEnumerator |
|
TestGameObjectDestroyTriggersOnDestroyAfterDisable(bool)
Declaration
public IEnumerator TestGameObjectDestroyTriggersOnDestroyAfterDisable(bool destroyImmediately)
Parameters
| Type |
Name |
Description |
| bool |
destroyImmediately |
|
Returns
| Type |
Description |
| IEnumerator |
|
Extension Methods