コード例 #1
0
 public override void Reset()
 {
     gameObject = null;
     material = null;
     materialIndex = 0;
     getSharedMaterial = false;
 }
コード例 #2
0
        private void DoSetFsmBool()
        {
            if (setValue == null)
            {
                return;
            }
            GameObject ownerDefaultTarget = base.Fsm.GetOwnerDefaultTarget(gameObject);

            if (ownerDefaultTarget == null)
            {
                return;
            }
            if (ownerDefaultTarget != goLastFrame || fsmName.Value != fsmNameLastFrame)
            {
                goLastFrame      = ownerDefaultTarget;
                fsmNameLastFrame = fsmName.Value;
                fsm = ActionHelpers.GetGameObjectFsm(ownerDefaultTarget, fsmName.Value);
            }
            if (fsm == null)
            {
                LogWarning("Could not find FSM: " + fsmName.Value);
                return;
            }
            FsmMaterial fsmMaterial = fsm.FsmVariables.GetFsmMaterial(variableName.Value);

            if (fsmMaterial != null)
            {
                fsmMaterial.Value = setValue.Value;
            }
            else
            {
                LogWarning("Could not find variable: " + variableName.Value);
            }
        }
コード例 #3
0
        public override void Reset()
        {
            gameObject = null;
            reference  = null;
            startIndex = null;
            endIndex   = null;

            loopEvent     = null;
            finishedEvent = null;

            failureEvent = null;

            getBoolData       = null;
            getIntData        = null;
            getFloatData      = null;
            getVector3Data    = null;
            getStringData     = null;
            getGameObjectData = null;
            getRectData       = null;
            getQuaternionData = null;
            getMaterialData   = null;
            getTextureData    = null;
            getColorData      = null;
            getObjectData     = null;
        }
コード例 #4
0
 public override void Reset()
 {
     this.substanceMaterial = null;
     this.colorProperty     = string.Empty;
     this.colorValue        = Color.white;
     this.everyFrame        = false;
 }
		public override void Reset()
		{

			webcamMaterial = null;
			useCustom = false;
			play = true;
			stop = false;
			pause = false;
			endTemp = false;
			webTextureHeight = null;
			webTextureWidth = null;
			setFps = 24;
			webcamTexture = null;
			takePicture = false;
			useCrop = false;
			offsetX = 0;
			offsetY = 0;
			cropSize = 0;
			textureFormat = Mode.RGB24;
			safeMode = true;
			autoAdjustRotation = true;
			device = 0;
			webcamName = null;
			useAspectRatio = true;
		
		}
コード例 #6
0
ファイル: GetMaterial.cs プロジェクト: ahvonenj/TheForest
 public override void Reset()
 {
     this.gameObject        = null;
     this.material          = null;
     this.materialIndex     = 0;
     this.getSharedMaterial = false;
 }
コード例 #7
0
 public override void Reset()
 {
     renderState.Value = SpatialMappingRenderer.RenderState.None;
     occlusionMaterial = null;
     visualMaterial    = null;
     freezeUpdates     = false;
 }
コード例 #8
0
 public override void Reset()
 {
     gameObject    = null;
     materialIndex = 0;
     material      = null;
     everyFrame    = false;
 }
コード例 #9
0
 public override void Reset()
 {
     this.substanceMaterial = null;
     this.colorProperty = string.Empty;
     this.colorValue = Color.white;
     this.everyFrame = false;
 }
コード例 #10
0
 public override void Reset()
 {
     CategoryName = "";
     Material     = null;
     HoverColor   = Color.white;
     ClickColor   = Color.white;
 }
コード例 #11
0
 public override void Reset()
 {
     substanceMaterial = null;
     floatProperty     = "";
     floatValue        = 0f;
     everyFrame        = false;
 }
コード例 #12
0
		public override void Reset()
		{
			substanceMaterial = null;
			floatProperty = "";
			floatValue = 0f;
			everyFrame = false;
		}
コード例 #13
0
 public override void Reset()
 {
     substanceMaterial = null;
     boolProperty      = "";
     boolValue         = false;
     everyFrame        = false;
 }
コード例 #14
0
    public override void AddTo(FsmVariables variables)
    {
        FsmMaterial v = new FsmMaterial(name);

        variables.MaterialVariables = variables.MaterialVariables.Concat(
            new FsmMaterial[] { v }).ToArray();
    }
コード例 #15
0
 public override void Reset()
 {
     substanceMaterial = null;
     vector3Property   = null;
     vector3Value      = null;
     everyFrame        = false;
 }
コード例 #16
0
 public override void Reset()
 {
     newMaterial   = null;
     setShader     = "Standard";
     shaderColor   = Color.black;
     shaderTexture = null;
 }
コード例 #17
0
ファイル: GetMaterial.cs プロジェクト: smdx24/CPI-Source-Code
 public override void Reset()
 {
     gameObject        = null;
     material          = null;
     materialIndex     = 0;
     getSharedMaterial = false;
 }
コード例 #18
0
 public override void Reset()
 {
     substanceMaterial = null;
     boolProperty = "";
     boolValue = false;
     everyFrame = false;
 }
