C# Class PlayerUnitControl, Holdout

Inheritance: MonoBehaviour
Show 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 property

public GameObject actionTarget
return GameObject

agent public property

public NavMeshAgent,UnityEngine agent
return UnityEngine.NavMeshAgent

attackRange public property

public float attackRange
return float

currentWaypoint public property

public BarricadeWaypoint, currentWaypoint
return BarricadeWaypoint,

m_Animation public property

public Animation m_Animation
return Animation

moveSpeed public property

public float moveSpeed
return float

residentListCache public property

public List residentListCache
return List

sightRange public property

public float sightRange
return float

slowDuration public property

public float slowDuration
return float

stunImmunity public property

public bool stunImmunity
return bool

timeBetweenAttacks public property

public float timeBetweenAttacks
return float

unitType public property

public UnitTypes, unitType
return UnitTypes,