- Home /
Question by
ccecc85 · Jan 14, 2018 at 06:36 PM ·
scripting problemvrprefabsspawning
SteamVR - Spawning Prefab on Controller,SteamVR - Spawning Objects on Controller
I am creating a simple VR environment in which I would like to make as many instances of a Prefab while in runtime. I have found the scripts from SteamVR called "SpawnAndAttachAfterControllerIsTracking" and "SpawnAndAttachToHand". By the names of these scripts, this is exactly what I want to do. I have a menu in my VR space with a button. I would like to attach a script to this button to spawn a specified prefab to the controller that clicked that button. Can somebody please help me with this? Please keep in mind, I am an absolute beginner when it comes to designing things in Unity, so detailed instructions and explanations, including the simple things, would be greatly appreciated.,
Comment