Exemplo 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;
 }
Exemplo n.º 3
0
 private void Start()
 {
     currentInstruction = attack;
 }