Exemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     routine   = GetComponent <WorkerRoutine>();
     stats     = GetComponent <WorkerStats>();
     anim      = GetComponent <WorkerAnimationManager>();
     path      = GetComponent <PathFinding>();
     inventory = GameObject.FindWithTag("GameManager").GetComponent <TotalInventory>();
 }
Exemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     routine                = GetComponent <WorkerRoutine>();
     stats                  = GetComponent <WorkerStats>();
     anim                   = GetComponent <WorkerAnimationManager>();
     path                   = GetComponent <PathFinding>();
     taskInitiated          = false;
     constructionInProgress = false;
 }