C# Class EnemyAI_Base, Project-ROB

Inheritance: MonoBehaviour
显示文件 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_oe property

public Attack, attack
return Attack,

controller protected_oe property

protected CharacterController controller
return CharacterController

dieFunction public_oe property

public passGameObjectDelegate dieFunction
return passGameObjectDelegate

domain public_oe property

public Transform domain
return Transform

health public_oe property

public int health
return int

movement public_oe property

public Movement, movement
return Movement,