Type:RandomObjectSpawner.SpawnData: Difference between revisions

From Resonite Wiki
m fix image scale
m Kisaragi marine moved page Types:RandomObjectSpawner.SpawnData to Type:RandomObjectSpawner.SpawnData: Merge pesudo namespaces into proper one
 
(No difference)

Latest revision as of 13:05, 10 September 2025

Component image 
RandomObjectSpawner component as seen in the Scene Inspector

The SpawnData type is used in the RandomObjectSpawner component to provide a mapping between a template slot, and a weight that influences the likelihood of a particular template slot being spawned.

Behavior

The default Weight of 0 will result in that template never being spawned. Higher Weight values relative to other slots will increase the likelihood of that slot being chosen, compared to slots with lower Weight values.