Class UnityObjectExtensions
Extension methods for Unity's Object class
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit
Assembly: cs.temp.dll.dll
Syntax
public static class UnityObjectExtensions
Methods
DontDestroyOnLoad(Object)
Enable Unity objects to skip "DontDestroyOnLoad" when editor isn't playing so test runner passes.
Declaration
public static void DontDestroyOnLoad(this object target)
Parameters
Type | Name | Description |
---|---|---|
Object | target |