ATMOSkytest.ATMOSkytest.device_OnEvent C# (CSharp) Méthode

device_OnEvent() static private méthode

static private device_OnEvent ( Event ev ) : bool
ev IrrlichtNETCP.Event
Résultat bool
        static bool device_OnEvent(Event ev)
        {
            if (ev.KeyPressedDown && ev.KeyCode == KeyCode.Escape)
                Exit = true;
            return false;
        }