public override void Reset()
 {
     trueEvent = null;
     falseEvent = null;
     store = null;
     everyFrame = false;
 }
 public override void Reset()
 {
     tag = null;
     delay = 0;
     AccumulateDelay = false;
     detachChildren = false;
 }
Ejemplo n.º 3
0
 public override void Reset()
 {
     gameObject = null;
     cullingMask = new FsmInt[0];
     invertMask = false;
     everyFrame = false;
 }
Ejemplo n.º 4
0
 public override void Reset()
 {
     gameObject = null;
     refreshContentFirst = true;
     reference = null;
     xmlString = null;
 }
Ejemplo n.º 5
0
 public override void Reset()
 {
     gameObject = null;
     animationName = "";
     transform = "";
     recursive = true;
 }
 public override void Reset()
 {
     gameObject = null;
     moveVector = new FsmVector3 {UseVariable = true};
     space = Space.World;
     perSecond = true;
 }
Ejemplo n.º 7
0
		public override void Reset()
		{
			boolVariables = null;
			sendEvent = null;
			storeResult = null;
			everyFrame = false;
		}
 public override void Reset()
 {
     roomName  = null;
     isVisible = true;
     isOpen = true;
     maxNumberOfPLayers = 100;
 }
Ejemplo n.º 9
0
		public override void Reset()
		{
			broadcastEvent = null;
			gameObject = null;
			sendToChildren = false;
			excludeSelf = false;
		}
 public override void Reset()
 {
     gameObject = null;
     isMine = null;
     isMineEvent = null;
     isNotMineEvent = null;
 }
 public override void Reset()
 {
     boolVariable = null;
     isTrue = null;
     isFalse = null;
     everyFrame = false;
 }
        public override void Reset()
        {
            gameObject = null;
            pixelPerfect = null;

            everyframe = false;
        }
Ejemplo n.º 13
0
 public override void Reset()
 {
     angle = null;
     DegToRad = true;
     everyFrame = false;
     result = null;
 }
 public override void Reset()
 {
     this.gameObject = null;
     this.affectMassCenter = null;
     this.affectMassCenterEvent = null;
     this.doNotAffectMassCenterEvent = null;
 }
Ejemplo n.º 15
0
		public override void Reset()
		{
			gameObject = null;
			fsmName = "";
			enable = true;
			resetOnExit = true;
		}
		public override void Reset()
		{
			gameObject = null;
			sendEvent = null;
			text = null;
			wasCanceled = null;
		}
Ejemplo n.º 17
0
		public override void Reset()
		{
			levelIndex = null;
			additive = false;
			loadedEvent = null;
			dontDestroyOnLoad = true;
		}
Ejemplo n.º 18
0
		public override void Reset()
		{
			gameObject = null;
			animName = null;
			enable = true;
			resetOnExit = false;
		}
Ejemplo n.º 19
0
 public override void Reset()
 {
     Value = null;
     RadToDeg = true;
     everyFrame = false;
     angle = null;
 }
 public override void Reset()
 {
     gameObject = null;
     textAnchor = TextAnchor.LowerLeft;
     OrTextAnchorString = "";
     commit = true;
 }
Ejemplo n.º 21
0
		public override void Reset()
		{
			gameObject = null;
			value = null;
			resetOnExit = null;
			everyFrame = false;
		}
 public override void Reset()
 {
     gameObject = null;
     isOnOffMeshLink = null;
     isOnOffMeshLinkEvent = null;
     isNotOnOffMeshLinkEvent = null;
 }
Ejemplo n.º 23
0
		public override void Reset()
		{
			gameObject = null;
			x = true;
			y = true;
			z = true;
		}
Ejemplo n.º 24
0
		public override void Reset()
		{
			gameObject = null;	
			withTag = "Untagged";
			mustBeVisible = false;
			storeObject = null;
		}
Ejemplo n.º 25
0
		public override void Reset()
		{
			gameObject = null;
			resetOnExit = false;

			spriteToSwap = new Sprite();
		}