コード例 #19
0
        private void DoSetFsmBool()
        {
            if (this.setValue == null)
            {
                return;
            }
            GameObject ownerDefaultTarget = base.Fsm.GetOwnerDefaultTarget(this.gameObject);

            if (ownerDefaultTarget == null)
            {
                return;
            }
            if (ownerDefaultTarget != this.goLastFrame)
            {
                this.goLastFrame = ownerDefaultTarget;
                this.fsm         = ActionHelpers.GetGameObjectFsm(ownerDefaultTarget, this.fsmName.Value);
            }
            if (this.fsm == null)
            {
                base.LogWarning("Could not find FSM: " + this.fsmName.Value);
                return;
            }
            FsmMaterial fsmMaterial = this.fsm.FsmVariables.GetFsmMaterial(this.variableName.Value);

            if (fsmMaterial != null)
            {
                fsmMaterial.Value = this.setValue.Value;
            }
            else
            {
                base.LogWarning("Could not find variable: " + this.variableName.Value);
            }
        }
コード例 #20
0
 public override void Reset()
 {
     this.substanceMaterial = null;
     this.floatProperty = string.Empty;
     this.floatValue = 0f;
     this.everyFrame = false;
 }
コード例 #21
0
        public override void Reset()
        {
            shader = "Diffuse";

            NewMaterial    = null;
            ShaderNotFound = null;
        }
コード例 #22
0
 public override void Reset()
 {
     substanceMaterial = null;
     colorProperty = "";
     colorValue = Color.white;
     everyFrame = false;
 }
コード例 #23
0
 public override void Reset()
 {
     substanceMaterial = null;
     colorProperty     = "";
     colorValue        = Color.white;
     everyFrame        = false;
 }
コード例 #24
0
 public override void Reset()
 {
     this.substanceMaterial = null;
     this.boolProperty      = string.Empty;
     this.boolValue         = false;
     this.everyFrame        = false;
 }
コード例 #25
0
 public override void Reset()
 {
     this.gameObject    = null;
     this.materialIndex = 0;
     this.material      = null;
     this.namedTexture  = "_MainTex";
     this.texture       = null;
 }
コード例 #26
0
 public override void Reset()
 {
     base.Reset();
     colorName        = PlugSetColor.ColorName._Color;
     material         = null;
     end              = null;
     ResetColorOnExit = false;
 }
コード例 #27
0
 public override void Reset()
 {
     gameObject    = null;
     materialIndex = 0;
     material      = null;
     keyword       = null;
     fail          = null;
 }
コード例 #28
0
 public override void Reset()
 {
     gameObject    = null;
     materialIndex = 0;
     material      = null;
     namedTexture  = "_MainTex";
     texture       = null;
 }
コード例 #29
0
 public override void Reset()
 {
     base.Reset();
     material = new FsmMaterial()
     {
         Value = TilemapUtils.FindDefaultSpriteMaterial()
     };
 }
コード例 #30
0
 public override void Reset()
 {
     gameObject = null;
     materialIndex = 0;
     material = null;
     keyword = null;
     fail = null;
 }
コード例 #31
0
		public override void Reset()
		{
			gameObject = null;
			fsmName = "";
			variableName = "";
			storeValue = null;
			everyFrame = false;
		}
コード例 #32
0
ファイル: SetFsmMaterial.cs プロジェクト: GameDiffs/TheForest
 public override void Reset()
 {
     this.gameObject = null;
     this.fsmName = string.Empty;
     this.variableName = string.Empty;
     this.setValue = null;
     this.everyFrame = false;
 }
コード例 #33
0
ファイル: SetMaterialTexture.cs プロジェクト: jegan27/Orbit
 public override void Reset()
 {
     gameObject = null;
     materialIndex = 0;
     material = null;
     namedTexture = "_MainTex";
     texture = null;
 }
コード例 #34
0
 public override void Reset()
 {
     gameObject   = null;
     fsmName      = "";
     variableName = "";
     storeValue   = null;
     everyFrame   = false;
 }
コード例 #35
0
 public override void Reset()
 {
     this.gameObject   = null;
     this.fsmName      = string.Empty;
     this.variableName = string.Empty;
     this.setValue     = null;
     this.everyFrame   = false;
 }
コード例 #36
0
 public override void Reset()
 {
     gameObject    = null;
     materialIndex = 0;
     material      = null;
     namedFloat    = "";
     floatValue    = 0f;
     everyFrame    = false;
 }
コード例 #37
0
 public override void Reset()
 {
     gameObject = null;
     materialIndex = 0;
     material = null;
     namedFloat = "";
     floatValue = 0f;
     everyFrame = false;
 }
コード例 #38
0
 public override void Reset()
 {
     gameObject    = null;
     materialIndex = 0;
     material      = null;
     namedColor    = "_Color";
     color         = null;
     fail          = null;
 }
コード例 #39
0
 public override void Reset()
 {
     materialVariable = null;
     compareTo        = null;
     storeResult      = null;
     equalEvent       = null;
     notEqualEvent    = null;
     everyFrame       = false;
 }
