Example #1
0
 public void Destroy()
 {
     holder.RemoveListenForUpdate();
     sprite.RemoveFromContainer();
     UnityEngine.Object.Destroy(gameObject);
 }