C# Class EnemyAI_Base, Project-ROB

Inheritance: MonoBehaviour
Show file Open project: spooty89/Project-ROB

Public Properties

Property Type Description
attack Attack,
dieFunction passGameObjectDelegate
domain Transform
health int
movement Movement,

Protected Properties

Property Type Description
controller CharacterController

Public Methods

Method Description
Awake ( ) : void
DomainEntered ( GameObject target ) : void
DomainExited ( GameObject target ) : void
OnControllerColliderHit ( ControllerColliderHit hit ) : void
Update ( ) : void
airMovement ( ) : void
baseAttack ( ) : void
getRandomDestination ( ) : Vector3
groundedMovement ( ) : void
hitAttack ( ) : void
playerBulletHit ( GameObject shooter ) : void
rangedAttack ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

DomainEntered() public method

public DomainEntered ( GameObject target ) : void
target GameObject
return void

DomainExited() public method

public DomainExited ( GameObject target ) : void
target GameObject
return void

OnControllerColliderHit() public method

public OnControllerColliderHit ( ControllerColliderHit hit ) : void
hit UnityEngine.ControllerColliderHit
return void

Update() public method

public Update ( ) : void
return void

airMovement() public method

public airMovement ( ) : void
return void

baseAttack() public method

public baseAttack ( ) : void
return void

getRandomDestination() public method

public getRandomDestination ( ) : Vector3
return Vector3

groundedMovement() public method

public groundedMovement ( ) : void
return void

hitAttack() public method

public hitAttack ( ) : void
return void

playerBulletHit() public method

public playerBulletHit ( GameObject shooter ) : void
shooter GameObject
return void

rangedAttack() public method

public rangedAttack ( ) : void
return void

Property Details

attack public property

public Attack, attack
return Attack,

controller protected property

protected CharacterController controller
return CharacterController

dieFunction public property

public passGameObjectDelegate dieFunction
return passGameObjectDelegate

domain public property

public Transform domain
return Transform

health public property

public int health
return int

movement public property

public Movement, movement
return Movement,