Click or drag to resize
SingletonT Methods

The SingletonT generic type exposes the following members.

Methods
  NameDescription
Public methoddestroy
Called when destroying the instance. Any cleanup code needs to go here.
Public methodStatic memberdestroyInstance
Calls mInstance.destroy() and then sets the instance to null.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Private methodFieldGetter (Inherited from Object.)
Private methodFieldSetter (Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Private methodGetFieldInfo (Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodStatic membergetInstance
Gets or instantiates the sole instance of the class. Do not access mInstance, as it is not guaranteed to be set.
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also