Example #1
0
 public virtual void Destroy()
 {
     if (DestroyHandler != null)
     {
         DestroyHandler(this);
     }
     if (gameObject != null)
     {
         U3DMod.Destroy(gameObject);
     }
 }
Example #2
0
 public virtual void DestroyThisComponent()
 {
     U3DMod.Destroy(this);
 }