ABSTRACT

Adding GameObjects, whether they are primitive shapes or full 3D models, is important in building game worlds. It is equally important to provide behaviors to these GameObjects and give the player the ability to interact with them. Some of these interactions or behaviors can be added with built-in Unity components, such as adding a Rigidbody to an object to allow forces to be applied. However, game developers also need to write code to customize existing behaviors and define new behaviors.