示例#1
0
        public static void ShowAtPosition(Rect buttonRect, List <PropertyBox> propertiesToShow, Action <IEnumerable <PropertyBox> > CommitModificationsDelegate)
        {
            Event.current.Use();
            if (addPropertyBoxPopup == null)
            {
                addPropertyBoxPopup = CreateInstance <PropertyBoxPopup>();
            }

            addPropertyBoxPopup.Init(buttonRect, propertiesToShow, CommitModificationsDelegate);
        }
示例#2
0
 private void ActuallyShowPopup()
 {
     PropertyBoxPopup.ShowAtPosition(popupLocation, propertiesToShow, commitModifications);
     showPopup = false;
 }