public override void Reset()
 {
     enumVariable = null;
     compareTo = new FsmEnum[0];
     sendEvent = new FsmEvent[0];
     everyFrame = false;
 }
Esempio n. 2
0
 public override void Reset()
 {
     enumVariable = null;
     compareTo = null;
     equalEvent = null;
     notEqualEvent = null;
     storeResult = null;
     everyFrame = false;
 }
		public override void Reset ()
		{
			arraySource = null;
			arrayTarget = null;
			
			indexToTransfer = null;

			copyType = ArrayTransferType.Copy;
			pasteType = ArrayPasteType.AsLastItem;
		}
Esempio n. 4
0
 public override void Reset()
 {
     isGrabbable           = false;
     holdButtonToGrab      = false;
     stayGrabbedOnTeleport = false;
     grabOverrideButton    = null;
     allowedGrabController = null;
     validDrop             = null;
     gameObject            = null;
     everyFrame            = false;
 }
        public override void Reset()
        {
            base.Reset();

            stick        = null;
            leftEvent    = null;
            rightEvent   = null;
            upEvent      = null;
            downEvent    = null;
            anyDirection = null;
            noDirection  = null;
        }
        public override void Reset()
        {
            gameObject = null;

            offset     = null;
            x          = null;
            y          = null;
            z          = null;
            applyAfter = null;

            everyFrame = false;
        }
Esempio n. 7
0
 public override void Reset()
 {
     enumVariable = new FsmEnum {
         UseVariable = true
     };
     wantedEnumValue = new FsmEnum {
         UseVariable = true
     };
     changedEvent  = null;
     storeResult   = null;
     previousValue = null;
 }
 public override void Reset()
 {
     loadedMode      = null;
     name            = null;
     path            = null;
     isValid         = null;
     buildIndex      = null;
     isLoaded        = null;
     rootCount       = null;
     rootGameObjects = null;
     isDirty         = null;
 }
Esempio n. 9
0
        public override void Reset()
        {
            gameObject      = null;
            defaultRotation = new FsmVector3 {
                UseVariable = true
            };

            constraintAxis = null;
            minAngle       = -45f;
            maxAngle       = 45f;

            everyFrame = false;
        }
Esempio n. 10
0
        public override void Reset()
        {
            moveObject = null;

            speedMove = 1;

            upInput    = KeyCode.None;
            leftInput  = KeyCode.None;
            downInput  = KeyCode.None;
            rightInput = KeyCode.None;

            everyFrame = true;
        }
        public override void Reset()
        {
            base.Reset();
            castShadows    = ShadowCastingMode.Off;
            receiveShadows = false;
#if UNITY_5_4_OR_NEWER
            useLightProbes = LightProbeUsage.Off;
#else
            useLightProbes = false;
#endif
            reflextionProbesUsage = ReflectionProbeUsage.Off;
            anchorOverride        = null;
        }
Esempio n. 12
0
        public override void Reset()
        {
            eventName          = null;
            gameObjectPosition = null;
            OrVector3position  = new FsmVector3()
            {
                UseVariable = true
            };

            result  = AnalyticsResult.AnalyticsDisabled;
            success = null;
            failure = null;
        }
 public override void Reset()
 {
     gameObject      = null;
     targetObject    = null;
     forceMultiplier = new FsmFloat {
         UseVariable = true
     };
     forceMode    = null;
     maxSpeed     = 100f;
     storeAngleTo = new FsmFloat {
         UseVariable = true
     };
 }
Esempio n. 14
0
        public override void Reset()
        {
            gameObject      = null;
            physicsMaterial = null;

            dynamicFriction = null;
            staticFriction  = null;
            bounciness      = null;
            frictionCombine = null;
            bounceCombine   = null;

            everyFrame = false;
        }
