Пример #1
0
        public void RecycleSelf()
        {
            Die();

            StopAllCoroutines();
            rigidbody2D_.isKinematic = true;
            PoolManager.Deallocate(this);
        }
Пример #2
0
 private void DestroySelf()
 {
     PoolManager.Deallocate(gameObject);
 }