C# Class Enemy1AI, Endure

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

Public Properties

Property Type Description
aggro float
deAggro float
idleDuration float
moveDuration float
speed float

Public Methods

Method Description
OnTriggerEnter2D ( Collider2D collided ) : void
OnTriggerExit2D ( Collider2D collided ) : void
Start ( ) : void
Update ( ) : void
enemyActive ( bool a ) : void

Method Details

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

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

enemyActive() public method

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

Property Details

aggro public property

public float aggro
return float

deAggro public property

public float deAggro
return float

idleDuration public property

public float idleDuration
return float

moveDuration public property

public float moveDuration
return float

speed public property

public float speed
return float