Esempio n. 15
0
        public override void Reset()
        {
            var settings = new ES3Settings();

            path                    = settings.path;
            location                = settings.location;
            encryptionType          = settings.encryptionType;
            encryptionPassword      = settings.encryptionPassword;
            directory               = settings.directory;
            format                  = settings.format;
            bufferSize              = settings.bufferSize;
            overrideDefaultSettings = false;
            base.Reset();
        }
Esempio n. 16
0
        public override void Reset()
        {
            status = new FsmEnum()
            {
                ObjectType = typeof(ChatUserStatus)
            };
            statusAsInt = null;

            gotMessage = null;

            message = null;

            gotMessageEvent = null;
        }
Esempio n. 17
0
 public override void Reset()
 {
     base.Reset();
     Delay            = 0.0f;
     Duration         = 0.3f;
     TimeUpdateMethod = new FsmEnum(null, typeof(TransitionStep.TimeUpdateMethodType), (int)TransitionStep.TimeUpdateMethodType.GameTime);
     TransitionType   = new FsmEnum(null, typeof(TransitionHelper.TweenType), (int)TransitionHelper.TweenType.linear);
     AnimationCurve   = new FsmAnimationCurve()
     {
         curve = UnityEngine.AnimationCurve.EaseInOut(0, 0, 1, 1)
     };
     TransitionStartEvent    = null;
     TransitionCompleteEvent = null;
 }
Esempio n. 18
0
        public override void Reset()
        {
            base.Reset();

            gameObject = null;

            iKGoal = null;

            goal           = null;
            position       = null;
            rotation       = null;
            positionWeight = null;
            rotationWeight = null;
        }
Esempio n. 19
0
        public override void Reset()
        {
            gameObject  = null;
            confineMode = null;

            boundingVolume3d = null;

            boundingVolume2d = null;

            confineScreenEdges = null;
            damping            = null;

            everyFrame = false;
        }
Esempio n. 20
0
 public override void Reset()
 {
     leftController         = true;
     rightController        = true;
     speedScale             = null;
     maxSpeed               = null;
     deceleration           = null;
     fallingDeceleration    = null;
     smartDecoupleThreshold = null;
     gameObject             = null;
     engageButton           = null;
     controlOptions         = null;
     directionMethod        = null;
     everyFrame             = false;
 }
        public override void Reset()
        {
            gameObject = null;
            ignoreTag = new FsmString() { UseVariable = true };
            minimumDistanceFromTarget = new FsmFloat() {UseVariable = true};
            avoidObstacles = new FsmBool() {UseVariable = true };
            distanceLimit = new FsmFloat() {UseVariable = true };
            cameraRadius = new FsmFloat() {UseVariable = true };
            strategy = new FsmEnum() { UseVariable = true };
            maximumEffort = new FsmInt() { UseVariable = true };
            damping = new FsmFloat() { UseVariable = true };
            optimalTargetDistance = new FsmFloat() { UseVariable = true };

            everyFrame = false;
        }
Esempio n. 22
0
        public override void Reset()
        {
            gameObject = null;
            ignoreTag  = null;
            minimumDistanceFromTarget = null;
            avoidObstacles            = null;
            distanceLimit             = null;
            cameraRadius          = null;
            strategy              = null;
            maximumEffort         = null;
            damping               = null;
            optimalTargetDistance = null;

            everyFrame = false;
        }
        public override void Reset()
        {
            gameObject = null;

            UvMappingHorizontal = new FsmEnum()
            {
                UseVariable = true
            };
            UvMappingVertical = new FsmEnum()
            {
                UseVariable = true
            };;

            everyFrame = false;
        }
