Prefab Random Point Generator Component
This component belongs to the following package:
- com.yahaha.props.traps
Description
This component generates a random number of prefab instances within a defined range at one or more designated spawn points during runtime.
Properties
| Properties | Description |
|---|---|
| Prefab To Spawn | The target prefab that will be generated at designated points. |
| Minimum Instances | The minimum number of prefabs to instantiate. If this value is negative, it defaults to the Maximum value. |
| Maximum Instances | The maximum number of prefabs that can be instantiated at the designated spawn points. |
| Spawn On Game Start | Specifies whether the prefabs should be instantiated at game start. Enabled by default. |
| Prefab Spawn Points | Defines the designated locations where the prefabs will be instantiated. You can select multiple spawn points to distribute the prefabs across these locations. |