C# Class EnemyDetectionScript.EnemyStateMachine

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: JordanStone/ExorcistForHire

Méthodes publiques

Свойство Type Description
AttackType EnemyAttackType
HandJoint UnityEngine.Transform
MovementType EnemyMovementType
PAngle float
PVelocity float
PatrolPath FollowPath
ProjectileAttackRange float
Ptime float
Speed float
ZoneStayTime float
ZoneStayTimeVariance float
currentState EnemyState
fieldOfViewAngle float
flashlightOnSightDistance float
flashlightfieldOfViewAngle float

Méthodes publiques

Méthode Description
Awake ( ) : void
ChangeState ( EnemyState STATE ) : IEnumerator
GetAttackArk ( Vector3 Target ) : float
OnDrawGizmos ( ) : void
OnEnable ( ) : void
OnTriggerEnter ( Collider c ) : void
OnTriggerStay ( Collider c ) : void
SetPlayerInTrigger ( bool Triggered ) : void
Update ( ) : void
UpdateAttack ( ) : void
UpdateDie ( ) : void
UpdatePatroll ( ) : void
UpdateSearch ( ) : void
setSight ( ) : void

Private Methods

Méthode Description
EnterAttack ( ) : IEnumerator
EnterDie ( ) : IEnumerator
EnterPatroll ( ) : IEnumerator
EnterSearch ( ) : IEnumerator
ExitAttack ( ) : IEnumerator
ExitDie ( ) : IEnumerator
ExitPatroll ( ) : IEnumerator
ExitSearch ( ) : IEnumerator

Method Details

Awake() public méthode

public Awake ( ) : void
Résultat void

ChangeState() public méthode

public ChangeState ( EnemyState STATE ) : IEnumerator
STATE EnemyState
Résultat IEnumerator

GetAttackArk() public méthode

public GetAttackArk ( Vector3 Target ) : float
Target UnityEngine.Vector3
Résultat float

OnDrawGizmos() public méthode

public OnDrawGizmos ( ) : void
Résultat void

OnEnable() public méthode

public OnEnable ( ) : void
Résultat void

OnTriggerEnter() public méthode

public OnTriggerEnter ( Collider c ) : void
c UnityEngine.Collider
Résultat void

OnTriggerStay() public méthode

public OnTriggerStay ( Collider c ) : void
c UnityEngine.Collider
Résultat void

SetPlayerInTrigger() public méthode

public SetPlayerInTrigger ( bool Triggered ) : void
Triggered bool
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

UpdateAttack() public méthode

public UpdateAttack ( ) : void
Résultat void

UpdateDie() public méthode

public UpdateDie ( ) : void
Résultat void

UpdatePatroll() public méthode

public UpdatePatroll ( ) : void
Résultat void

UpdateSearch() public méthode

public UpdateSearch ( ) : void
Résultat void

setSight() public méthode

public setSight ( ) : void
Résultat void

Property Details

AttackType public_oe property

public EnemyAttackType AttackType
Résultat EnemyAttackType

HandJoint public_oe property

public Transform,UnityEngine HandJoint
Résultat UnityEngine.Transform

MovementType public_oe property

public EnemyMovementType MovementType
Résultat EnemyMovementType

PAngle public_oe property

public float PAngle
Résultat float

PVelocity public_oe property

public float PVelocity
Résultat float

PatrolPath public_oe property

public FollowPath PatrolPath
Résultat FollowPath

ProjectileAttackRange public_oe property

public float ProjectileAttackRange
Résultat float

Ptime public_oe property

public float Ptime
Résultat float

Speed public_oe property

public float Speed
Résultat float

ZoneStayTime public_oe property

public float ZoneStayTime
Résultat float

ZoneStayTimeVariance public_oe property

public float ZoneStayTimeVariance
Résultat float

currentState public_oe property

public EnemyState currentState
Résultat EnemyState

fieldOfViewAngle public_oe property

public float fieldOfViewAngle
Résultat float

flashlightOnSightDistance public_oe property

public float flashlightOnSightDistance
Résultat float

flashlightfieldOfViewAngle public_oe property

public float flashlightfieldOfViewAngle
Résultat float