Hello every one,I hope you are not offended by the fact that I will use Google translator)
I want to make a mod for the VR game, it will be lightsaber, I already have a model, I did this for this video
But they did not explain how to turn it on and off. I really hope for your help! (if interested the game is called Blade & Sorcery)
I need the lightsaber to activate and turn off when I press a button on the VR controller
This is a game development forum about using unity engine, not a modding forum for Blade & Sorcery. You will need to contact the developers to get info on how to mod their game specifically.
We can tell you how to do this in unity, but that is not going to help you much because it wont be a mod for that game, just a unity application you built yourself.
You want to call .SetActive on the gameobject that is the lightsaber blade.
If you need more help than that I recommend trying to go through a couple of the beginner tutorials as every tutorial covers stuff like enabling and disabling something.