C# Class Gameplay.Unit.Movement.PathAgentController

Inheritance: Gameplay.Unit.Movement.BaseMovement
显示文件 Open project: badawe/GameStartUP Class Usage Examples

Public Methods

Method Description
SetDestination ( Vector3 targetDestination ) : void
Stop ( ) : void
WarpPosition ( Vector3 targetPosition ) : void

Protected Methods

Method Description
Awake ( ) : void
OnMoveSpeedAttributeChange ( float prevValue, float currentValue ) : void

Private Methods

Method Description
CheckDestination ( ) : IEnumerator
DispatchFail ( ) : void
DispatchReachPosition ( ) : void

Method Details

Awake() protected method

protected Awake ( ) : void
return void

OnMoveSpeedAttributeChange() protected method

protected OnMoveSpeedAttributeChange ( float prevValue, float currentValue ) : void
prevValue float
currentValue float
return void

SetDestination() public method

public SetDestination ( Vector3 targetDestination ) : void
targetDestination Vector3
return void

Stop() public method

public Stop ( ) : void
return void

WarpPosition() public method

public WarpPosition ( Vector3 targetPosition ) : void
targetPosition Vector3
return void