Ejemplo n.º 26
0
		public override void Reset()
		{
			gameObject = null;
			pause = true;
			everyframe = false;

		}
Ejemplo n.º 27
0
 public override void Reset()
 {
     this.gameObject = null;
     this.height = new FsmFloat
     {
         UseVariable = true
     };
     this.radius = new FsmFloat
     {
         UseVariable = true
     };
     this.slopeLimit = new FsmFloat
     {
         UseVariable = true
     };
     this.stepOffset = new FsmFloat
     {
         UseVariable = true
     };
     this.center = new FsmVector3
     {
         UseVariable = true
     };
     this.detectCollisions = new FsmBool
     {
         UseVariable = true
     };
     this.everyFrame = false;
 }
 public override void Reset()
 {
     substanceMaterial = null;
     boolProperty = "";
     boolValue = false;
     everyFrame = false;
 }
Ejemplo n.º 29
0
 public override void Reset()
 {
     this.boolVariable = null;
     this.isTrue = null;
     this.isFalse = null;
     this.everyFrame = false;
 }
		public override void Reset()
		{
			gameObject = null;
			affectMassCenter = null;
			affectMassCenterEvent = null;
			doNotAffectMassCenterEvent = null;
		}
Ejemplo n.º 31
0
 public override void Reset()
 {
     this.gameObject = null;
     this.fsmName    = string.Empty;
     this.storeValue = null;
 }
Ejemplo n.º 32
0
 public override void Reset()
 {
     gameObject       = null;
     affectMassCenter = null;
 }
 public override void Reset()
 {
     persistExtendedTracking = true;
 }
Ejemplo n.º 34
0
 public override void Reset()
 {
     sendEvent   = null;
     storeResult = null;
 }
 public override void Reset()
 {
     gameObject = null;
     everyFrame = false;
 }
 public override void Reset()
 {
     id       = "";
     found    = null;
     outValue = null;
 }
Ejemplo n.º 37
0
 public override void Reset()
 {
     gameObject = null;
     mute       = false;
 }
 public override void Reset()
 {
     pointerOverUI    = null;
     pointerNotOverUI = null;
     isPointerOverUI  = null;
 }
Ejemplo n.º 39
0
 public override void Reset()
 {
     this.gameObject  = null;
     this.isKinematic = false;
 }
Ejemplo n.º 40
0
 public override void Reset()
 {
     this.key         = KeyCode.None;
     this.storeResult = null;
     this.everyFrame  = false;
 }
Ejemplo n.º 41
0
 public override void Reset()
 {
     movieTexture = null;
     loop         = false;
 }
 public override void Reset()
 {
     gameObject   = null;
     autoSizeText = false;
     everyFrame   = false;
 }
 public override void Reset()
 {
     gameObject     = null;
     includeChilden = true;
 }
 public override void Reset()
 {
     result = null;
 }
Ejemplo n.º 45
0
 public override void Reset()
 {
     debugThis = new FsmBool {
         UseVariable = false, Value = false
     };
 }
        public override void Reset()
        {
            gameObject = null;

            connectedBody = new FsmGameObject {
                UseVariable = true
            };
            breakForce = new FsmFloat {
                UseVariable = true
            };
            breakTorque = new FsmFloat {
                UseVariable = true
            };

            anchor = new FsmVector3 {
                UseVariable = true
            };
            axis = new FsmVector3 {
                UseVariable = true
            };

            useSpring = new FsmBool {
                UseVariable = true
            };
            spring = new FsmFloat {
                UseVariable = true
            };
            damper = new FsmFloat {
                UseVariable = true
            };
            targetPosition = new FsmFloat {
                UseVariable = true
            };

            useMotor = new FsmBool {
                UseVariable = true
            };
            targetVelocity = new FsmFloat {
                UseVariable = true
            };
            force = new FsmFloat {
                UseVariable = true
            };
            freeSpin = new FsmBool {
                UseVariable = true
            };

            useLimits = new FsmBool {
                UseVariable = true
            };
            min = new FsmFloat {
                UseVariable = true
            };
            max = new FsmFloat {
                UseVariable = true
            };
                        #if UNITY_PRE_5_1
            minBounce = new FsmFloat {
                UseVariable = true
            };
            maxBounce = new FsmFloat {
                UseVariable = true
            };
                        #else
            bounceMinVelocity = new FsmFloat {
                UseVariable = true
            };
            bounciness = new FsmFloat {
                UseVariable = true
            };
            contactDistance = new FsmFloat {
                UseVariable = true
            };
                        #endif

            everyFrame = false;
        }
