예제 #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;
 }