コード例 #1
0
ファイル: ParamsPanel.cs プロジェクト: SoulEvans07/RoboCoder
 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);
 }
コード例 #2
0
 public void Open(ProgrammerPanel cpu, GameObject cell)
 {
     this.gameObject.SetActive(true);
     this.cpu = cpu;
     Init(cell.GetComponent <Cell>().addr);
 }
コード例 #3
0
ファイル: Processor.cs プロジェクト: SoulEvans07/RoboCoder
 public void Start()
 {
     programmer = programmerPanel.GetComponent <ProgrammerPanel>();
 }