/// Credit Adam Kapos (Nezz) - http://www.songarc.net /// Sourced from - https://github.com/YousicianGit/UnityMenuSystem /// Updated by SimonDarksideJ - Refactored to be a more generic component namespace UnityEngine.UI.Extensions { /// /// A base menu class that implements parameterless Show and Hide methods /// public abstract class SimpleMenu : Menu where T : SimpleMenu { public static void Show() { Open(); } public static void Hide() { Close(); } } }