Init(args)
Scripting Reference
Loading...
Searching...
No Matches

◆ Destroy()

static void Sisus.Init.WrapperExtensions.Destroy ( [DisallowNull] this IWrapper wrapper)
static

Destroys this wrapper using Object.Destroy(Object).

If the wrapped object implements System.IDisposable, then System.IDisposable.Dispose will be called on it.

Parameters
wrapperThe wrapper to destroy.