C# Class EnemyUnitControl, Holdout

Inheritance: MonoBehaviour
Mostrar archivo 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_oe property

public float attackRange
return float

m_ParticleSystem public_oe property

public ParticleSystem m_ParticleSystem
return ParticleSystem

moveSpeed public_oe property

public float moveSpeed
return float

projectileSpeed public_oe property

public float projectileSpeed
return float

slowed public_oe property

public bool slowed
return bool

stunImmunity public_oe property

public bool stunImmunity
return bool

targetLocation public_oe property

public GameObject targetLocation
return GameObject

timeBetweenAttacks public_oe property

public float timeBetweenAttacks
return float

unitType public_oe property

public EnemyTypes, unitType
return EnemyTypes,

validTargets public_oe property

public LayerMask validTargets
return LayerMask

visionLayer public_oe property

public LayerMask visionLayer
return LayerMask