Class ToggleMenu
Toggles a UI menu in and out of screen by tweening its anchored position using a directional offset.
public class ToggleMenu : MonoBehaviour
Inheritance
Methods
TweenMenu()
Animates the menu in or out by shifting its anchored position. The direction is flipped each time to toggle the movement.
public void TweenMenu()