O'Reilly logo

Unity 3 Game Development HOTSHOT by Jate Wittayabundit

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Game over-Wrapping it up

In this chapter, we have created the Resident Evil camera game style by adapting the built-in First Person Controller. We have also learned how to set up the FPS Character Controller, created the New3PSController script to control the character animation, created a rocket launcher, created the rocket prefab, and used the built-in particle to create the smoke from the launcher barrel, smoke trial from the rocket, and the explosion.

Next, we also learned how to use the Instantiate() function to clone the game object and display it in the scene. Then, we use Invoke() to call the function after the time that we assigned. Lastly, we created the UI to track the number of rockets left by using GUITexture and the OnGUI() function ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required