示例#1
0
 void ShowAll()
 {
     A.SetActive(true);
     B.SetActive(true);
     C.SetActive(true);
     AB.SetActive(true);
     AC.SetActive(true);
     BC.SetActive(true);
     ABC.SetActive(true);
 }
示例#2
0
 void HideAll()
 {
     A.SetActive(false);
     B.SetActive(false);
     C.SetActive(false);
     AB.SetActive(false);
     AC.SetActive(false);
     BC.SetActive(false);
     ABC.SetActive(false);
 }
示例#3
0
 void SetOp2A(int a, int b)
 {
     Debug.Log(a + " : " + b);
     container.SetActive(true);
     HideAll();
     HideAllText();
     if (a == 0)
     {
         if (b == 0)
         {
             ABC.SetActive(true);
         }
         else if (b == 1)
         {
             ABC.SetActive(true);
             AB.SetActive(true);
             AC.SetActive(true);
         }
         else if (b == 2)
         {
             AB.SetActive(true);
         }
     }
     else if (a == 1)
     {
         if (b == 0)
         {
             A.SetActive(true);
             AB.SetActive(true);
             ABC.SetActive(true);
             BC.SetActive(true);
             AC.SetActive(true);
         }
         else if (b == 1)
         {
             ShowAll();
         }
         else if (b == 2)
         {
             A.SetActive(true);
             B.SetActive(true);
             AB.SetActive(true);
             AC.SetActive(true);
             ABC.SetActive(true);
         }
     }
     else if (a == 2)
     {
         if (b == 0)
         {
             A.SetActive(true);
             AB.SetActive(true);
             AC.SetActive(true);
         }
         else if (b == 1)
         {
             A.SetActive(true);
         }
         else if (b == 2)
         {
             A.SetActive(true);
             AC.SetActive(true);
             ABC.SetActive(true);
         }
     }
 }