namespace UnityEngine.UI.Extensions.Examples { public class OptionsMenu : SimpleMenu { public Slider Slider; public void OnMagicButtonPressed() { AwesomeMenu.Show(Slider.value); } } }