WeatherMakerScriptReleaseInstanceT Method |
Release an instance created with FindOrCreateInstance
Namespace:
DigitalRuby.WeatherMaker
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public static void ReleaseInstance<T>(
ref T instance
)
where T : MonoBehaviour
Public Shared Sub ReleaseInstance(Of T As MonoBehaviour) (
ByRef instance As T
)
public:
generic<typename T>
where T : MonoBehaviour
static void ReleaseInstance(
T% instance
)
static member ReleaseInstance :
instance : 'T byref -> unit when 'T : MonoBehaviour
Parameters
- instance
- Type: T
Instance to release
Type Parameters
- T
- Type of object
See Also