
Risk of Rain 2
You are viewing a potentially older version of this package. View Latest Version

Adds a command to spawn a prefab.
spawn_prefab <prefab_key> <pos_x> <pos_y> <pos_z> <rotation_x> <rotation_y> <rotation_z>
Use the ~ prefix before a position value to make it relative to the player's position. Similarly, use the ~ prefix before a rotation value to make it relative to the prefab's base rotation.
For a list of available prefabs, refer to this link. You may want to filter by UnityEngine.GameObject to see only the spawnable objects.