public override void Reset () { variable = new ConcreteColorVar(); storeR = new ConcreteFloatVar(); storeG = new ConcreteFloatVar(); storeB = new ConcreteFloatVar(); storeA = new ConcreteFloatVar(); }
public override void Reset() { base.Reset(); easeType = TweenNode.EaseType.easeInQuad; targetColor = new ConcreteColorVar(); color = new ConcreteColorVar(); }
public override void Reset () { fog = new ConcreteBoolVar(); fogColor = new ConcreteColorVar(); fogDensity = new ConcreteFloatVar(); linearFogStart = new ConcreteFloatVar(); linearFogEnd = new ConcreteFloatVar(); }
public override void Reset () { variable = new ConcreteColorVar(); newR = new ConcreteFloatVar(); newG = new ConcreteFloatVar(); newB = new ConcreteFloatVar(); newA = new ConcreteFloatVar(); }
public override void Reset () { color = Color.black; time = 2f; storeCurrentTime = new ConcreteFloatVar(); onFinish = new ConcreteFsmEvent(); guiReady = false; }
public override void Reset () { gameObject = new ConcreteGameObjectVar(this.self); center = Vector3.zero; size = new Vector3(1f, 1f, 1f); color = Color.white * .5f; cubeType = CubeType.Wired; }
public override void Reset () { gameObject = new ConcreteGameObjectVar(this.self); center = Vector3.zero; radius = 1f; color = Color.white * .5f; sphereType = SphereType.Wired; }
public override void Reset() { variable = new ConcreteColorVar(); storeR = new ConcreteFloatVar(); storeG = new ConcreteFloatVar(); storeB = new ConcreteFloatVar(); storeA = new ConcreteFloatVar(); }
public override void Reset() { gameObject = new ConcreteGameObjectVar(this.self); center = Vector3.zero; radius = 1f; color = Color.white * .5f; sphereType = SphereType.Wired; }
public override void Reset() { variable = new ConcreteColorVar(); newR = new ConcreteFloatVar(); newG = new ConcreteFloatVar(); newB = new ConcreteFloatVar(); newA = new ConcreteFloatVar(); }
public override void Reset() { color = Color.black; time = 2f; storeCurrentTime = new ConcreteFloatVar(); onFinish = new ConcreteFsmEvent(); guiReady = false; }
public override void Reset() { gameObject = new ConcreteGameObjectVar(this.self); center = Vector3.zero; size = new Vector3(1f, 1f, 1f); color = Color.white * .5f; cubeType = CubeType.Wired; }
public override void Reset() { fog = new ConcreteBoolVar(); fogColor = new ConcreteColorVar(); fogDensity = new ConcreteFloatVar(); linearFogStart = new ConcreteFloatVar(); linearFogEnd = new ConcreteFloatVar(); }
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 () { newColor = new ConcreteColorVar(); }
public override void Reset () { targetCamera = new ConcreteGameObjectVar(); newBackgroundColor = new ConcreteColorVar(); }
public override void Reset() { newTexture = new ConcreteTextureVar(); newColor = new ConcreteColorVar(); }
public override void Reset() { gameObject = this.self; newSprite = new ConcreteObjectVar(); newColor = new ConcreteColorVar(); }
public override void Reset () { color = Color.black * .5f; }
public override void Reset () { material = new ConcreteMaterialVar(); newMainColor = new ConcreteColorVar(); }
public override void Reset () { variable = new ConcreteColorVar(); newValue = new ConcreteColorVar(); }
public override void Reset() { material = new ConcreteMaterialVar(); newMainColor = new ConcreteColorVar(); }
public override void Reset () { newTexture = new ConcreteTextureVar(); newColor = new ConcreteColorVar(); }
public override void Reset() { gameObject = new ConcreteGameObjectVar(this.self); newColor = new ConcreteColorVar(); }
public override void Reset () { gameObject = new ConcreteGameObjectVar(this.self); newColor = new ConcreteColorVar(); }
public override void Reset() { variable = new ConcreteColorVar(); newValue = new ConcreteColorVar(); }
public override void Reset () { gameObject = this.self; newSprite = new ConcreteObjectVar(); newColor = new ConcreteColorVar(); }
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); newColor = Color.white; }
public override void Reset() { targetCamera = new ConcreteGameObjectVar(); newBackgroundColor = new ConcreteColorVar(); }
public override void Reset () { gameObject = new ConcreteGameObjectVar(this.self); newColor = Color.white; }
public override void Reset() { material = new ConcreteMaterialVar(); propertyName = new ConcreteStringVar(); newColor = new ConcreteColorVar(); }
/// <summary> /// Draw a color variable. /// <param name="rect">The position to draw the variable.</param> /// <param name="colorVar">The color variable to be drawn.</param> /// </summary> static void DrawColorVar (Rect rect, ColorVar colorVar) { rect.yMin += 3f; rect.yMax -= 2f; rect.xMin += 6f; rect.xMax -= 6f; DrawName(new Rect (rect.x, rect.y, c_NameWidth, rect.height), colorVar); rect.xMin += c_NameWidth + c_Space; rect.xMax -= c_MinusButtonWidth + c_RightPadding; EditorGUI.BeginChangeCheck(); var newValue = EditorGUI.ColorField (rect, GUIContent.none, colorVar.Value); if (EditorGUI.EndChangeCheck() && newValue != colorVar.Value) { // Register undo if (colorVar.blackboard != null) { #if UNITY_4_0_0 || UNITY_4_1 || UNITY_4_2 Undo.RegisterUndo(colorVar.blackboard, "Variable Value"); #else Undo.RecordObject(colorVar.blackboard, "Variable Value"); #endif } // Update variable value colorVar.Value = newValue; // Set blackboard dirty flag if (colorVar.blackboard != null) EditorUtility.SetDirty(colorVar.blackboard); } 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 = colorVar; }
public override void Reset () { from = new ConcreteGameObjectVar(this.self); to = new ConcreteGameObjectVar(this.self); color = Color.red; }
public override void Reset() { newColor = new ConcreteColorVar(); }
public override void Reset() { from = new ConcreteGameObjectVar(this.self); to = new ConcreteGameObjectVar(this.self); color = Color.red; }
public override void Reset () { base.Reset(); easeType = TweenNode.EaseType.easeInQuad; targetColor = new ConcreteColorVar(); color = new ConcreteColorVar(); }
public override void Reset() { color = Color.black * .5f; }