Esempio n. 1
0
        static void LeftDeleteButton()
        {
            var propertyParent = thisArg.propertyParent;
            var children       = propertyParent.children;

            if (children != null)
            {
#if !UNITY_3_4 && !UNITY_3_3 && !UNITY_3_2 && !UNITY_3_1 && !UNITY_3_0_0 && !UNITY_3_0
                var index = children.IndexOf(thisArg) - 1;                 // Index - 1 because of array size
                propertyParent.mine.DeleteArrayElementAtIndex(index);
#endif
                children.Clear();                 //Clear PropertyHelpers whenever we remove array elements
            }

            thisArg.window.update = thisArg.BubbleRefresh();
        }
Esempio n. 2
0
 static void LeftButton()
 {
     thisArg.Copy(true);
     thisArg.window.update = thisArg.BubbleRefresh();
 }