private void Die() { if (GetComponent <BloodCellMovement>().Mode == CellMoveMode.Play) { GameEvents.ActiveCellDied(); } Destroy(this.gameObject); }