using UnityEditor; using UnityEngine; using UnityEngine.UI; namespace Coffee.UIExtensions.Editors { internal class MenuOptions_UIUnmask { [MenuItem("GameObject/UI/Unmask/Tutorial Button")] private static void CreateTutorialButton2(MenuCommand menuCommand) { EditorApplication.ExecuteMenuItem("GameObject/UI/Button"); var button = Selection.activeGameObject.GetComponent