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


C# FsmVector2类代码示例

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


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

示例1: Reset

 public override void Reset()
 {
     vector2Variable = null;
     addVector = new FsmVector2 { UseVariable = true };
     everyFrame = false;
     perSecond = false;
 }
开发者ID:jeanfabre,项目名称:PlayMaker--Siggraph--2015--Demo,代码行数:7,代码来源:Vector2Add.cs

示例2: 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

示例3: Reset

 public override void Reset()
 {
     fromVector = new FsmVector2 { UseVariable = true };
     toVector = new FsmVector2 { UseVariable = true };
     storeResult = null;
     everyFrame = true;
 }
开发者ID:ChetahPangestu,项目名称:MajorProjectReveal,代码行数:7,代码来源:Vector2Lerp.cs

示例4: Reset

 public override void Reset()
 {
     vector = null;
     x = new FsmFloat { UseVariable = true };
     y = new FsmFloat { UseVariable = true };
     everyFrame = false;
 }
开发者ID:ETGgames,项目名称:PlayMakerCustomActions_U4,代码行数:7,代码来源:SetGravity2d.cs

示例5: Reset

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

示例6: Reset

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

示例7: Reset

 public override void Reset()
 {
     GameObject = null;
     Component = null;
     ScreenPosition = null;
     SendEvent = null;
 }
开发者ID:Jashengmato,项目名称:TouchScript,代码行数:7,代码来源:LongPressed.cs

示例8: Reset

		public override void Reset()
		{
			gameObject = null;
			anchor = null;
			anchorVector3 = new FsmVector3() {UseVariable=true};
			everyFrame = false;
		}
开发者ID:dunghn94,项目名称:PlayMakerCustomActions_U4,代码行数:7,代码来源:SetJoint2dAnchor.cs

示例9: Reset

 public override void Reset()
 {
     vector2 = null;
     vector3 = null;
     zValue = null;
     everyFrame = false;
 }
开发者ID:nothiphop,项目名称:PlayMakerCustomActions_U3,代码行数:7,代码来源:Vector3ToVector2.cs

示例10: Reset

        public override void Reset()
        {
            base.Reset();

            wp = null;
            to = null;
        }
开发者ID:ddionisio,项目名称:1GAM_01_Aries,代码行数:7,代码来源:WaypointGetCurrent.cs

示例11: Reset

 public override void Reset()
 {
     source = null;
     format = "Vector2\\([x],[y]\\)";
     storeResult = null;
     everyFrame = false;
 }
开发者ID:nothiphop,项目名称:PlayMakerCustomActions_U3,代码行数:7,代码来源:ConvertStringToVector2.cs

示例12: Reset

 public override void Reset()
 {
     GameObject = null;
     Component = null;
     ScreenFlickVector = null;
     SendEvent = null;
 }
开发者ID:Jashengmato,项目名称:TouchScript,代码行数:7,代码来源:Flicked.cs

示例13: Reset

 public override void Reset()
 {
     vector2 = null;
     format = "Vector2([x],[y])";
     floatConversion = "G";
     storeResult = null;
     everyFrame = false;
 }
开发者ID:nothiphop,项目名称:PlayMakerCustomActions_U3,代码行数:8,代码来源:ConvertVector2ToString.cs

示例14: Reset

		public override void Reset()
		{
			gameObject = null;
			input = null;
			angle = null;
			inputAndAngle = null;
			everyFrame = true;
		}
开发者ID:JulyMars,项目名称:frozen_free_fall,代码行数:8,代码来源:NguiGetJoystickInput.cs

示例15: Reset

 public override void Reset()
 {
     text = "Hello World!";
     color = null;
     scoreFlashInstance = null;
     worldPosition = null;
     screenOffset = null;
 }
开发者ID:gary600,项目名称:minimize,代码行数:8,代码来源:ScoreFlashPushWorld.cs


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