C# Class Pathfinding.RandomPath

Inheritance: ABPath
Show file Open project: henryj41043/TheUnseen Class Usage Examples

Public Properties

Property Type Description
aim UnityEngine.Vector3
aimStrength float
searchLength int
spread int
uniform bool

Public Methods

Method Description
CalculateStep ( long targetTick ) : void
Construct ( Vector3 start, int length, OnPathDelegate callback = null ) : RandomPath
Initialize ( ) : void
Prepare ( ) : void
RandomPath ( ) : UnityEngine
RandomPath ( Vector3 start, int length, OnPathDelegate callback = null ) : UnityEngine
Reset ( ) : void
ReturnPath ( ) : void

Protected Methods

Method Description
Recycle ( ) : void
Setup ( Vector3 start, int length, OnPathDelegate callback ) : RandomPath

Method Details

CalculateStep() public method

public CalculateStep ( long targetTick ) : void
targetTick long
return void

Construct() public static method

public static Construct ( Vector3 start, int length, OnPathDelegate callback = null ) : RandomPath
start UnityEngine.Vector3
length int
callback OnPathDelegate
return RandomPath

Initialize() public method

public Initialize ( ) : void
return void

Prepare() public method

public Prepare ( ) : void
return void

RandomPath() public method

public RandomPath ( ) : UnityEngine
return UnityEngine

RandomPath() public method

public RandomPath ( Vector3 start, int length, OnPathDelegate callback = null ) : UnityEngine
start UnityEngine.Vector3
length int
callback OnPathDelegate
return UnityEngine

Recycle() protected method

protected Recycle ( ) : void
return void

Reset() public method

public Reset ( ) : void
return void

ReturnPath() public method

public ReturnPath ( ) : void
return void

Setup() protected method

protected Setup ( Vector3 start, int length, OnPathDelegate callback ) : RandomPath
start UnityEngine.Vector3
length int
callback OnPathDelegate
return RandomPath

Property Details

aim public property

public Vector3,UnityEngine aim
return UnityEngine.Vector3

aimStrength public property

public float aimStrength
return float

searchLength public property

public int searchLength
return int

spread public property

public int spread
return int

uniform public property

public bool uniform
return bool