public override void Enter() { base.Enter(); idle = GetComponent <IdleState>(); movementIdle = GetComponent <MyGuyMovement>(); MoveSet(); }
private void Awake() { checkDist = GetComponent <Radar>(); movementRun = GetComponent <MyGuyMovement>(); run = GetComponent <RunState>(); }