Example #1
0
 public void TargetOff()
 {
     CoopTarget1.SetActive(false);
     CoopTarget2.SetActive(false);
     CoopTarget3.SetActive(false);
     CoopTarget4.SetActive(false);
 }
Example #2
0
 public void SetRed()
 {
     //Debug.Log("SetRed");
     if (first)
     {
         TargetOff();
         player1Color = 3;
         CoopTarget3.SetActive(true);
     }
     else
     {
         if (player1Color != 3)
         {
             TargetOff();
             player2Color = 3;
             CoopTarget3.SetActive(true);
         }
     }
 }