コード例 #1
0
 public void close()
 {
     if (level == 3)
     {
         targetX3    = x3Hidden;
         mustDisable = 2;
         level       = 1;
     }
     else if (level == 2)
     {
         targetX2    = x2Hidden;
         mustDisable = 1;
         level       = 1;
     }
     else if (level == 1)
     {
         targetX1    = x1Hidden;
         mustDisable = 0;
         level       = 0;
         levelRef.unblockPlayerControls();
     }
 }