C# Class StatePatternCritter, Wallcology-Simulator

Inheritance: MonoBehaviour
显示文件 Open project: ltg-uic/Wallcology-Simulator Class Usage Examples

Public Properties

Property Type Description
ID int
eyes Transform
habitat int
maxWalkDistance float
offset Vector3
predatorList int[]
preyList int[]
searchingTurnSpeed float
sightRange float

Public Methods

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

Private Methods

Method Description
Awake ( ) : void
OnTriggerEnter ( Collider other ) : void
OnTriggerStay ( Collider other ) : void
SetUpPointArrays ( GameObject objects ) : Transform[]
_join ( Transform x, Transform y ) : Transform[]

Method Details

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

ID public_oe property

public int ID
return int

eyes public_oe property

public Transform eyes
return Transform

habitat public_oe property

public int habitat
return int

maxWalkDistance public_oe property

public float maxWalkDistance
return float

offset public_oe property

public Vector3 offset
return Vector3

predatorList public_oe property

public int[] predatorList
return int[]

preyList public_oe property

public int[] preyList
return int[]

searchingTurnSpeed public_oe property

public float searchingTurnSpeed
return float

sightRange public_oe property

public float sightRange
return float