Ejemplo n.º 47
0
 public override void Reset()
 {
     result         = null;
     willProceed    = null;
     willNotProceed = null;
 }
Ejemplo n.º 48
0
    // Update is called once per frame
    void Update()
    {
        FsmBool syncStatus = FsmVariables.GlobalVariables.FindFsmBool("MonitorSync");

        if (syncStatus.Value)
        {
            runningScores();
            // these are individual people's readiness


            Spell p1Spell = player1.GetComponentInChildren <Spell> ();
            Spell p2Spell = player2.GetComponentInChildren <Spell> ();
            Spell p3Spell = player3.GetComponentInChildren <Spell> ();
            Spell p4Spell = player4.GetComponentInChildren <Spell> ();

            if (p1Spell != null)
            {
                FsmBool p1Ready = FsmVariables.GlobalVariables.FindFsmBool("P1Ready");
                p1Ready.Value = p1Spell.thresholdCheck();
            }

            if (p2Spell != null)
            {
                FsmBool p2Ready = FsmVariables.GlobalVariables.FindFsmBool("P2Ready");
                p2Ready.Value = p2Spell.thresholdCheck();
            }
            if (p3Spell != null)
            {
                FsmBool p3Ready = FsmVariables.GlobalVariables.FindFsmBool("P3Ready");
                p3Ready.Value = p3Spell.thresholdCheck();
            }

            if (p4Spell != null)
            {
                FsmBool p4Ready = FsmVariables.GlobalVariables.FindFsmBool("P4Ready");
                p4Ready.Value = p4Spell.thresholdCheck();
            }

            if (p1Spell != null && p2Spell != null && p3Spell != null && p4Spell != null)
            {
                updateScores();
                // if they press the button, they better be rigggghhht!
                if (Input.GetButtonDown("ButtonMiddle"))
                {
                    if (checkStatus())
                    {
                        Debug.Log("YOU GOT IT");
                        gameManagerFSM.SendEvent("SyncSucceed");
                    }
                    else
                    {
                        Debug.Log("FAIL!");
                        gameManagerFSM.SendEvent("SpellFailed");
                    }
                }


                // this will show if the entire group has their threshold
                FsmBool groupReady = FsmVariables.GlobalVariables.FindFsmBool("GroupReady");
                groupReady.Value = checkStatus();
            }
        }
    }
    void SetupVariableTarget()
    {
        // GLOBAL VARIABLE
        if (fsmVariableSetup.target == PlayMakerUGuiComponentProxy.PlayMakerProxyVariableTarget.GlobalVariable)
        {
            if (fsmVariableSetup.variableType == VariableType.Bool)
            {
                fsmBoolTarget = FsmVariables.GlobalVariables.FindFsmBool(fsmVariableSetup.variableName);
            }
            else if (fsmVariableSetup.variableType == VariableType.Float)
            {
                fsmFloatTarget = FsmVariables.GlobalVariables.FindFsmFloat(fsmVariableSetup.variableName);
            }
            else if (fsmVariableSetup.variableType == VariableType.Vector2)
            {
                fsmVector2Target = FsmVariables.GlobalVariables.FindFsmVector2(fsmVariableSetup.variableName);
            }
            else if (fsmVariableSetup.variableType == VariableType.String)
            {
                fsmStringTarget = FsmVariables.GlobalVariables.FindFsmString(fsmVariableSetup.variableName);
            }
        }

        // FSM COMPONENT
        else if (fsmVariableSetup.target == PlayMakerUGuiComponentProxy.PlayMakerProxyVariableTarget.FsmComponent)
        {
            if (fsmVariableSetup.fsmComponent != null)
            {
                if (fsmVariableSetup.variableType == VariableType.Bool)
                {
                    fsmBoolTarget = fsmVariableSetup.fsmComponent.FsmVariables.FindFsmBool(fsmVariableSetup.variableName);
                }
                else if (fsmVariableSetup.variableType == VariableType.Float)
                {
                    fsmFloatTarget = fsmVariableSetup.fsmComponent.FsmVariables.FindFsmFloat(fsmVariableSetup.variableName);
                }
                else if (fsmVariableSetup.variableType == VariableType.Vector2)
                {
                    fsmVector2Target = fsmVariableSetup.fsmComponent.FsmVariables.FindFsmVector2(fsmVariableSetup.variableName);
                }
                else if (fsmVariableSetup.variableType == VariableType.String)
                {
                    fsmStringTarget = fsmVariableSetup.fsmComponent.FsmVariables.FindFsmString(fsmVariableSetup.variableName);
                }
            }
            else
            {
                Debug.LogError("set to target a FsmComponent but fsmEventTarget.target is null");
            }
        }

        // OWNER
        else if (fsmVariableSetup.target == PlayMakerUGuiComponentProxy.PlayMakerProxyVariableTarget.Owner)
        {
            if (fsmVariableSetup.gameObject != null)
            {
                if (fsmVariableSetup.fsmComponent != null)
                {
                    if (fsmVariableSetup.variableType == VariableType.Bool)
                    {
                        fsmBoolTarget = fsmVariableSetup.fsmComponent.FsmVariables.FindFsmBool(fsmVariableSetup.variableName);
                    }
                    else if (fsmVariableSetup.variableType == VariableType.Float)
                    {
                        fsmFloatTarget = fsmVariableSetup.fsmComponent.FsmVariables.FindFsmFloat(fsmVariableSetup.variableName);
                    }
                    else if (fsmVariableSetup.variableType == VariableType.Vector2)
                    {
                        fsmVector2Target = fsmVariableSetup.fsmComponent.FsmVariables.FindFsmVector2(fsmVariableSetup.variableName);
                    }
                    else if (fsmVariableSetup.variableType == VariableType.String)
                    {
                        fsmStringTarget = fsmVariableSetup.fsmComponent.FsmVariables.FindFsmString(fsmVariableSetup.variableName);
                    }
                }
            }
            else
            {
                Debug.LogError("set to target Owbner but fsmEventTarget.target is null");
            }
        }

        // GAMEOBJECT
        else if (fsmVariableSetup.target == PlayMakerUGuiComponentProxy.PlayMakerProxyVariableTarget.GameObject)
        {
            if (fsmVariableSetup.gameObject != null)
            {
                if (fsmVariableSetup.fsmComponent != null)
                {
                    if (fsmVariableSetup.variableType == VariableType.Bool)
                    {
                        fsmBoolTarget = fsmVariableSetup.fsmComponent.FsmVariables.FindFsmBool(fsmVariableSetup.variableName);
                    }
                    else if (fsmVariableSetup.variableType == VariableType.Float)
                    {
                        fsmFloatTarget = fsmVariableSetup.fsmComponent.FsmVariables.FindFsmFloat(fsmVariableSetup.variableName);
                    }
                    else if (fsmVariableSetup.variableType == VariableType.Vector2)
                    {
                        fsmVector2Target = fsmVariableSetup.fsmComponent.FsmVariables.FindFsmVector2(fsmVariableSetup.variableName);
                    }
                    else if (fsmVariableSetup.variableType == VariableType.String)
                    {
                        fsmStringTarget = fsmVariableSetup.fsmComponent.FsmVariables.FindFsmString(fsmVariableSetup.variableName);
                    }
                }
            }
            else
            {
                Debug.LogError("set to target a Gameobject but fsmEventTarget.target is null");
            }
        }
    }
