Exemple #1
0
 public override void Reset()
 {
     other          = new ConcreteGameObjectVar();
     eventToSend    = new ConcreteFsmEvent();
     stateName      = new ConcreteStringVar();
     storeEventUsed = new ConcreteBoolVar();
 }
 public override void Reset()
 {
     boolVariable = new ConcreteBoolVar();
     trueValue    = "True";
     falseValue   = "False";
     storeInt     = new ConcreteStringVar();
 }
Exemple #3
0
 public override void Reset () {
     base.Reset();
     texture = new ConcreteTextureVar();
     text = new ConcreteStringVar();
     tooltip = new ConcreteStringVar();
     guiStyle = new ConcreteStringVar();
 }
Exemple #4
0
 public override void Reset()
 {
     gameObject       = new ConcreteGameObjectVar(this.self);
     animationName    = new ConcreteStringVar();
     targetWeight     = 1f;
     targetFadeLength = .3f;
 }
 public override void Reset()
 {
     gameObject    = new ConcreteGameObjectVar(this.self);
     animationName = new ConcreteStringVar();
     fadeLength    = .3f;
     playMode      = PlayMode.StopSameLayer;
 }
 public override void Reset () {
     gameObject = new ConcreteGameObjectVar(this.self);
     animationName = new ConcreteStringVar();
     fadeLength = .3f;
     queue = QueueMode.CompleteOthers;
     playMode = PlayMode.StopSameLayer;
 }
Exemple #7
0
        public override void Reset()
        {
            base.Reset();

            buttonName = "Horizontal";
            tolerance  = 0.3f;
        }
 public override void Reset()
 {
     texture  = new ConcreteTextureVar();
     text     = new ConcreteStringVar();
     tooltip  = new ConcreteStringVar();
     guiStyle = new ConcreteStringVar();
 }
Exemple #9
0
        public override void Reset () {
            base.Reset();

            text = new ConcreteStringVar();
            maxLength = new ConcreteIntVar();
            guiStyle = new ConcreteStringVar();
        }
 public override void Reset()
 {
     gameObject    = new ConcreteGameObjectVar(this.self);
     animationName = new ConcreteStringVar();
     queue         = QueueMode.CompleteOthers;
     playMode      = PlayMode.StopSameLayer;
 }
 public override void Reset()
 {
     axisName           = new ConcreteStringVar();
     storeAxisComponent = Vector3Component.x;
     storeAxis          = new ConcreteVector3Var();
     multiplier         = 1f;
 }
Exemple #12
0
        public override void Reset()
        {
            base.Reset();

            gameObject = new ConcreteGameObjectVar(this.self);
            Name       = new ConcreteStringVar();
        }
        public override void Reset () {
            base.Reset ();

            gameObject = this.self;
            layer = 0;
            stateName = "State Name";
        }
        public override void Reset()
        {
            base.Reset();

            a = new ConcreteStringVar();
            b = new ConcreteStringVar();
        }
 public override void Reset()
 {
     base.Reset();
     text      = new ConcreteStringVar();
     maxLength = new ConcreteIntVar();
     guiStyle  = new ConcreteStringVar();
 }
Exemple #16
0
 public override void Reset()
 {
     gameObject = new ConcreteGameObjectVar(this.self);
     childTag   = new ConcreteStringVar();
     childName  = new ConcreteStringVar();
     storeChild = new ConcreteGameObjectVar();
 }
 public override void Reset()
 {
     gameObject          = new ConcreteGameObjectVar(this.self);
     layerIndex          = 0;
     stateName           = "Base Layer.State Name";
     considerTransitions = true;
 }
 public override void Reset () {
     base.Reset();
     password = new ConcreteStringVar();
     maxLength = new ConcreteIntVar();
     guiStyle = new ConcreteStringVar();
     maskChar = new ConcreteStringVar();
 }
 public override void Reset()
 {
     base.Reset();
     password  = new ConcreteStringVar();
     maxLength = new ConcreteIntVar();
     guiStyle  = new ConcreteStringVar();
     maskChar  = new ConcreteStringVar();
 }
        public override void Reset()
        {
            base.Reset();

            gameObject = this.self;
            layer      = 0;
            stateName  = "State Name";
        }
        public override void Reset () {
            storeScrollPosition = new ConcreteVector3Var();
            alwayShowHorizontal = new ConcreteBoolVar();
            alwayShowVertical = new ConcreteBoolVar();

            horizontalStyle = new ConcreteStringVar();
            verticalStyle = new ConcreteStringVar();
            backgroundStyle = new ConcreteStringVar();
        }
