com.unity.uiextensions/Examples/MenuExample/Scripts/Menus/OptionsMenu.cs

12 lines
256 B
C#

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