Example #1
0
 private void SetupEasterEgg()
 {
     if (PD.isDemo)
     {
         return;
     }
     if (!PD.IsKeyInUse((int)KeyCode.E))
     {
         medicKey = KeyCode.E;
     }
     else if (!PD.IsKeyInUse((int)KeyCode.Alpha1))
     {
         medicKey = KeyCode.Alpha1;
     }
     else
     {
         medicKey = KeyCode.CapsLock;
     }
 }