C# 클래스 BasicEnemyBehavior, TWI_Repo

상속: MonoBehaviour
파일 보기 프로젝트 열기: justcollins/TWI_Repo 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
allowedToPatrol bool
allowedToWander bool
damageThreshold float
distanceThreshold float
findTargetAutomatically bool
initialPatrolPoint Waypoint,
lowerboundWait float
maxVelocity float
playerDamageHandler DamageHandler,
rotateSpeed float
showDebugMessages bool
upperboundWait float
wanderpoints Transform[]
waypointRadius float

공개 메소드들

메소드 설명
Awake ( ) : void
CheckForRequirements ( ) : void
CheckWherePlayerIs ( ) : void
DealDamage ( ) : void
FixedUpdate ( ) : void
GoToPlayer ( ) : void
GoToWaypoint ( ) : void
GotRespawned ( ) : void
LookAtTarget ( Vector3 target ) : void
MakeMeChase ( ) : void
Movement ( ) : void
OnDrawGizmos ( ) : void
OnPathFound ( Vector3 newPath, bool pathSuccess ) : void
Start ( ) : void
Update ( ) : void

비공개 메소드들

메소드 설명
CalculateMovement ( Vector3 t ) : Vector3
FollowPath ( ) : IEnumerator
LookForTarget ( ) : IEnumerator

메소드 상세

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

CheckForRequirements() 공개 메소드

public CheckForRequirements ( ) : void
리턴 void

CheckWherePlayerIs() 공개 메소드

public CheckWherePlayerIs ( ) : void
리턴 void

DealDamage() 공개 메소드

public DealDamage ( ) : void
리턴 void

FixedUpdate() 공개 메소드

public FixedUpdate ( ) : void
리턴 void

GoToPlayer() 공개 메소드

public GoToPlayer ( ) : void
리턴 void

GoToWaypoint() 공개 메소드

public GoToWaypoint ( ) : void
리턴 void

GotRespawned() 공개 메소드

public GotRespawned ( ) : void
리턴 void

LookAtTarget() 공개 메소드

public LookAtTarget ( Vector3 target ) : void
target Vector3
리턴 void

MakeMeChase() 공개 메소드

public MakeMeChase ( ) : void
리턴 void

Movement() 공개 메소드

public Movement ( ) : void
리턴 void

OnDrawGizmos() 공개 메소드

public OnDrawGizmos ( ) : void
리턴 void

OnPathFound() 공개 메소드

public OnPathFound ( Vector3 newPath, bool pathSuccess ) : void
newPath Vector3
pathSuccess bool
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

allowedToPatrol 공개적으로 프로퍼티

public bool allowedToPatrol
리턴 bool

allowedToWander 공개적으로 프로퍼티

public bool allowedToWander
리턴 bool

damageThreshold 공개적으로 프로퍼티

public float damageThreshold
리턴 float

distanceThreshold 공개적으로 프로퍼티

public float distanceThreshold
리턴 float

findTargetAutomatically 공개적으로 프로퍼티

public bool findTargetAutomatically
리턴 bool

initialPatrolPoint 공개적으로 프로퍼티

public Waypoint, initialPatrolPoint
리턴 Waypoint,

lowerboundWait 공개적으로 프로퍼티

public float lowerboundWait
리턴 float

maxVelocity 공개적으로 프로퍼티

public float maxVelocity
리턴 float

playerDamageHandler 공개적으로 프로퍼티

public DamageHandler, playerDamageHandler
리턴 DamageHandler,

rotateSpeed 공개적으로 프로퍼티

public float rotateSpeed
리턴 float

showDebugMessages 공개적으로 프로퍼티

public bool showDebugMessages
리턴 bool

upperboundWait 공개적으로 프로퍼티

public float upperboundWait
리턴 float

wanderpoints 공개적으로 프로퍼티

public Transform[] wanderpoints
리턴 Transform[]

waypointRadius 공개적으로 프로퍼티

public float waypointRadius
리턴 float