private void OnEnemyDefeatedCheck(IGameEvent obj) { StandardSendGameEvent ssge = (StandardSendGameEvent)obj; if (MyKeys.VerificaEnemyShift((string)ssge.MyObject[0])) { Destroy((GameObject)ssge.MyObject[1]); } }
private void OnEnemyDefeatedCheck(IGameEvent obj) { StandardSendGameEvent ssge = (StandardSendGameEvent)obj; if (MyKeys.VerificaEnemyShift((string)ssge.MyObject[0])) { Destroy((GameObject)ssge.MyObject[1]); } }