C# Class StationaryAIController

Inheritance: AIController
Show file Open project: mezosaurus/eae-project

Public Properties

Property Type Description
sittingTime float

Protected Properties

Property Type Description
bench GameObject

Public Methods

Method Description
setStationaryPoint ( GameObject point ) : void

Protected Methods

Method Description
GameUpdate ( ) : void
OnCollisionEnter2D ( Collision2D collision ) : void
OnTriggerExit2D ( Collider2D other ) : void
alert ( ) : void
getNextPath ( ) : GameObject
panic ( ) : void

Private Methods

Method Description
getBenchOffsetVector ( ) : Vector3

Method Details

GameUpdate() protected method

protected GameUpdate ( ) : void
return void

OnCollisionEnter2D() protected method

protected OnCollisionEnter2D ( Collision2D collision ) : void
collision Collision2D
return void

OnTriggerExit2D() protected method

protected OnTriggerExit2D ( Collider2D other ) : void
other UnityEngine.Collider2D
return void

alert() protected method

protected alert ( ) : void
return void

getNextPath() protected method

protected getNextPath ( ) : GameObject
return GameObject

panic() protected method

protected panic ( ) : void
return void

setStationaryPoint() public method

public setStationaryPoint ( GameObject point ) : void
point GameObject
return void

Property Details

bench protected property

protected GameObject bench
return GameObject

sittingTime public property

public float sittingTime
return float