Exemplo n.º 1
0
    private void OnEnemyDefeatedCheck(IGameEvent obj)
    {
        StandardSendGameEvent ssge = (StandardSendGameEvent)obj;

        if (MyKeys.VerificaEnemyShift((string)ssge.MyObject[0]))
        {
            Destroy((GameObject)ssge.MyObject[1]);
        }
    }