C# Class BreadGenerate, CodeSpells

Inheritance: MonoBehaviour
Show file Open project: srfoster/CodeSpells

Public Properties

Property Type Description
number int
prefab GameObject
replace_if_below int

Public Methods

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

Private Methods

Method Description
numberNearby ( ) : int
playerFarAway ( ) : bool
random_angle ( ) : float
random_location ( ) : Vector3
shouldReplace ( ) : bool

Method Details

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

addObject() public method

public addObject ( ) : void
return void

Property Details

number public property

public int number
return int

prefab public property

public GameObject prefab
return GameObject

replace_if_below public property

public int replace_if_below
return int