I am trying to do a FPS game, very simple thing, just for test the Unity Engine.
Then, I made a script about player’s inventory and weapon switching, using Javascript and everything that I know about it. But I got a problem, maybe the solution is very simple but I can’t find it:
How to switch a GameObject Mesh? Because I need to change the player’s weapon.
If someone can help me, thanks a LOT!
Here is the script file:
2312066–155788–InventoryControl.js (2.71 KB)