Exemple #22
0
 public override void Reset () {
     horizontalAxis = new ConcreteStringVar();
     verticalAxis = new ConcreteStringVar();
     mapToPlane = AxisPlane.XZ;
     relativeTo = new ConcreteGameObjectVar(this.self);
     multiplier = 1f;
     normalize = false;
     storeInput = new ConcreteVector3Var();
 }
Exemple #23
0
 public override void Reset()
 {
     horizontalAxis = new ConcreteStringVar();
     verticalAxis   = new ConcreteStringVar();
     mapToPlane     = AxisPlane.XZ;
     relativeTo     = new ConcreteGameObjectVar(this.self);
     multiplier     = 1f;
     normalize      = false;
     storeInput     = new ConcreteVector3Var();
 }
Exemple #24
0
        public override void Reset()
        {
            storeScrollPosition = new ConcreteVector3Var();
            alwayShowHorizontal = new ConcreteBoolVar();
            alwayShowVertical   = new ConcreteBoolVar();

            horizontalStyle = new ConcreteStringVar();
            verticalStyle   = new ConcreteStringVar();
            backgroundStyle = new ConcreteStringVar();
        }
Exemple #25
0
        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();
        }
Exemple #26
0
        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();
        }
Exemple #27
0
 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();
 }
Exemple #29
0
 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;
 }
Exemple #31
0
 public override void Reset()
 {
     gameObject    = new ConcreteGameObjectVar(this.self);
     parameterName = new ConcreteStringVar();
     store         = new ConcreteFloatVar();
 }
 public override void Reset () {
     tag = new ConcreteStringVar();
     storeGameObject = new ConcreteGameObjectVar(this.self);
 }
Exemple #33
0
 public override void Reset () {
     gameObject = new ConcreteGameObjectVar(this.self);
     animationName = new ConcreteStringVar();
     playMode = PlayMode.StopSameLayer;
 }
 public override void Reset () {
     other = new ConcreteGameObjectVar();
     eventToSend = new ConcreteFsmEvent();
     stateName = new ConcreteStringVar();
     storeEventUsed = new ConcreteBoolVar();
 }
Exemple #35
0
 public override void Reset () {
     axisName = new ConcreteStringVar();
     storeAxisComponent = Vector3Component.x;
     storeAxis = new ConcreteVector3Var();
     multiplier = 1f;
 }
Exemple #36
0
 public override void Reset () {
     base.Reset();
     key = new ConcreteStringVar();
 }
Exemple #37
0
 public override void Reset () {
     url = "www.behaviourmachine.com";
 }
 public override void Reset()
 {
     variable = new ConcreteStringVar();
     newValue = new ConcreteStringVar();
 }
Exemple #39
0
		public override void Reset () {
			message = string.Empty;
			logType = LogType.Log;
		}
 public override void Reset () {
     material = new ConcreteMaterialVar();
     propertyName = new ConcreteStringVar();
     newFloat = new ConcreteFloatVar();
 }
Exemple #41
0
        public override void Reset()
        {
            base.Reset();

            buttonName = "Fire1";
        }
Exemple #42
0
 public override void Reset () {
     stringVariable = string.Empty;
     storeInt = new ConcreteIntVar();
 }
