C# Class PawnController, TimeLapsus

Inheritance: MonoBehaviour
Show file Open project: halbich/TimeLapsus Class Usage Examples

Public Properties

Property Type Description
DestinationDelta float
DestinationOffsetY float
MoveSpeedMultiplicator float
StepsWaitTime float
isMoving bool
pathfinder Pathfinder

Public Methods

Method Description
ClearAfterMoveAction ( ) : void
MoveTo ( Vector3 target, ContinueWith nextFn ) : void

Private Methods

Method Description
InternalMoveContinueWith ( ContinueWith realContinueWith ) : void
MoveToInternal ( Vector2 target2D, ContinueWith nextFn ) : void
RegisterStepSoundRegion ( StepSoundRegion, stepSoundRegion ) : void
SetInitPosition ( Vector3 target ) : void
SetNewFacing ( Facing, newDirection ) : void
Start ( ) : void
Update ( ) : void
playSteps ( ) : IEnumerator

Method Details

ClearAfterMoveAction() public method

public ClearAfterMoveAction ( ) : void
return void

MoveTo() public method

public MoveTo ( Vector3 target, ContinueWith nextFn ) : void
target Vector3
nextFn ContinueWith
return void

Property Details

DestinationDelta public property

public float DestinationDelta
return float

DestinationOffsetY public property

public float DestinationOffsetY
return float

MoveSpeedMultiplicator public property

public float MoveSpeedMultiplicator
return float

StepsWaitTime public property

public float StepsWaitTime
return float

isMoving public property

public bool isMoving
return bool

pathfinder public property

public Pathfinder pathfinder
return Pathfinder