Tag Info

New answers tagged


I wouldn't create a static number of vehicles and then delete them if the max players isn't reached. This doesn't leave much room for join in progress players. Instead, you could create a spawn point for your players and then drop a crate or sign at the spawn location, use an addAction to add a menu item for players looking at the sign to spawn a new vehicle ...


If you want to change a Material in Unity you have to retrieve it first. If your GameObject uses a Material it means that it uses a Renderer. You can retrieve your object renderer using the internal variable renderer or get it using the GetComponent function. On the renderer object you will find a material property containing the active Material. For ...

Top 50 recent answers are included