BaseObject.Destroy C# (CSharp) Method

Destroy() public method

public Destroy ( ) : void
return void
    public virtual void Destroy()
    {
        IsDestroy = true;
    }
}

Usage Example

Exemplo n.º 1
0
 public virtual void ClearAll()
 {
     for (int i = 0; i < objectList.Count; i++)
     {
         BaseObject.Destroy(objectList[i]);
         objectList[i] = null;
     }
     objectList.Clear();
 }
All Usage Examples Of BaseObject::Destroy