Esempio n. 24
0
 public override void Reset()
 {
     recordingPath = null;
     path          = null;
     enableDebug   = false;
     color         = new FsmColor {
         UseVariable = true
     };
     fullScreenMovieControlMode = new FsmEnum {
         UseVariable = true
     };
     fullScreenMovieScalingMode = new FsmEnum {
         UseVariable = true
     };
 }
        public override void Reset()
        {
            authenticationType = CustomAuthenticationType.Custom;
            userId             = new FsmString()
            {
                UseVariable = true
            };

            authPostData = new FsmString()
            {
                UseVariable = true
            };

            authParameterKeys   = null;
            authParameterValues = null;
        }
        public override void Reset()
        {
            gameObject    = null;
            exampleEnum   = ExEnum.Option2;
            fsmEnum       = null;
            variable      = new FsmVar();
            compareTos    = null;
            compareEvents = null;

            //"UseVariable" sets the field in the action to 'None' by default
            targetGameObject = new FsmGameObject()
            {
                UseVariable = true
            };
            normalStringArray = new FsmString[2];
            anyArrayResult    = null;
            result            = null;
        }
Esempio n. 27
0
        private void DoEnumSwitch()
        {
            GameObject go = Fsm.GetOwnerDefaultTarget(gameObject);

            if (go == null)
            {
                return;
            }

            // only get the fsm component if go has changed

            if (go != goLastFrame)
            {
                goLastFrame = go;
                fsm         = ActionHelpers.GetGameObjectFsm(go, fsmName.Value);
            }

            if (fsm == null)
            {
                return;
            }

            enumVariable = fsm.FsmVariables.GetFsmEnum(variableName.Value);

            if (enumVariable == null)
            {
                return;
            }

            if (enumVariable.IsNone)
            {
                return;
            }

            for (int i = 0; i < compareTo.Length; i++)
            {
                if (Equals(enumVariable.Value, compareTo[i].Value))
                {
                    Fsm.Event(sendEvent[i]);
                    return;
                }
            }
        }
Esempio n. 28
0
 public override void Reset()
 {
     sceneReference         = GetSceneActionBase.SceneSimpleReferenceOptions.SceneAtIndex;
     sceneByName            = null;
     sceneAtIndex           = null;
     loadSceneMode          = null;
     aSyncOperationHashCode = null;
     allowSceneActivation   = null;
     operationPriority      = new FsmInt
     {
         UseVariable = true
     };
     pendingActivation      = null;
     pendingActivationEvent = null;
     isDone             = null;
     progress           = null;
     doneEvent          = null;
     sceneNotFoundEvent = null;
 }
        public override void Reset()
        {
            productId = null;
            amount    = 0.99f;
            currency  = "USD";

            receiptPurchaseData = new FsmString()
            {
                UseVariable = true
            };
            signature = new FsmString()
            {
                UseVariable = true
            };

            result  = AnalyticsResult.AnalyticsDisabled;
            success = null;
            failure = null;
        }
Esempio n. 30
0
 public FsmFunctionCall(AssetNameResolver namer, AssetTypeValueField field)
 {
     FunctionName        = field.Get("FunctionName").GetValue().AsString();
     parameterType       = field.Get("parameterType").GetValue().AsString();
     BoolParameter       = new FsmBool(namer, field.Get("BoolParameter"));
     FloatParameter      = new FsmFloat(namer, field.Get("FloatParameter"));
     IntParameter        = new FsmInt(namer, field.Get("IntParameter"));
     GameObjectParameter = new FsmGameObject(namer, field.Get("GameObjectParameter"));
     ObjectParameter     = new FsmObject(namer, field.Get("ObjectParameter"));
     StringParameter     = new FsmString(namer, field.Get("StringParameter"));
     Vector2Parameter    = new FsmVector2(namer, field.Get("Vector2Parameter"));
     Vector3Parameter    = new FsmVector3(namer, field.Get("Vector3Parameter"));
     RectParamater       = new FsmRect(namer, field.Get("RectParamater"));
     QuaternionParameter = new FsmQuaternion(namer, field.Get("QuaternionParameter"));
     MaterialParameter   = new FsmObject(namer, field.Get("MaterialParameter"));
     TextureParameter    = new FsmObject(namer, field.Get("TextureParameter"));
     ColorParameter      = new FsmColor(namer, field.Get("ColorParameter"));
     EnumParameter       = new FsmEnum(namer, field.Get("EnumParameter"));
     ArrayParameter      = new FsmArray(namer, field.Get("ArrayParameter"));
 }
