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

			copyType = ArrayTransferType.Copy;
			pasteType = ArrayPasteType.AsLastItem;
		}
Exemplo n.º 4
0
 public override void Reset()
 {
     isGrabbable           = false;
     holdButtonToGrab      = false;
     stayGrabbedOnTeleport = false;
     grabOverrideButton    = null;
     allowedGrabController = null;
     validDrop             = null;
     gameObject            = null;
     everyFrame            = false;
 }
Exemplo n.º 5
0
        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;
        }
Exemplo 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;
 }
Exemplo n.º 9
0
        public override void Reset()
        {
            gameObject      = null;
            defaultRotation = new FsmVector3 {
                UseVariable = true
            };

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

            everyFrame = false;
        }
Exemplo 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;
        }
Exemplo 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
     };
 }
Exemplo n.º 14
0
        public override void Reset()
        {
            gameObject      = null;
            physicsMaterial = null;

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

            everyFrame = false;
        }
Exemplo 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();
        }
Exemplo n.º 16
0
        public override void Reset()
        {
            status = new FsmEnum()
            {
                ObjectType = typeof(ChatUserStatus)
            };
            statusAsInt = null;

            gotMessage = null;

            message = null;

            gotMessageEvent = null;
        }
Exemplo 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;
 }
Exemplo n.º 18
0
        public override void Reset()
        {
            base.Reset();

            gameObject = null;

            iKGoal = null;

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

            boundingVolume3d = null;

            boundingVolume2d = null;

            confineScreenEdges = null;
            damping            = null;

            everyFrame = false;
        }
Exemplo 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;
        }
Exemplo 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;
        }
Exemplo 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;
        }
Exemplo 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;
                }
            }
        }
Exemplo 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;
        }
Exemplo 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"));
 }
Exemplo 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;
 }
Exemplo 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;
 }
Exemplo 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();
 }
Exemplo n.º 34
0
 public override void Reset()
 {
     gameObject = null;
     fsmName = "";
     setValue = null;
 }
Exemplo n.º 35
0
 public override void Reset()
 {
     gameObject = null;
     bone = HumanBodyBones.Hips;
     boneGameObject = null;
 }
Exemplo n.º 36
0
 public override void Reset()
 {
     enumVariable = null;
     enumValue = null;
     everyFrame = false;
 }
Exemplo n.º 37
0
        public override void Reset()
        {
            base.Reset();

            gameObject = null;

            iKGoal = null;

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