コード例 #40
0
 public override void Reset()
 {
     materialVariable = null;
     compareTo = null;
     storeResult = null;
     equalEvent = null;
     notEqualEvent = null;
     everyFrame = false;
 }
コード例 #41
0
		public override void Reset()
		{
			gameObject = null;
			materialIndex = 0;
			material = null;
			namedColor = "_Color";
			color = Color.black;
			everyFrame = false;
		}
コード例 #42
0
 public override void Reset()
 {
     gameObject = null;
     materialIndex = 0;
     material = null;
     namedColor = "_Color";
     color = null;
     fail = null;
 }
コード例 #43
0
 public override void Reset()
 {
     this.gameObject    = null;
     this.materialIndex = 0;
     this.material      = null;
     this.namedFloat    = string.Empty;
     this.floatValue    = 0f;
     this.everyFrame    = false;
 }
コード例 #44
0
 public override void Reset()
 {
     this.gameObject    = null;
     this.materialIndex = 0;
     this.material      = null;
     this.namedColor    = "_Color";
     this.color         = Color.black;
     this.everyFrame    = false;
 }
コード例 #45
0
        public override void Reset()
        {
            gameObject = null;
            materialIndex = 0;
            material = null;

            trimName = true;
            materialName = null;
            fail = null;
        }
コード例 #46
0
        public override void Reset()
        {
            gameObject = null;
            materialIndex = 0;
            material = null;
            namedVector4 = "";
            xValue = null;
            yValue = null;
            zValue = null;
            wValue = null;

            everyFrame = false;
        }
コード例 #47
0
		public override void Reset()
		{
			setGameObjectData = null;
			setIntData = null;
			setFloatData = null;
			setStringData = null;
			setBoolData = null;
			setVector3Data = null;
			setRectData = null;
			setQuaternionData = null;
			setColorData = null;
			setMaterialData = null;
			setTextureData = null;
			setObjectData = null;
		}
コード例 #48
0
ファイル: SetEventData.cs プロジェクト: hughrogers/RPGQuest
 public override void Reset()
 {
     setGameObjectData = new FsmGameObject{UseVariable = true};
     setIntData = new FsmInt { UseVariable = true };
     setFloatData = new FsmFloat { UseVariable = true };
     setStringData = new FsmString { UseVariable = true };
     setBoolData = new FsmBool { UseVariable = true };
     setVector2Data = new FsmVector2 { UseVariable = true };
     setVector3Data = new FsmVector3 { UseVariable = true };
     setRectData = new FsmRect { UseVariable = true };
     setQuaternionData = new FsmQuaternion { UseVariable = true };
     setColorData = new FsmColor { UseVariable = true };
     setMaterialData = new FsmMaterial { UseVariable = true };
     setTextureData = new FsmTexture { UseVariable = true };
     setObjectData = new FsmObject { UseVariable = true };
 }
コード例 #49
0
 public override void Reset()
 {
     webcamName = null;
     webcamMaterial = null;
 }
コード例 #50
0
		public override void Reset()
		{
			substanceMaterial = null;
			immediately = false;
			everyFrame = false;
		}
コード例 #51
0
        public override void Reset()
        {
            atIndex = null;
            gameObject = null;

            failureEvent = null;

            getBoolData = null;
            getIntData = null;
            getFloatData = null;
            getVector3Data = null;
            getStringData = null;
            getGameObjectData = null;
            getRectData = null;
            getQuaternionData = null;
            getMaterialData = null;
            getTextureData = null;
            getColorData = null;
            getObjectData = null;
        }
コード例 #52
0
ファイル: SetSkybox.cs プロジェクト: GameDiffs/TheForest
 public override void Reset()
 {
     this.skybox = null;
 }
コード例 #53
0
		public override void Reset()
		{
			skybox = null;
		}
コード例 #54
0
        public override void Reset()
        {
            gameObject = null;
            key = null;

            KeyFoundEvent = null;
            KeyNotFoundEvent = null;

            getBoolData = null;
            getIntData = null;
            getFloatData = null;
            getVector3Data = null;
            getStringData = null;
            getGameObjectData = null;
            getRectData = null;
            getQuaternionData = null;
            getMaterialData = null;
            getTextureData = null;
            getColorData = null;
            getObjectData = null;
        }
コード例 #55
0
 public override void Reset()
 {
     gameObject = null;
     material = null;
     materialIndex = 0;
 }
コード例 #56
0
        public override void Reset()
        {
            gameObject = null;
            reference = null;
            startIndex = null;
            endIndex = null;

            loopEvent = null;
            finishedEvent = null;

            failureEvent = null;

            getBoolData = null;
            getIntData = null;
            getFloatData = null;
            getVector3Data = null;
            getStringData = null;
            getGameObjectData = null;
            getRectData = null;
            getQuaternionData = null;
            getMaterialData = null;
            getTextureData = null;
            getColorData = null;
            getObjectData = null;
        }
コード例 #57
0
		public override void Reset()
		{
			materialVariable = null;
			objectVariable = null;
			everyFrame = false;
		}
コード例 #58
0
 public override void Reset()
 {
     base.Reset();
     StoreResult = null;
 }