/// <summary>
 /// Notify the player that they're no longer on the platform.
 /// </summary>
 /// <param name="collision">Information about the collision that occurred.</param>
 public void OnCollisionExit2D(Collision2D collision)
 {
     if (collision.collider.CompareTag("Player"))
     {
         PlayerCharacter player = collision.collider.GetComponent <PlayerCharacter>();
         player.DisablePlatformMomentum();
     }
 }