Init(args)
Scripting Reference
List of all members | Static Public Member Functions
Sisus.Init.SystemObjectExtensions Class Reference

Description

Extensions methods for all objects that can be used to check that they exist in a way that handles Object.Destroy destroyed Objects properly.

These can be useful for checking interface type variables when the class of the object thas has been assigned to the variable may or may not derive from Object.

Static Public Member Functions

static bool Exists< T > (this T @this)
 Returns a value indicator whether or not this object nullexistsand has not been destroyed. More...
 
static bool ExistsAndIsActive< T > (this T @this)
 Returns a value indicator whether or not this object nullexists, has not been destroyed and is not inactive. More...