Esempio n. 1
0
 public override void Reset()
 {
     other          = new ConcreteGameObjectVar();
     eventToSend    = new ConcreteFsmEvent();
     stateName      = new ConcreteStringVar();
     storeEventUsed = new ConcreteBoolVar();
 }
Esempio n. 2
0
 public override void Reset()
 {
     boolVariable = new ConcreteBoolVar();
     trueValue    = "True";
     falseValue   = "False";
     storeInt     = new ConcreteStringVar();
 }
Esempio n. 3
0
 public override void Reset () {
     base.Reset();
     texture = new ConcreteTextureVar();
     text = new ConcreteStringVar();
     tooltip = new ConcreteStringVar();
     guiStyle = new ConcreteStringVar();
 }
Esempio n. 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;
 }
Esempio n. 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();
 }
Esempio n. 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;
 }
Esempio n. 11
0
 public override void Reset()
 {
     axisName           = new ConcreteStringVar();
     storeAxisComponent = Vector3Component.x;
     storeAxis          = new ConcreteVector3Var();
     multiplier         = 1f;
 }
Esempio n. 12
0
        public override void Reset()
        {
            base.Reset();

            gameObject = new ConcreteGameObjectVar(this.self);
            Name       = new ConcreteStringVar();
        }
Esempio n. 13
0
        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();
        }
Esempio n. 15
0
 public override void Reset()
 {
     base.Reset();
     text      = new ConcreteStringVar();
     maxLength = new ConcreteIntVar();
     guiStyle  = new ConcreteStringVar();
 }
Esempio n. 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;
 }
Esempio n. 18
0
 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";
        }
Esempio n. 21
0
        public override void Reset () {
            storeScrollPosition = new ConcreteVector3Var();
            alwayShowHorizontal = new ConcreteBoolVar();
            alwayShowVertical = new ConcreteBoolVar();

            horizontalStyle = new ConcreteStringVar();
            verticalStyle = new ConcreteStringVar();
            backgroundStyle = new ConcreteStringVar();
        }
Esempio n. 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();
 }
Esempio n. 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();
 }
Esempio n. 24
0
        public override void Reset()
        {
            storeScrollPosition = new ConcreteVector3Var();
            alwayShowHorizontal = new ConcreteBoolVar();
            alwayShowVertical   = new ConcreteBoolVar();

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

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

            gameObject = new ConcreteGameObjectVar(this.self);
            tag = new ConcreteStringVar();
        }
Esempio n. 44
0
 public override void Reset () {
     material = new ConcreteMaterialVar();
     propertyName = new ConcreteStringVar();
     newVector = new ConcreteVector3Var();
 }
Esempio n. 45
0
 public override void Reset()
 {
     material     = new ConcreteMaterialVar();
     propertyName = new ConcreteStringVar();
     newInt       = new ConcreteIntVar();
 }
Esempio n. 46
0
 public override void Reset () {
     variable = new ConcreteStringVar();
     newValue = new ConcreteStringVar();
 }
Esempio n. 47
0
 public override void Reset()
 {
     url = "www.behaviourmachine.com";
 }
Esempio n. 48
0
 public override void Reset()
 {
     key   = new ConcreteStringVar();
     store = new ConcreteIntVar();
 }
Esempio n. 49
0
 public override void Reset () {
     floatVar = new ConcreteFloatVar();
     maxLength = new ConcreteIntVar();
     guiStyle = new ConcreteStringVar();
 }
Esempio n. 50
0
 public override void Reset () {
     key = new ConcreteStringVar();
     store = new ConcreteIntVar();
 }
Esempio n. 51
0
 public override void Reset () {
     parameterName = new ConcreteStringVar();
     newValue = new ConcreteVector3Var();
 }
Esempio n. 52
0
 public override void Reset()
 {
     gameObject    = new ConcreteGameObjectVar(this.self);
     Value         = new ConcreteBoolVar();
     componentType = new ConcreteStringVar();
 }
Esempio n. 53
0
 public override void Reset () {
     floatVariable = 0f;
     storeString = new ConcreteStringVar();
     format = new ConcreteStringVar();
 }
Esempio n. 54
0
 public override void Reset () {
     boolVariable = new ConcreteBoolVar();
     trueValue = "True";
     falseValue = "False";
     storeInt = new ConcreteStringVar();
 }
Esempio n. 55
0
 public override void Reset () {
     gameObject = new ConcreteGameObjectVar(this.self);
     parameterName = new ConcreteStringVar();
 }
Esempio n. 56
0
 public override void Reset()
 {
     targetName      = new ConcreteStringVar();
     storeGameObject = new ConcreteGameObjectVar(this.self);
 }
Esempio n. 57
0
        /// <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;
        }
Esempio n. 58
0
 public override void Reset()
 {
     gameObject    = new ConcreteGameObjectVar(this.self);
     parameterName = new ConcreteStringVar();
     newValue      = new ConcreteIntVar();
 }
Esempio n. 59
0
 public override void Reset()
 {
     floatVar  = new ConcreteFloatVar();
     maxLength = new ConcreteIntVar();
     guiStyle  = new ConcreteStringVar();
 }
Esempio n. 60
0
 public override void Reset () {
     gameObject = this.self;
     treeName = "BehaviourTree";
     functionName = "FunctionNode";
 }