C# Class Critter, Wallcology-Simulator

Inheritance: MonoBehaviour
Mostra file Open project: ltg-uic/Wallcology-Simulator Class Usage Examples

Public Properties

Property Type Description
ID int
inPursuit bool
isEating bool
isSeeking bool
timeToDie bool

Protected Properties

Property Type Description
agent NavMeshAgent
destPoint int
points Transform[]

Public Methods

Method Description
GotoNextPoint ( ) : void
Start ( ) : void
Update ( ) : void

Protected Methods

Method Description
SetUpPointArrays ( GameObject objects ) : Transform[]
_join ( Transform x, Transform y ) : Transform[]

Method Details

GotoNextPoint() public method

public GotoNextPoint ( ) : void
return void

SetUpPointArrays() protected method

protected SetUpPointArrays ( GameObject objects ) : Transform[]
objects GameObject
return Transform[]

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

_join() protected method

protected _join ( Transform x, Transform y ) : Transform[]
x Transform
y Transform
return Transform[]

Property Details

ID public_oe property

public int ID
return int

agent protected_oe property

protected NavMeshAgent agent
return NavMeshAgent

destPoint protected_oe property

protected int destPoint
return int

inPursuit public_oe property

public bool inPursuit
return bool

isEating public_oe property

public bool isEating
return bool

isSeeking public_oe property

public bool isSeeking
return bool

points protected_oe property

protected Transform[] points
return Transform[]

timeToDie public_oe property

public bool timeToDie
return bool