C# 클래스 EnemyController, Unity-AI-framework

상속: MonoBehaviour
파일 보기 프로젝트 열기: MyOwnClone/Unity-AI-framework 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
DestroySelf ( ) : void
DoRayCast ( ) : void
ResetMovement ( ) : void
RotateByPath ( ) : void
Start ( ) : void
Update ( ) : void
WaypointSystemChangedCallback ( ) : void

비공개 메소드들

메소드 설명
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

메소드 상세

DestroySelf() 공개 메소드

public DestroySelf ( ) : void
리턴 void

DoRayCast() 공개 메소드

public DoRayCast ( ) : void
리턴 void

ResetMovement() 공개 메소드

public ResetMovement ( ) : void
리턴 void

RotateByPath() 공개 메소드

public RotateByPath ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

WaypointSystemChangedCallback() 공개 메소드

public WaypointSystemChangedCallback ( ) : void
리턴 void

프로퍼티 상세

actualStartNode 공개적으로 프로퍼티

public PathNode actualStartNode
리턴 PathNode

actualTargetNode 공개적으로 프로퍼티

public PathNode actualTargetNode
리턴 PathNode

endNodePosition 공개적으로 프로퍼티

public Vector3 endNodePosition
리턴 Vector3

enemiesInSight 공개적으로 프로퍼티

public int enemiesInSight
리턴 int

enemiesInSightIdList 공개적으로 프로퍼티

public List enemiesInSightIdList
리턴 List

enemiesInSightList 공개적으로 프로퍼티

public List enemiesInSightList
리턴 List

id 공개적으로 프로퍼티

public int id
리턴 int

innerStart 공개적으로 프로퍼티

public PathNode innerStart
리턴 PathNode

parent 공개적으로 프로퍼티

public Object,UnityEngine parent
리턴 UnityEngine.Object

pathForPreparedWaypointsNotFound 공개적으로 프로퍼티

public bool pathForPreparedWaypointsNotFound
리턴 bool

pathfindingRequested 공개적으로 프로퍼티

public bool pathfindingRequested
리턴 bool

start 공개적으로 프로퍼티

public PathNode start
리턴 PathNode

startIndex 공개적으로 프로퍼티

public int startIndex
리턴 int

startNodePosition 공개적으로 프로퍼티

public Vector3 startNodePosition
리턴 Vector3

waypointsPrepared 공개적으로 프로퍼티

public bool waypointsPrepared
리턴 bool