public override void Reset() { base.Reset(); a = new ConcreteRectVar(); b = new ConcreteRectVar(); }
public override void Reset() { boolVariable = new ConcreteBoolVar(); trueValue = new Rect(1, 1, 1, 1); falseValue = new Rect(0, 0, 0, 0); storeRect = new ConcreteRectVar(); }
public override void Reset() { base.Reset(); easeType = TweenNode.EaseType.easeInQuad; target = new ConcreteRectVar(); rectValue = new ConcreteRectVar(); }
public override void Reset () { rect = new ConcreteRectVar(); x = new ConcreteFloatVar(); y = new ConcreteFloatVar(); width = new ConcreteFloatVar(); height = new ConcreteFloatVar(); normalized = true; }
public override void Reset() { rect = new ConcreteRectVar(); x = new ConcreteFloatVar(); y = new ConcreteFloatVar(); width = new ConcreteFloatVar(); height = new ConcreteFloatVar(); }
public override void Reset () { base.Reset(); position = new ConcreteRectVar(new Rect(0f,0f,1f,1f)); fingerId = new ConcreteIntVar(); touchPhase = TouchPhase.Began; storeFingerId = new ConcreteIntVar(); storeTouchPos = new ConcreteVector3Var(); }
public override void Reset () { rect = new ConcreteRectVar(); x = new ConcreteFloatVar(); y = new ConcreteFloatVar(); width = new ConcreteFloatVar(); height = new ConcreteFloatVar(); texture = new ConcreteTextureVar(); text = new ConcreteStringVar(); tooltip = new ConcreteStringVar(); guiStyle = new ConcreteStringVar(); }
public override void Reset() { rect = new ConcreteRectVar(); x = new ConcreteFloatVar(); y = new ConcreteFloatVar(); width = new ConcreteFloatVar(); height = new ConcreteFloatVar(); texture = new ConcreteTextureVar(); text = new ConcreteStringVar(); tooltip = new ConcreteStringVar(); guiStyle = new ConcreteStringVar(); }
public override void Reset () { base.Reset(); SingleValue = new ConcreteFloatVar(); intValue = new ConcreteIntVar(); BooleanValue = new ConcreteBoolVar(); StringValue = new ConcreteStringVar(); Vector3Value = new ConcreteVector3Var(); RectValue = new ConcreteRectVar(); ColorValue = new ConcreteColorVar(); GameObjectValue = new ConcreteGameObjectVar(this.self); MaterialValue = new ConcreteMaterialVar(); TextureValue = new ConcreteTextureVar(); ObjectValue = new ConcreteObjectVar(); }
public override void Reset() { base.Reset(); SingleValue = new ConcreteFloatVar(); intValue = new ConcreteIntVar(); BooleanValue = new ConcreteBoolVar(); StringValue = new ConcreteStringVar(); Vector3Value = new ConcreteVector3Var(); RectValue = new ConcreteRectVar(); ColorValue = new ConcreteColorVar(); GameObjectValue = new ConcreteGameObjectVar(this.self); MaterialValue = new ConcreteMaterialVar(); TextureValue = new ConcreteTextureVar(); ObjectValue = new ConcreteObjectVar(); }
public override void Reset () { gameObject = new ConcreteGameObjectVar(this.self); methodName = new ConcreteStringVar(); options = SendMessageOptions.RequireReceiver; floatParameter = new ConcreteFloatVar(); intParameter = new ConcreteIntVar(); boolParameter = new ConcreteBoolVar(); stringParameter = new ConcreteStringVar(); vector3Parameter = new ConcreteVector3Var(); rectParameter = new ConcreteRectVar(); colorParameter = new ConcreteColorVar(); quaternionParameter = new ConcreteQuaternionVar(); gameObjectParameter = new ConcreteGameObjectVar(this.self); textureParameter = new ConcreteTextureVar(); materialParameter = new ConcreteMaterialVar(); fsmEventParameter = new ConcreteFsmEvent(); objectParameter = new ConcreteObjectVar(); messageType = MessageType.SendMessage; }
public override void Reset() { gameObject = new ConcreteGameObjectVar(this.self); methodName = new ConcreteStringVar(); options = SendMessageOptions.RequireReceiver; floatParameter = new ConcreteFloatVar(); intParameter = new ConcreteIntVar(); boolParameter = new ConcreteBoolVar(); stringParameter = new ConcreteStringVar(); vector3Parameter = new ConcreteVector3Var(); rectParameter = new ConcreteRectVar(); colorParameter = new ConcreteColorVar(); quaternionParameter = new ConcreteQuaternionVar(); gameObjectParameter = new ConcreteGameObjectVar(this.self); textureParameter = new ConcreteTextureVar(); materialParameter = new ConcreteMaterialVar(); fsmEventParameter = new ConcreteFsmEvent(); objectParameter = new ConcreteObjectVar(); messageType = MessageType.SendMessage; }
/// <summary> /// Draw a rect variable. /// <param name="rect">The position to draw the variable.</param> /// <param name="rectVar">The rect variable to be drawn.</param> /// </summary> static void DrawRectVar (Rect rect, RectVar rectVar) { rect.yMin += 3f; rect.yMax -= 2f; rect.xMin += 6f; rect.xMax -= 6f; DrawName(new Rect (rect.x, rect.y, c_SmallNameWidth, rect.height - (c_TwoLinesHeight - c_OneLineHeight)), rectVar); rect.xMin += c_SmallNameWidth + c_Space; rect.xMax -= c_MinusButtonWidth + c_RightPadding; #if UNITY_4_0_0 || UNITY_4_1 || UNITY_4_2 rect.y -= 19f; #endif EditorGUI.BeginChangeCheck(); var newValue = EditorGUI.RectField (rect, GUIContent.none, rectVar.Value); if (EditorGUI.EndChangeCheck() && newValue != rectVar.Value) { // Register undo if (rectVar.blackboard != null) { #if UNITY_4_0_0 || UNITY_4_1 || UNITY_4_2 Undo.RegisterUndo(rectVar.blackboard, "Variable Value"); #else Undo.RecordObject(rectVar.blackboard, "Variable Value"); #endif } // Update variable value rectVar.Value = newValue; // Set blackboard dirty flag if (rectVar.blackboard != null) EditorUtility.SetDirty(rectVar.blackboard); } rect.x += rect.width + 2f; #if UNITY_4_0_0 || UNITY_4_1 || UNITY_4_2 rect.y += 19f; #endif rect.height = c_OneLineHeight - 3f; rect.width = c_MinusButtonWidth; rect.yMin -= 2f; rect.yMax += 2f; if (GUI.Button(rect, s_Styles.iconToolbarMinus, s_Styles.invisbleButton)) s_VariableToRemove = rectVar; }
public override void Reset () { base.Reset(); rect = new ConcreteRectVar(); point = new ConcreteVector3Var(); }
public override void Reset () { base.Reset(); a = new ConcreteRectVar(); b = new ConcreteRectVar(); }
public override void Reset () { boolVariable = new ConcreteBoolVar(); trueValue = new Rect(1,1,1,1); falseValue = new Rect(0,0,0,0); storeRect = new ConcreteRectVar(); }
public override void Reset () { variable = new ConcreteRectVar(); newValue = new ConcreteRectVar(); }
public override void Reset () { base.Reset(); easeType = TweenNode.EaseType.easeInQuad; target = new ConcreteRectVar(); rectValue = new ConcreteRectVar(); }
public override void Reset() { variable = new ConcreteRectVar(); newValue = new ConcreteRectVar(); }