Part 1 — Press the button and change color
In this article we will change the color of the elevator button when the player presses it.
Split up functionality for easier and faster development
We want various functions for our elevator. We want a pressable button that changes color, a requirement of enough collectables collected and a elevator that only starts moving when called. A simple thing…