Пример #1
0
 // Start is called before the first frame update
 void Start()
 {
     JobSystem = GameObject.Find("JobAssignmentSystem");
     jobScript = JobSystem.GetComponent <JobAssignmentSystem>();
     Architect = ArchitectBar.GetComponent <WariateUI>();
     Work      = WorkBar.GetComponent <WariateUI>();
     Deffence  = DeffenceBar.GetComponent <WariateUI>();
 }
Пример #2
0
 // Start is called before the first frame update
 void Start()
 {
     JobSystem = GameObject.Find("JobAssignmentSystem");
     jobScript = JobSystem.GetComponent <JobAssignmentSystem>();
 }
Пример #3
0
 // Start is called before the first frame update
 void Start()
 {
     JobAssignmentSystem = GameObject.Find("JobAssignmentSystem").GetComponent <JobAssignmentSystem>();
     queenroom           = GetComponent <QueenRoom>();
 }