C# Class EnemyUnitControl, Holdout

Inheritance: MonoBehaviour
Show file Open project: MaddJhin/Holdout

Public Properties

Property Type Description
attackRange float
m_ParticleSystem ParticleSystem
moveSpeed float
projectileSpeed float
slowed bool
stunImmunity bool
targetLocation GameObject
timeBetweenAttacks float
unitType EnemyTypes,
validTargets LayerMask
visionLayer LayerMask

Public Methods

Method Description
Awake ( ) : void
LaunchProjectile ( ) : void
Move ( Vector3 destination ) : void
OnDrawGizmosSelected ( ) : void
OnEnable ( ) : void
SetActionTarget ( ) : void
SetSlow ( float slowAmount, float slowDuration ) : IEnumerator
Start ( ) : void
Stop ( ) : void
Update ( ) : void
resetProjectile ( ) : void

Private Methods

Method Description
EvaluateSituation ( ) : IEnumerator
Explode ( ) : IEnumerator
Punch ( ) : IEnumerator
Shoot ( ) : IEnumerator
Slam ( ) : IEnumerator
VisionCheck ( ) : IEnumerator

Method Details

Awake() public method

public Awake ( ) : void
return void

LaunchProjectile() public method

public LaunchProjectile ( ) : void
return void

Move() public method

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

OnDrawGizmosSelected() public method

public OnDrawGizmosSelected ( ) : void
return void

OnEnable() public method

public OnEnable ( ) : void
return void

SetActionTarget() public method

public SetActionTarget ( ) : void
return void

SetSlow() public method

public SetSlow ( float slowAmount, float slowDuration ) : IEnumerator
slowAmount float
slowDuration float
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

resetProjectile() public method

public resetProjectile ( ) : void
return void

Property Details

attackRange public property

public float attackRange
return float

m_ParticleSystem public property

public ParticleSystem m_ParticleSystem
return ParticleSystem

moveSpeed public property

public float moveSpeed
return float

projectileSpeed public property

public float projectileSpeed
return float

slowed public property

public bool slowed
return bool

stunImmunity public property

public bool stunImmunity
return bool

targetLocation public property

public GameObject targetLocation
return GameObject

timeBetweenAttacks public property

public float timeBetweenAttacks
return float

unitType public property

public EnemyTypes, unitType
return EnemyTypes,

validTargets public property

public LayerMask validTargets
return LayerMask

visionLayer public property

public LayerMask visionLayer
return LayerMask