C# Class PawnController, TimeLapsus

Inheritance: MonoBehaviour
显示文件 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_oe property

public float DestinationDelta
return float

DestinationOffsetY public_oe property

public float DestinationOffsetY
return float

MoveSpeedMultiplicator public_oe property

public float MoveSpeedMultiplicator
return float

StepsWaitTime public_oe property

public float StepsWaitTime
return float

isMoving public_oe property

public bool isMoving
return bool

pathfinder public_oe property

public Pathfinder pathfinder
return Pathfinder