C# Class BaseFSM, AwesomeGameInSpace

Inheritance: MonoBehaviour
Exibir arquivo Open project: ZPZ-Gr2/AwesomeGameInSpace Class Usage Examples

Protected Properties

Property Type Description
agent UnityEngine.NavMeshAgent
alienComponent Alien,
alienMultiplier float
blockadeToDestroy GameObject
chaseTimeout bool
chasingTime float
closeEnoughToSubobjective float
controller AlienController,
currentState State,
distanceAlarm float
distanceChaseToAttack float
distancePatroltoChase float
distanceToPlayer float
mainObjectiveDelayed bool
patrolObjective PatrolObjective
patrolObjectivePosition Vector3
patrolSpeed float
patrolTaskTime float
player GameObject
stopChase float
subObjective SubObjective
subobjectivePosition Vector3
viewAngle float
viewRadius float
wait bool
waypoints GameObject[]

Protected Methods

Method Description
Alarm ( ) : void
Initialize ( ) : void
IsInPlayerFOV ( ) : bool
IsPlayerInMyFOV ( ) : bool
IsPlayerTooClose ( ) : bool
Look ( ) : void
SubObjectiveClear ( ) : void
UpdateAttack ( ) : void
UpdateChase ( ) : void
UpdatePatrol ( ) : void
UpdateSubObjective ( ) : void
moment ( float t ) : IEnumerator

Method Details

Alarm() protected method

protected Alarm ( ) : void
return void

Initialize() protected method

protected Initialize ( ) : void
return void

IsInPlayerFOV() protected method

protected IsInPlayerFOV ( ) : bool
return bool

IsPlayerInMyFOV() protected method

protected IsPlayerInMyFOV ( ) : bool
return bool

IsPlayerTooClose() protected method

protected IsPlayerTooClose ( ) : bool
return bool

Look() protected abstract method

protected abstract Look ( ) : void
return void

SubObjectiveClear() protected method

protected SubObjectiveClear ( ) : void
return void

UpdateAttack() protected abstract method

protected abstract UpdateAttack ( ) : void
return void

UpdateChase() protected method

protected UpdateChase ( ) : void
return void

UpdatePatrol() protected method

protected UpdatePatrol ( ) : void
return void

UpdateSubObjective() protected abstract method

protected abstract UpdateSubObjective ( ) : void
return void

moment() protected method

protected moment ( float t ) : IEnumerator
t float
return IEnumerator

Property Details

agent protected_oe property

protected NavMeshAgent,UnityEngine agent
return UnityEngine.NavMeshAgent

alienComponent protected_oe property

protected Alien, alienComponent
return Alien,

alienMultiplier protected_oe property

protected float alienMultiplier
return float

blockadeToDestroy protected_oe property

protected GameObject blockadeToDestroy
return GameObject

chaseTimeout protected_oe property

protected bool chaseTimeout
return bool

chasingTime protected_oe property

protected float chasingTime
return float

closeEnoughToSubobjective protected_oe property

protected float closeEnoughToSubobjective
return float

controller protected_oe property

protected AlienController, controller
return AlienController,

currentState protected_oe property

protected State, currentState
return State,

distanceAlarm protected_oe property

protected float distanceAlarm
return float

distanceChaseToAttack protected_oe property

protected float distanceChaseToAttack
return float

distancePatroltoChase protected_oe property

protected float distancePatroltoChase
return float

distanceToPlayer protected_oe property

protected float distanceToPlayer
return float

mainObjectiveDelayed protected_oe property

protected bool mainObjectiveDelayed
return bool

patrolObjective protected_oe property

protected PatrolObjective patrolObjective
return PatrolObjective

patrolObjectivePosition protected_oe property

protected Vector3 patrolObjectivePosition
return Vector3

patrolSpeed protected_oe property

protected float patrolSpeed
return float

patrolTaskTime protected_oe property

protected float patrolTaskTime
return float

player protected_oe property

protected GameObject player
return GameObject

stopChase protected_oe property

protected float stopChase
return float

subObjective protected_oe property

protected SubObjective subObjective
return SubObjective

subobjectivePosition protected_oe property

protected Vector3 subobjectivePosition
return Vector3

viewAngle protected_oe property

protected float viewAngle
return float

viewRadius protected_oe property

protected float viewRadius
return float

wait protected_oe property

protected bool wait
return bool

waypoints protected_oe property

protected GameObject[] waypoints
return GameObject[]