Ejemplo n.º 50
0
 public override void Reset()
 {
     this.showLabel = true;
 }
 public override void Reset()
 {
     gameObject   = null;
     upAdjust     = null;
     nestedButton = null;
 }
Ejemplo n.º 52
0
 public override void Reset()
 {
     gameObject    = null;
     alwaysAnimate = null;
 }
 public override void Reset()
 {
     storeResult = null;
     weights     = 0.5f;
 }
Ejemplo n.º 54
0
 public override void Reset()
 {
     enableFog  = true;
     everyFrame = false;
 }
Ejemplo n.º 55
0
 public override void Reset()
 {
     clearType    = clearSelect.Clear;
     clearDestroy = false;
 }
 public override void Reset()
 {
     base.Reset();
     gameObject = null;
     to         = new FsmFloat {
         UseVariable = false
     };
     toGameObject = new FsmGameObject {
         UseVariable = false
     };
     duration = new FsmFloat {
         UseVariable = false
     };
     setSpeedBased = new FsmBool {
         UseVariable = false, Value = false
     };
     snapping = new FsmBool {
         UseVariable = false, Value = false
     };
     setRelative = new FsmBool {
         UseVariable = false, Value = false
     };
     playInReverse = new FsmBool {
         UseVariable = false, Value = false
     };
     setReverseRelative = new FsmBool {
         UseVariable = false, Value = false
     };
     startEvent        = null;
     finishEvent       = null;
     finishImmediately = new FsmBool {
         UseVariable = false, Value = false
     };
     stringAsId = new FsmString {
         UseVariable = false
     };
     tagAsId = new FsmString {
         UseVariable = false
     };
     startDelay = new FsmFloat {
         Value = 0
     };
     selectedEase = Doozy.PlayMaker.Actions.SelectedEase.EaseType;
     easeType     = Ease.Linear;
     loops        = new FsmInt {
         Value = 0
     };
     loopType             = DG.Tweening.LoopType.Restart;
     autoKillOnCompletion = new FsmBool {
         Value = true
     };
     recyclable = new FsmBool {
         Value = false
     };
     updateType          = UpdateType.Normal;
     isIndependentUpdate = new FsmBool {
         Value = false
     };
     debugThis = new FsmBool {
         Value = false
     };
 }
