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


C# FsmVector3类代码示例

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


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

示例1: Reset

		public override void Reset()
		{
			fromVector = new FsmVector3 { UseVariable = true };
			toVector = new FsmVector3 { UseVariable = true };
			storeResult = null;
			everyFrame = true;
		}
开发者ID:nermakov777,项目名称:Unity_Tests,代码行数:7,代码来源:Vector3Lerp+1.cs

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

示例3: Reset

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

示例4: Reset

 public override void Reset()
 {
     EventID = new FsmString() { UseVariable = false };
     Currency = new FsmString() { UseVariable = false };
     Amount = new FsmInt() { UseVariable = false };
     Position = new FsmVector3() { UseVariable = true };
 }
开发者ID:jscott1989,项目名称:public-access-wars,代码行数:7,代码来源:SendBusinessEvent.cs

示例5: Reset

 public override void Reset()
 {
     base.Reset();
     this.id = new FsmString
     {
         UseVariable = true
     };
     this.time = 1f;
     this.delay = 0f;
     this.loopType = iTween.LoopType.none;
     this.vector = new FsmVector3
     {
         UseVariable = true
     };
     this.speed = new FsmFloat
     {
         UseVariable = true
     };
     this.space = Space.World;
     this.orientToPath = false;
     this.lookAtObject = new FsmGameObject
     {
         UseVariable = true
     };
     this.lookAtVector = new FsmVector3
     {
         UseVariable = true
     };
     this.lookTime = 0f;
     this.axis = iTweenFsmAction.AxisRestriction.none;
 }
开发者ID:GameDiffs,项目名称:TheForest,代码行数:31,代码来源:iTweenMoveBy.cs

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

示例7: Reset

		public override void Reset()
		{
			vector3Variable = null;
			addVector = new FsmVector3 { UseVariable = true };
			everyFrame = false;
			perSecond = false;
		}
开发者ID:AlexanderUrbano,项目名称:shapewars,代码行数:7,代码来源:Vector3Add.cs

示例8: Reset

 public override void Reset()
 {
     this.gameObject = null;
     this.space = Space.World;
     this.storePosition = null;
     this.everyFrame = false;
 }
开发者ID:GameDiffs,项目名称:TheForest,代码行数:7,代码来源:GetVertexPosition.cs

示例9: Reset

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

示例10: Reset

		public override void Reset()
		{
			gameObject = null;
			localDirection = null;
			storeResult = null;
			everyFrame = false;
		}
开发者ID:AlexanderUrbano,项目名称:shapewars,代码行数:7,代码来源:TransformDirection.cs

示例11: Reset

		public override void Reset()
		{
			gameObject = null;
			worldPosition = null;
			storeResult = null;
			everyFrame = false;
		}
开发者ID:nermakov777,项目名称:Unity_Tests,代码行数:7,代码来源:InverseTransformPoint.cs

示例12: Reset

 public override void Reset()
 {
     gameObject = null;
     speed = null;
     speedVector = null;
     space = Space.World;
 }
开发者ID:nothiphop,项目名称:PlayMakerCustomActions_U3,代码行数:7,代码来源:GetGameObjectSpeed.cs

示例13: Reset

		public override void Reset()
		{
			gameObject = null;
			space = Space.World;
			storePosition = null;
			everyFrame = false;
		}
开发者ID:DIGM680,项目名称:NarrativePlatformer,代码行数:7,代码来源:GetVertexPosition.cs

示例14: Reset

		public override void Reset()
		{
			gameObject = null;
			scale = null;
			
			everyframe = false;
		}
开发者ID:PushoN,项目名称:game-off-2013,代码行数:7,代码来源:Tk2dTextMeshGetScale.cs

示例15: Reset

 public override void Reset()
 {
     this.gameObject = null;
     this.localPosition = null;
     this.storeResult = null;
     this.everyFrame = false;
 }
开发者ID:GameDiffs,项目名称:TheForest,代码行数:7,代码来源:TransformPoint.cs


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