示例#1
0
        public override void Enter()
        {
            base.Enter();
            idle         = GetComponent <IdleState>();
            movementIdle = GetComponent <MyGuyMovement>();

            MoveSet();
        }
示例#2
0
 private void Awake()
 {
     checkDist   = GetComponent <Radar>();
     movementRun = GetComponent <MyGuyMovement>();
     run         = GetComponent <RunState>();
 }