C# Class EnemyFullAI, Endure

Inheritance: MonoBehaviour
Mostra file Open project: Endure-Game/Endure Class Usage Examples

Public Properties

Property Type Description
aggroDist float
coward Coward,
deAggroDist float
idleDuration float
melee Melee,
moveDuration float
ranged Ranged,
speed float

Public Methods

Method Description
Awake ( ) : void
CowardRun ( ) : void
IdleMovement ( ) : void
MeleeAttack ( ) : void
MoveTo ( Vector3 moveTo ) : void
OnTriggerEnter2D ( Collider2D collided ) : void
OnTriggerExit2D ( Collider2D collided ) : void
RangedAttack ( ) : void
Start ( ) : void
Stun ( GameObject loser ) : void
Update ( ) : void
enemyActive ( bool a ) : void
toggleAggro ( bool isAggro ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

CowardRun() public method

public CowardRun ( ) : void
return void

IdleMovement() public method

public IdleMovement ( ) : void
return void

MeleeAttack() public method

public MeleeAttack ( ) : void
return void

MoveTo() public method

public MoveTo ( Vector3 moveTo ) : void
moveTo Vector3
return void

OnTriggerEnter2D() public method

public OnTriggerEnter2D ( Collider2D collided ) : void
collided UnityEngine.Collider2D
return void

OnTriggerExit2D() public method

public OnTriggerExit2D ( Collider2D collided ) : void
collided UnityEngine.Collider2D
return void

RangedAttack() public method

public RangedAttack ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Stun() public method

public Stun ( GameObject loser ) : void
loser GameObject
return void

Update() public method

public Update ( ) : void
return void

enemyActive() public method

public enemyActive ( bool a ) : void
a bool
return void

toggleAggro() public method

public toggleAggro ( bool isAggro ) : void
isAggro bool
return void

Property Details

aggroDist public_oe property

public float aggroDist
return float

coward public_oe property

public Coward, coward
return Coward,

deAggroDist public_oe property

public float deAggroDist
return float

idleDuration public_oe property

public float idleDuration
return float

melee public_oe property

public Melee, melee
return Melee,

moveDuration public_oe property

public float moveDuration
return float

ranged public_oe property

public Ranged, ranged
return Ranged,

speed public_oe property

public float speed
return float