Exemple #43
0
        public override void Reset () {
            base.Reset();

            gameObject = new ConcreteGameObjectVar(this.self);
            tag = new ConcreteStringVar();
        }
 public override void Reset () {
     material = new ConcreteMaterialVar();
     propertyName = new ConcreteStringVar();
     newVector = new ConcreteVector3Var();
 }
 public override void Reset()
 {
     material     = new ConcreteMaterialVar();
     propertyName = new ConcreteStringVar();
     newInt       = new ConcreteIntVar();
 }
Exemple #46
0
 public override void Reset () {
     variable = new ConcreteStringVar();
     newValue = new ConcreteStringVar();
 }
Exemple #47
0
 public override void Reset()
 {
     url = "www.behaviourmachine.com";
 }
 public override void Reset()
 {
     key   = new ConcreteStringVar();
     store = new ConcreteIntVar();
 }
Exemple #49
0
 public override void Reset () {
     floatVar = new ConcreteFloatVar();
     maxLength = new ConcreteIntVar();
     guiStyle = new ConcreteStringVar();
 }
Exemple #50
0
 public override void Reset () {
     key = new ConcreteStringVar();
     store = new ConcreteIntVar();
 }
 public override void Reset () {
     parameterName = new ConcreteStringVar();
     newValue = new ConcreteVector3Var();
 }
Exemple #52
0
 public override void Reset()
 {
     gameObject    = new ConcreteGameObjectVar(this.self);
     Value         = new ConcreteBoolVar();
     componentType = new ConcreteStringVar();
 }
Exemple #53
0
 public override void Reset () {
     floatVariable = 0f;
     storeString = new ConcreteStringVar();
     format = new ConcreteStringVar();
 }
Exemple #54
0
 public override void Reset () {
     boolVariable = new ConcreteBoolVar();
     trueValue = "True";
     falseValue = "False";
     storeInt = new ConcreteStringVar();
 }
 public override void Reset () {
     gameObject = new ConcreteGameObjectVar(this.self);
     parameterName = new ConcreteStringVar();
 }
 public override void Reset()
 {
     targetName      = new ConcreteStringVar();
     storeGameObject = new ConcreteGameObjectVar(this.self);
 }
        /// <summary> 
        /// Draw a string variable.
        /// <param name="rect">The position to draw the variable.</param>
        /// <param name="stringVar">The string variable to be drawn.</param>
        /// </summary>
        static void DrawStringVar (Rect rect, StringVar stringVar) {
            rect.yMin += 3f;
            rect.yMax -= 2f;
            rect.xMin += 6f;
            rect.xMax -= 6f;

            DrawName(new Rect (rect.x, rect.y, c_NameWidth, rect.height), stringVar);

            rect.xMin += c_NameWidth + c_Space;
            rect.xMax -= c_MinusButtonWidth + c_RightPadding;
            EditorGUI.BeginChangeCheck();
            var newValue = EditorGUI.TextField (rect, GUIContent.none, stringVar.Value);
            if (EditorGUI.EndChangeCheck() && newValue != stringVar.Value) {
                // Register undo
                if (stringVar.blackboard != null) { 
                    #if UNITY_4_0_0 || UNITY_4_1 || UNITY_4_2
                    Undo.RegisterUndo(stringVar.blackboard, "Variable Value");
                    #else
                    Undo.RecordObject(stringVar.blackboard, "Variable Value");
                    #endif
                }

                // Update variable value
                stringVar.Value = newValue;
                // Set blackboard dirty flag
                if (stringVar.blackboard != null) EditorUtility.SetDirty(stringVar.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 = stringVar;
        }
Exemple #58
0
 public override void Reset()
 {
     gameObject    = new ConcreteGameObjectVar(this.self);
     parameterName = new ConcreteStringVar();
     newValue      = new ConcreteIntVar();
 }
Exemple #59
0
 public override void Reset()
 {
     floatVar  = new ConcreteFloatVar();
     maxLength = new ConcreteIntVar();
     guiStyle  = new ConcreteStringVar();
 }
Exemple #60
0
 public override void Reset () {
     gameObject = this.self;
     treeName = "BehaviourTree";
     functionName = "FunctionNode";
 }