C# Class BoidFlocking, CreativeCode

Inheritance: MonoBehaviour
ファイルを表示 Open project: pixelpusher/CreativeCode Class Usage Examples

Public Methods

Method Description
flock ( List boids, GameObject avoidList ) : void
move ( Bounds outerBounds ) : void

Move the Boid's position by updating rigidbody it's attached to

Private Methods

Method Description
Start ( ) : void

Method Details

flock() public method

public flock ( List boids, GameObject avoidList ) : void
boids List
avoidList GameObject
return void

move() public method

Move the Boid's position by updating rigidbody it's attached to
public move ( Bounds outerBounds ) : void
outerBounds Bounds
return void