/// <summary> /// Creates this instance. /// </summary> protected virtual void Create() { IsCreated = true; MemHandler.Add(this); }
/// <summary> /// Destroys this instance. /// </summary> protected virtual void Destroy() { IsCreated = false; MemHandler.Remove(this); }