Esempio n. 1
0
 private void SetInstruction(ArcadeInstruction instruction)
 {
     if (instruction == currentInstruction)
     {
         return;
     }
     currentInstruction.SetActive(false);
     instruction.SetActive(true);
     currentInstruction = instruction;
 }
 private void SetInstruction(ArcadeInstruction instruction)
 {
     if (instruction == currentInstruction)
     {
         return;
     }
     if (currentInstruction != blank)
     {
         currentInstruction.SetActive(false);
     }
     if (instruction != blank)
     {
         Debug.Log("Setting instruction to " + instruction.name);
         instruction.SetActive(true);
     }
     currentInstruction = instruction;
 }
Esempio n. 3
0
 private void Start()
 {
     currentInstruction = attack;
 }