In this section, students will be adding interactive buttons to the Roll-a-Ball game that allow the player to activate different parts of the level.
Upon completing this section, students will be able to:
Mathf.Lerp: Calls the method with the specific name on every MonoBehaviour in the game object it is attached to.
GameObject.SendMessage: Linearly interpolates between two values over a period of time. The parameter t is clamped to the range [0, 1].
Spring Joint: The spring acts like a piece of elastic that tries to pull the two anchor points together to the exact same position. The strength of the pull is proportional to the current distance between the points with the force per unit of distance set by the Spring property.