-
Notifications
You must be signed in to change notification settings - Fork 0
InstantiateRandomTrees
janlucakaestle edited this page Feb 16, 2021
·
3 revisions
Instance of: NetworkController
public void InstantiateRandomTrees()
This function creates trees randomly along the roads up to a certain distance.
Can be set in the Unity GUI in NetworkController Tab. Defines the number of trees to be spawned.
Can be set in the Unity GUI in NetworkController Tab. Sets the maximum distance between a road segment and a tree spawning point.
Spawns NumberOfTrees trees as GameObjects within the Trees GameObjectParent.
we could add some pictures here?