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

12 lines
256 B
C#
Raw Normal View History

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