Ping Pong. This function / method stands out in the Mathf part of Unity's documentation. You can use it for moving your platforms / elevators, targets, etc back and forth!
Join the discord group: / discord
Catch me Live on Twitch: / the_phantom3
*Unity's Documentation*
PingPong: https://docs.unity3d.com/ScriptRefere...
*Disclaimer: The characters and music involved in this level do not belong to me. All of them belong to their respectful owner(s). Usually Nintendo.
#unity3d #gamedev #gamedesign #unitytutorial #indiegamedev