C# Class PlayerUnitControl, Holdout

Inheritance: MonoBehaviour
Mostra file Open project: MaddJhin/Holdout Class Usage Examples

Public Properties

Property Type Description
actionTarget GameObject
agent UnityEngine.NavMeshAgent
attackRange float
currentWaypoint BarricadeWaypoint,
m_Animation Animation
moveSpeed float
residentListCache List
sightRange float
slowDuration float
stunImmunity bool
timeBetweenAttacks float
unitType UnitTypes,

Public Methods

Method Description
Awake ( ) : void
BeginRetreat ( ) : void
CheckForTarget ( Collider targets ) : IEnumerator
DeactivateHeal ( ) : IEnumerator
EndFortify ( ) : IEnumerator
Move ( Vector3 targetPos ) : void
OnDisable ( ) : void
OnDrawGizmosSelected ( ) : void
SelfHeal ( ) : void
Slow ( Collider targets ) : IEnumerator
Start ( ) : void
Stop ( ) : void
Update ( ) : void

Private Methods

Method Description
ActivateHeal ( ) : IEnumerator
BeginFortify ( ) : IEnumerator
EvaluateSituation ( ) : IEnumerator
RetreatFrom ( ) : IEnumerator
Shoot ( ) : IEnumerator
ShootFX ( ) : IEnumerator
Slash ( ) : IEnumerator
TetherCheck ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

BeginRetreat() public method

public BeginRetreat ( ) : void
return void

CheckForTarget() public method

public CheckForTarget ( Collider targets ) : IEnumerator
targets Collider
return IEnumerator

DeactivateHeal() public method

public DeactivateHeal ( ) : IEnumerator
return IEnumerator

EndFortify() public method

public EndFortify ( ) : IEnumerator
return IEnumerator

Move() public method

public Move ( Vector3 targetPos ) : void
targetPos Vector3
return void

OnDisable() public method

public OnDisable ( ) : void
return void

OnDrawGizmosSelected() public method

public OnDrawGizmosSelected ( ) : void
return void

SelfHeal() public method

public SelfHeal ( ) : void
return void

Slow() public method

public Slow ( Collider targets ) : IEnumerator
targets Collider
return IEnumerator

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

actionTarget public_oe property

public GameObject actionTarget
return GameObject

agent public_oe property

public NavMeshAgent,UnityEngine agent
return UnityEngine.NavMeshAgent

attackRange public_oe property

public float attackRange
return float

currentWaypoint public_oe property

public BarricadeWaypoint, currentWaypoint
return BarricadeWaypoint,

m_Animation public_oe property

public Animation m_Animation
return Animation

moveSpeed public_oe property

public float moveSpeed
return float

residentListCache public_oe property

public List residentListCache
return List

sightRange public_oe property

public float sightRange
return float

slowDuration public_oe property

public float slowDuration
return float

stunImmunity public_oe property

public bool stunImmunity
return bool

timeBetweenAttacks public_oe property

public float timeBetweenAttacks
return float

unitType public_oe property

public UnitTypes, unitType
return UnitTypes,