C# Class PathMoveable, unity-utilities

Inheritance: MonoBehaviour
Datei anzeigen Open project: jorgenpt/unity-utilities

Public Properties

Property Type Description
remainingDistanceTolerance float
shouldIgnoreHeightOfDestination bool

Public Methods

Method Description
ArrivedAtDestination ( ) : void
IsMoving ( ) : bool
OnDrawGizmos ( ) : void
OnNewPath ( Path, path ) : void
OnPathInvalidated ( Path, path ) : void
OnTargetUnreachable ( ) : void
StartMovingTo ( Vector3 position ) : void
StopMoving ( ) : void
Update ( ) : void

Protected Methods

Method Description
GetSpeed ( ) : float

Method Details

ArrivedAtDestination() public method

public ArrivedAtDestination ( ) : void
return void

GetSpeed() protected method

protected GetSpeed ( ) : float
return float

IsMoving() public method

public IsMoving ( ) : bool
return bool

OnDrawGizmos() public method

public OnDrawGizmos ( ) : void
return void

OnNewPath() public method

public OnNewPath ( Path, path ) : void
path Path,
return void

OnPathInvalidated() public method

public OnPathInvalidated ( Path, path ) : void
path Path,
return void

OnTargetUnreachable() public method

public OnTargetUnreachable ( ) : void
return void

StartMovingTo() public method

public StartMovingTo ( Vector3 position ) : void
position Vector3
return void

StopMoving() public method

public StopMoving ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

remainingDistanceTolerance public_oe property

public float remainingDistanceTolerance
return float

shouldIgnoreHeightOfDestination public_oe property

public bool shouldIgnoreHeightOfDestination
return bool