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