Пример #1
0
        public static GenericMenuPopup Show(GenericMenu p_menu, string p_title, Vector2 p_position)
        {
            var popup = new GenericMenuPopup(p_menu, p_title);

            PopupWindow.Show(new Rect(p_position.x, p_position.y, 0, 0), popup);
            return(popup);
        }
Пример #2
0
        public static GenericMenuPopup Get(GenericMenu p_menu, string p_title)
        {
            var popup = new GenericMenuPopup(p_menu, p_title);

            return(popup);
        }