Ejemplo n.º 57
0
 public override void Reset()
 {
     gameObject = null;
     useGravity = true;
 }
Ejemplo n.º 58
0
 public override void Reset()
 {
     gameObject     = null;
     alwaysAnimate  = null;
     cullCompletely = null;
 }
Ejemplo n.º 59
0
 public override void Reset()
 {
     this.gameObject    = null;
     this.stabilizeFeet = null;
 }
Ejemplo n.º 60
0
        public override void Reset()
        {
            base.Reset();

            gameObject = null;

            target = null;

            duration = new FsmFloat {
                UseVariable = false
            };
            setSpeedBased = new FsmBool {
                UseVariable = false, Value = false
            };
            axisConstraint = AxisConstraint.None;
            up             = new FsmVector3 {
                UseVariable = false, Value = Vector3.up
            };

            setRelative = new FsmBool {
                UseVariable = false, Value = false
            };

            playInReverse = new FsmBool {
                UseVariable = false, Value = false
            };
            setReverseRelative = new FsmBool {
                UseVariable = false, Value = false
            };

            startEvent        = null;
            finishEvent       = null;
            finishImmediately = new FsmBool {
                UseVariable = false, Value = false
            };

            stringAsId = new FsmString {
                UseVariable = false
            };
            tagAsId = new FsmString {
                UseVariable = false
            };

            startDelay = new FsmFloat {
                Value = 0
            };

            selectedEase = DOTweenActionsEnums.SelectedEase.EaseType;
            easeType     = Ease.Linear;

            loops = new FsmInt {
                Value = 0
            };
            loopType = LoopType.Restart;

            autoKillOnCompletion = new FsmBool {
                Value = true
            };
            recyclable = new FsmBool {
                Value = false
            };

            updateType          = UpdateType.Normal;
            isIndependentUpdate = new FsmBool {
                Value = false
            };

            debugThis = new FsmBool {
                Value = false
            };
        }