Esempio n. 31
0
 public override void Reset()
 {
     fingerIndex       = null;
     startPosition     = null;
     position          = null;
     deltaPosition     = null;
     deltaPositionX    = null;
     deltaPositionY    = null;
     actionTime        = null;
     deltaTime         = null;
     pickedGameObject  = null;
     pickedUIElement   = null;
     touchCount        = null;
     swipe             = null;
     swipeVector       = null;
     deltaPinch        = null;
     twistAngle        = null;
     twoFingerDistance = null;
     isOverGUI         = null;
 }
Esempio n. 32
0
 public override void Reset()
 {
     gameObject      = null;
     pointGameObject = null;
     point           = new FsmVector3 {
         UseVariable = true
     };
     space        = Space.World;
     threshold    = 0.7f;
     side         = null;
     sideAsString = null;
     frontEvent   = null;
     backEvent    = null;
     topEvent     = null;
     bottomEvent  = null;
     leftEvent    = null;
     rightEvent   = null;
     unknownEvent = null;
     everyFrame   = false;
 }
Esempio n. 33
0
 public FsmProperty(AssetNameResolver namer, AssetTypeValueField field)
 {
     TargetObject        = new FsmObject(namer, field.Get("TargetObject"));
     TargetTypeName      = field.Get("TargetTypeName").GetValue().AsString();
     PropertyName        = field.Get("PropertyName").GetValue().AsString();
     BoolParameter       = new FsmBool(namer, field.Get("BoolParameter"));
     FloatParameter      = new FsmFloat(namer, field.Get("FloatParameter"));
     IntParameter        = new FsmInt(namer, field.Get("IntParameter"));
     GameObjectParameter = new FsmGameObject(namer, field.Get("GameObjectParameter"));
     ObjectParameter     = new FsmObject(namer, field.Get("ObjectParameter"));
     StringParameter     = new FsmString(namer, field.Get("StringParameter"));
     Vector2Parameter    = new FsmVector2(namer, field.Get("Vector2Parameter"));
     Vector3Parameter    = new FsmVector3(namer, field.Get("Vector3Parameter"));
     RectParamater       = new FsmRect(namer, field.Get("RectParamater"));
     QuaternionParameter = new FsmQuaternion(namer, field.Get("QuaternionParameter"));
     MaterialParameter   = new FsmObject(namer, field.Get("MaterialParameter"));
     TextureParameter    = new FsmObject(namer, field.Get("TextureParameter"));
     ColorParameter      = new FsmColor(namer, field.Get("ColorParameter"));
     EnumParameter       = new FsmEnum(namer, field.Get("EnumParameter"));
     ArrayParameter      = new FsmArray(namer, field.Get("ArrayParameter"));
     setProperty         = field.Get("setProperty").GetValue().AsBool();
 }
Esempio n. 34
0
 public override void Reset()
 {
     gameObject = null;
     fsmName = "";
     setValue = null;
 }
Esempio n. 35
0
 public override void Reset()
 {
     gameObject = null;
     bone = HumanBodyBones.Hips;
     boneGameObject = null;
 }
Esempio n. 36
0
 public override void Reset()
 {
     enumVariable = null;
     enumValue = null;
     everyFrame = false;
 }
Esempio n. 37
0
        public override void Reset()
        {
            base.Reset();

            gameObject = null;

            iKGoal = null;

            goal = null;
            position = null;
            rotation = null;
            positionWeight = null;
            rotationWeight = null;
        }
		public override void Reset()
		{
			logLevel = LogLevel.Info;
			enumVariable = null;
            base.Reset();
		}