public virtual void Destroy() { if (DestroyHandler != null) { DestroyHandler(this); } if (gameObject != null) { U3DMod.Destroy(gameObject); } }
public virtual void DestroyThisComponent() { U3DMod.Destroy(this); }