C# Class BoidController, CreativeCode

Inheritance: MonoBehaviour
显示文件 Open project: pixelpusher/CreativeCode Class Usage Examples

Public Properties

Property Type Description
avoidList GameObject[]
cohesionWeight float
flockSize int
maxForce float
maxSpeed float
minSpeed float
neighborDist float
prefab BoidFlocking,
randomness float
separationWeight float
target Transform
targetAttraction float

Public Methods

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

Method Details

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

avoidList public_oe property

public GameObject[] avoidList
return GameObject[]

cohesionWeight public_oe property

public float cohesionWeight
return float

flockSize public_oe property

public int flockSize
return int

maxForce public_oe property

public float maxForce
return float

maxSpeed public_oe property

public float maxSpeed
return float

minSpeed public_oe property

public float minSpeed
return float

neighborDist public_oe property

public float neighborDist
return float

prefab public_oe property

public BoidFlocking, prefab
return BoidFlocking,

randomness public_oe property

public float randomness
return float

separationWeight public_oe property

public float separationWeight
return float

target public_oe property

public Transform target
return Transform

targetAttraction public_oe property

public float targetAttraction
return float