In the last section, we imported the
Chapter5 Unity package and created our scene, which included all the basic setup. In this step, we will create a
New3PSController script by using the old built-in
FPSInputController script, and add some script to control the animation or the character to run, walk, aim, or shoot. We will also create the
MouseLook built-in script that is written in C#. The
MouseLook_JS script is used to control the rotation of the camera in our scene.
We are first going to create the
We will start by creating a new