Exemplo n.º 1
0
 public bool Open(ProgrammerPanel cpu, GameObject cell)
 {
     if (this.gameObject.activeSelf)
     {
         if (!actual.Equals(cell))
         {
             this.actual = cell;
             return(true);
         }
         else
         {
             this.gameObject.SetActive(false);
             return(false);
         }
     }
     this.gameObject.SetActive(true);
     return(true);
 }
Exemplo n.º 2
0
 public void Open(ProgrammerPanel cpu, GameObject cell)
 {
     this.gameObject.SetActive(true);
     this.cpu = cpu;
     Init(cell.GetComponent <Cell>().addr);
 }
Exemplo n.º 3
0
 public void Start()
 {
     programmer = programmerPanel.GetComponent <ProgrammerPanel>();
 }