C# Class EnemyController, Unity-AI-framework

Inheritance: MonoBehaviour
Show file Open project: MyOwnClone/Unity-AI-framework Class Usage Examples

Public Properties

Property Type Description
actualStartNode PathNode
actualTargetNode PathNode
endNodePosition Vector3
enemiesInSight int
enemiesInSightIdList List
enemiesInSightList List
id int
innerStart PathNode
parent UnityEngine.Object
pathForPreparedWaypointsNotFound bool
pathfindingRequested bool
start PathNode
startIndex int
startNodePosition Vector3
waypointsPrepared bool

Public Methods

Method Description
DestroySelf ( ) : void
DoRayCast ( ) : void
ResetMovement ( ) : void
RotateByPath ( ) : void
Start ( ) : void
Update ( ) : void
WaypointSystemChangedCallback ( ) : void

Private Methods

Method Description
AngleDir ( Vector3 fwd, Vector3 targetDir, Vector3 up ) : float
ContAngle ( Vector3 fwd, Vector3 targetDir, Vector3 upDir ) : float
GetGameObjectsOnTheWay ( Vector3 start, Vector3 end ) : List
PrepareStartEndWaypoints ( PathNode &start, PathNode &end ) : bool

Method Details

DestroySelf() public method

public DestroySelf ( ) : void
return void

DoRayCast() public method

public DoRayCast ( ) : void
return void

ResetMovement() public method

public ResetMovement ( ) : void
return void

RotateByPath() public method

public RotateByPath ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

WaypointSystemChangedCallback() public method

public WaypointSystemChangedCallback ( ) : void
return void

Property Details

actualStartNode public property

public PathNode actualStartNode
return PathNode

actualTargetNode public property

public PathNode actualTargetNode
return PathNode

endNodePosition public property

public Vector3 endNodePosition
return Vector3

enemiesInSight public property

public int enemiesInSight
return int

enemiesInSightIdList public property

public List enemiesInSightIdList
return List

enemiesInSightList public property

public List enemiesInSightList
return List

id public property

public int id
return int

innerStart public property

public PathNode innerStart
return PathNode

parent public property

public Object,UnityEngine parent
return UnityEngine.Object

pathForPreparedWaypointsNotFound public property

public bool pathForPreparedWaypointsNotFound
return bool

pathfindingRequested public property

public bool pathfindingRequested
return bool

start public property

public PathNode start
return PathNode

startIndex public property

public int startIndex
return int

startNodePosition public property

public Vector3 startNodePosition
return Vector3

waypointsPrepared public property

public bool waypointsPrepared
return bool