C# Class ProcGenerate, CodeSpells

Inheritance: MonoBehaviour
Afficher le fichier Open project: srfoster/CodeSpells

Méthodes publiques

Свойство Type Description
number int
prefab GameObject
replace_if_below int

Méthodes publiques

Méthode Description
Start ( ) : void
Update ( ) : void
addObject ( ) : void

Private Methods

Méthode Description
numberNearby ( ) : int
playerFarAway ( ) : bool
random_angle ( ) : float
random_location ( ) : Vector3
shouldReplace ( ) : bool

Method Details

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

addObject() public méthode

public addObject ( ) : void
Résultat void

Property Details

number public_oe property

public int number
Résultat int

prefab public_oe property

public GameObject prefab
Résultat GameObject

replace_if_below public_oe property

public int replace_if_below
Résultat int