コード例 #1
0
 void select()
 {
     resetMouse();
     setSelected(counter);
     menuScript = selected.GetComponent <GameOverMenuEffects>();
     menuScript.setRowNumber(1);
     selected.GetComponent <OTSprite>().size = size + new Vector2(100, 100);;
     audio.PlayOneShot(selectSound);
 }
コード例 #2
0
 void resetMouse()
 {
     if (mouse)
     {
         for (int i = 0; i < 3; i++)
         {
             setSelected(i);
             menuScript = selected.GetComponent <GameOverMenuEffects>();
             menuScript.setRowNumber(0);
             selected.GetComponent <OTSprite>().size = size;
         }
         mouse = false;
     }
 }