C# Class AIInputController, Heavy-Insertion

Inheritance: InputController
Mostra file Open project: Rabenvald/Heavy-Insertion Class Usage Examples

Public Properties

Property Type Description
AllowRetreat bool
NextWaypoint GameObject
Objective GameObject
PathfollowingFudgeFactor float
PrevWaypoint GameObject

Public Methods

Method Description
Approach ( GameObject target ) : void
Approach ( Vector3 targetPosition ) : void
FixedUpdate ( ) : void
Flee ( GameObject gO ) : Vector3
Flee ( Vector3 pos ) : Vector3
OnDrawGizmos ( ) : void
Seek ( GameObject gO ) : Vector3
Seek ( Vector3 pos ) : Vector3
Start ( ) : void

Private Methods

Method Description
FindNearestPathWaypoint ( ) : GameObject
FollowPath ( ) : Vector3
SetNextWaypoint ( ) : void

Method Details

Approach() public method

public Approach ( GameObject target ) : void
target GameObject
return void

Approach() public method

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

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

Flee() public method

public Flee ( GameObject gO ) : Vector3
gO GameObject
return Vector3

Flee() public method

public Flee ( Vector3 pos ) : Vector3
pos Vector3
return Vector3

OnDrawGizmos() public method

public OnDrawGizmos ( ) : void
return void

Seek() public method

public Seek ( GameObject gO ) : Vector3
gO GameObject
return Vector3

Seek() public method

public Seek ( Vector3 pos ) : Vector3
pos Vector3
return Vector3

Start() public method

public Start ( ) : void
return void

Property Details

AllowRetreat public_oe property

public bool AllowRetreat
return bool

NextWaypoint public_oe property

public GameObject NextWaypoint
return GameObject

Objective public_oe property

public GameObject Objective
return GameObject

PathfollowingFudgeFactor public_oe property

public float PathfollowingFudgeFactor
return float

PrevWaypoint public_oe property

public GameObject PrevWaypoint
return GameObject