Пример #1
0
 public override void Reset () {
     list = new ConcreteDynamicList();
     storeCount = new ConcreteIntVar();
 }
Пример #2
0
 public override void Reset()
 {
     list     = new ConcreteDynamicList();
     variable = new Variable();
 }
Пример #3
0
        /// <summary> 
        /// Draw a dynamic list.
        /// <param name="rect">The position to draw the variable.</param>
        /// <param name="dynamicList">The dynamic list to be drawn.</param>
        /// </summary>
        static void DrawDynamicList (Rect rect, DynamicList dynamicList) {
            rect.yMin += 3f;
            rect.yMax -= 2f;
            rect.xMin += 6f;
            rect.xMax -= 6f;

            DrawName(new Rect (rect.x, rect.y, c_LargeNameWidth, rect.height), dynamicList);

            rect.xMin += c_LargeNameWidth + c_Space;
            rect.xMax -= c_MinusButtonWidth + c_RightPadding;
            EditorGUI.LabelField(rect, "[" + dynamicList.Count.ToString() + "]");

            rect.x += rect.width + 2f;
            rect.width = c_MinusButtonWidth;
            rect.yMin -= 2f;
            rect.yMax += 2f;
            if (GUI.Button(rect, s_Styles.iconToolbarMinus, s_Styles.invisbleButton))
                s_VariableToRemove = dynamicList;
        }
Пример #4
0
 public override void Reset () {
     list = new ConcreteDynamicList();
     storeIndex = new ConcreteIntVar();
     storeCurrentValue = new Variable();
     reverse = false;
 }
Пример #5
0
 public override void Reset () {
     list = new ConcreteDynamicList();
     variable = new Variable();
 }
 public override void Reset()
 {
     list = new ConcreteDynamicList();
     storeCurrentValue = new Variable();
 }
 public override void Reset()
 {
     list       = new ConcreteDynamicList();
     variable   = new Variable();
     storeIndex = new ConcreteIntVar();
 }
Пример #8
0
 public override void Reset()
 {
     list  = new ConcreteDynamicList();
     index = 0;
 }
Пример #9
0
 public override void Reset () {
     list = new ConcreteDynamicList();
     storeCurrentValue = new Variable();
 }
Пример #10
0
 public override void Reset () {
     list = new ConcreteDynamicList();
     variable = new Variable();
     storeIndex = new ConcreteIntVar();
 }
Пример #11
0
 public override void Reset()
 {
     list       = new ConcreteDynamicList();
     storeCount = new ConcreteIntVar();
 }
Пример #12
0
 public override void Reset () {
     list = new ConcreteDynamicList();
     index = 0;
 }