public override void OnDie() { //foreach (var d in OnMoved?.GetInvocationList()) //{ // OnMoved -= (Action<float>)d; //} if (Advertisement.IsReady()) { //Debug.Log ("ADS"); //Advertisement.Show (); } Taptic.Heavy(); //Debug.Log("OnDie"); ResetAnimation(SoldierAnims.reset); PlayAnimation(SoldierAnims.death); IsDead = true; GameManager.instanse.GameOver?.Invoke(this); scoreHandler.CleanUp(); }