Esempio n. 1
0
 private void Awake()
 {
     checkDist   = GetComponent <Radar>();
     movementRun = GetComponent <MyGuyMovement>();
     run         = GetComponent <RunState>();
 }
Esempio n. 2
0
 private void Awake()
 {
     current = GetComponentInParent <SuckerYouController>();
     moveRun = GetComponentInParent <SuckerYouMovement>();
     run     = current.currentState;
 }