当前位置: 首页>>代码示例>>C#>>正文


C# FsmColor类代码示例

本文整理汇总了C#中FsmColor的典型用法代码示例。如果您正苦于以下问题:C# FsmColor类的具体用法?C# FsmColor怎么用?C# FsmColor使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


FsmColor类属于命名空间,在下文中一共展示了FsmColor类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: InitGDE

    protected override void InitGDE()
    {
        FsmVariables vars = PlayMakerGlobals.Instance.Variables;
        if (isGDEInitialized == null)
            isGDEInitialized = vars.GetVariable("gde_initialized") as FsmBool;

        if (isGDEInitialized != null && isGDEInitialized.Value == true)
        {
            single_bool = vars.GetVariable("single_bool") as FsmBool;
            single_custom_bool = vars.GetVariable("single_custom_bool") as FsmBool;

            single_float = vars.GetVariable("single_float") as FsmFloat;
            single_custom_float = vars.GetVariable("single_custom_float") as FsmFloat;

            single_int = vars.GetVariable("single_int") as FsmInt;
            single_custom_int = vars.GetVariable("single_custom_int") as FsmInt;

            single_string = vars.GetVariable("single_string") as FsmString;
            single_custom_string = vars.GetVariable("single_custom_string") as FsmString;
            single_custom = vars.GetVariable("single_custom") as FsmString;

            single_vec2 = vars.GetVariable("single_vector2") as FsmVector2;
            single_custom_vec2 = vars.GetVariable("single_custom_vector2") as FsmVector2;

            single_vec3 = vars.GetVariable("single_vector3") as FsmVector3;
            single_custom_vec3 = vars.GetVariable("single_custom_vector3") as FsmVector3;

            single_color = vars.GetVariable("single_color") as FsmColor;
            single_custom_color = vars.GetVariable("single_custom_color") as FsmColor;
        }
    }
开发者ID:wang-yichun,项目名称:Sadyrinth,代码行数:31,代码来源:SetDataPlaymaker.cs

示例2: Reset

		public override void Reset()
		{
			colors = new FsmColor[3];
			sampleAt = 0;
			storeColor = null;
			everyFrame = false;
		}
开发者ID:AlexanderUrbano,项目名称:shapewars,代码行数:7,代码来源:ColorRamp.cs

示例3: Reset

		public override void Reset()
		{
			colors = new FsmColor[3];
			time = 1.0f;
			storeColor = null;
			finishEvent = null;
			realTime = false;
		}
开发者ID:DIGM680,项目名称:NarrativePlatformer,代码行数:8,代码来源:ColorInterpolate.cs

示例4: Reset

		public override void Reset()
		{
			base.Reset();
			
			colorVariable = new FsmColor{UseVariable=true};
			toValue = new FsmColor{UseVariable=true};
			fromValue = new FsmColor{UseVariable=true};
		}
开发者ID:DIGM680,项目名称:NarrativePlatformer,代码行数:8,代码来源:CurveColor.cs

示例5: Reset

 public override void Reset()
 {
     this.substanceMaterial = null;
     this.colorProperty = string.Empty;
     this.colorValue = Color.white;
     this.everyFrame = false;
 }
开发者ID:GameDiffs,项目名称:TheForest,代码行数:7,代码来源:SetProceduralColor.cs

示例6: Reset

 public override void Reset()
 {
     substanceMaterial = null;
     colorProperty = "";
     colorValue = Color.white;
     everyFrame = false;
 }
开发者ID:sweety-apps,项目名称:1528Workspace,代码行数:7,代码来源:SetProceduralColor.cs

示例7: Reset

		public override void Reset()
		{
			normalColor = null;
			resetOnExit = false;
			everyFrame = false;
			enabled = true;
		}
开发者ID:OmegaDEVAU,项目名称:Simulator,代码行数:7,代码来源:uGuiSetButtonNormalColor.cs

示例8: Reset

		public override void Reset()
		{
			gameObject = null;
			color = null;
			everyFrame =false;
		
		}
开发者ID:SpacesAdventure,项目名称:Kio-2,代码行数:7,代码来源:SpriteColor.cs

示例9: Reset

		public override void Reset (){
			base.Reset();
			colorVariable = null;
			fromValue = null;
			toValue = null;
			finishInNextStep = false;
		}
开发者ID:nermakov777,项目名称:Unity_Tests,代码行数:7,代码来源:EaseColor.cs

示例10: Reset

		public override void Reset()
		{
			gameObject = null;
			selectionColor = null;
			resetOnExit = null;
			everyFrame = false;
		}
开发者ID:OmegaDEVAU,项目名称:Simulator,代码行数:7,代码来源:uGuiInputFieldSetSelectionColor.cs

示例11: Reset

		public override void Reset()
		{
			fromObject = new FsmGameObject { UseVariable = true} ;
			fromPosition = new FsmVector3 { UseVariable = true};
			direction = new FsmVector3 { UseVariable = true};
			color = Color.white;
		}
开发者ID:DIGM680,项目名称:NarrativePlatformer,代码行数:7,代码来源:DrawDebugRay.cs

示例12: Reset

 public override void Reset()
 {
     NGUIGameObject = null;
     text = null;
     color = null;
     duration = 0f;
 }
开发者ID:jgalvezpa,项目名称:playmakercustomactions,代码行数:7,代码来源:AddNGUIFloatingText.cs

示例13: DrawPath

		void DrawPath(NavMeshPath path) {
			if (path.corners.Length < 2)
				return;
			switch (path.status) {
			case NavMeshPathStatus.PathComplete:
					c = Color.white;
					break;
			case NavMeshPathStatus.PathInvalid:
					c = Color.red;
					break;
			case NavMeshPathStatus.PathPartial:
					c = Color.yellow;
					break;
			}
					
			Vector3 previousCorner = path.corners[0];
			
			int i = 1;
			while (i < path.corners.Length) {
				Vector3 currentCorner = path.corners[i];
				Debug.DrawLine(previousCorner, currentCorner, c);
				previousCorner = currentCorner;
				i++;
			}
	
	
	
		}
开发者ID:tchrisbaker,项目名称:Unity3DRPG,代码行数:28,代码来源:PathUtilsFSMAction.cs

示例14: Reset

		public override void Reset()
		{
			color = null;
			colorString = null;
			
			everyFrame = false;
		}
开发者ID:britg,项目名称:Try-Force,代码行数:7,代码来源:NguiTextEncodeColor.cs

示例15: Reset

 public override void Reset()
 {
     boolVariable = null;
     colorVariable = null;
     falseColor = Color.black;
     trueColor = Color.white;
     everyFrame = false;
 }
开发者ID:CodeStrumpet,项目名称:Elemental,代码行数:8,代码来源:ConvertBoolToColor.cs


注:本文中的FsmColor类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。