Ejemplo n.º 1
0
 static void Prefix()
 {
     foreach (char c in Input.inputString)
     {
         if (code[codeIdx] == c)
         {
             if (++codeIdx < code.Length)
             {
                 continue;
             }
             else if (!GameplayManager.IsMultiplayer)
             {
                 MPObserver.Enable();
             }
         }
         codeIdx = 0;
     }
 }