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


C# BehaviourMachine.FloatVar类代码示例

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


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

示例1: Reset

 public override void Reset () {
     variable = new ConcreteColorVar();
     newR = new ConcreteFloatVar();
     newG = new ConcreteFloatVar();
     newB = new ConcreteFloatVar();
     newA = new ConcreteFloatVar();
 }
开发者ID:xclouder,项目名称:godbattle,代码行数:7,代码来源:ColorSetRGBA.cs

示例2: Reset

		public override void Reset () {
			variable = new ConcreteColorVar();
			storeR = new ConcreteFloatVar();
			storeG = new ConcreteFloatVar();
			storeB = new ConcreteFloatVar();
			storeA = new ConcreteFloatVar();
		}
开发者ID:xclouder,项目名称:godbattle,代码行数:7,代码来源:ColorGetRGBA.cs

示例3: Reset

 public override void Reset () {
     explosionPoint = new ConcreteVector3Var();
     explosionPosition = new ConcreteGameObjectVar(this.self);
     explosionForce = new ConcreteFloatVar();
     explosionRadius = new ConcreteFloatVar();
     layers = -1;
 }
开发者ID:xclouder,项目名称:godbattle,代码行数:7,代码来源:ExplosionForce2D.cs

示例4: Reset

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

            a = new ConcreteFloatVar();
            b = new ConcreteFloatVar();
            tolerance = new ConcreteFloatVar();
        }
开发者ID:xclouder,项目名称:godbattle,代码行数:7,代码来源:IsFloatNotEqual.cs

示例5: Reset

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

            a = new ConcreteVector3Var();
            aComponent = Vector3Component.x;
            b = new ConcreteFloatVar();
        }
开发者ID:xclouder,项目名称:godbattle,代码行数:7,代码来源:IsVector3XYZGreater.cs

示例6: Reset

 public override void Reset () {
     position = new ConcreteVector3Var();
     x = new ConcreteFloatVar();
     y = new ConcreteFloatVar();
     z = new ConcreteFloatVar();
     worldPosition = new ConcreteVector3Var();
 }
开发者ID:xclouder,项目名称:godbattle,代码行数:7,代码来源:ScreenToWorldPoint.cs

示例7: Reset

 public override void Reset () {
     gameObject = new ConcreteGameObjectVar(this.self);
     newVelocity = new ConcreteVector3Var();
     x = new ConcreteFloatVar();
     y = new ConcreteFloatVar();
     z = new ConcreteFloatVar();
 }
开发者ID:xclouder,项目名称:godbattle,代码行数:7,代码来源:SetRigidbodyVelocity.cs

示例8: Reset

 public override void Reset () {
     variable = new ConcreteVector3Var();
     x = new ConcreteFloatVar();
     y = new ConcreteFloatVar();
     z = new ConcreteFloatVar();
     perSecond = false;
 }
开发者ID:xclouder,项目名称:godbattle,代码行数:7,代码来源:Vector3AddXYZ.cs

示例9: Reset

 public override void Reset () {
     color = Color.black;
     time = 2f;
     storeCurrentTime = new ConcreteFloatVar();
     onFinish = new ConcreteFsmEvent();
     guiReady = false;
 }
开发者ID:xclouder,项目名称:godbattle,代码行数:7,代码来源:CameraFadeIn.cs

示例10: Reset

		public override void Reset () {
			fog = new ConcreteBoolVar();
			fogColor = new ConcreteColorVar();
			fogDensity = new ConcreteFloatVar();
			linearFogStart = new ConcreteFloatVar();
			linearFogEnd = new ConcreteFloatVar();
		}
开发者ID:xclouder,项目名称:godbattle,代码行数:7,代码来源:SetFog.cs

示例11: Reset

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

            gameObject1 = new ConcreteGameObjectVar(this.self);
            gameObject2 = new ConcreteGameObjectVar(this.self);
            distance = new ConcreteFloatVar();
        }
开发者ID:xclouder,项目名称:godbattle,代码行数:7,代码来源:IsBeyondDistance.cs

示例12: Reset

 public override void Reset () {
     gameObject = new ConcreteGameObjectVar(this.self);
     newScale = new ConcreteVector3Var();
     newX = new ConcreteFloatVar();
     newY = new ConcreteFloatVar();
     newZ = new ConcreteFloatVar();
 }
开发者ID:xclouder,项目名称:godbattle,代码行数:7,代码来源:SetScale.cs

示例13: Reset

 public override void Reset () {
     multiplier = 1f;
     storeAcceleration = new ConcreteVector3Var();
     storeX = new ConcreteFloatVar();
     storeY = new ConcreteFloatVar();
     storeZ = new ConcreteFloatVar();
 }
开发者ID:xclouder,项目名称:godbattle,代码行数:7,代码来源:GetDeviceAcceleration.cs

示例14: Reset

 public override void Reset () {
     gameObject = new ConcreteGameObjectVar(this.self);
     aroundObject = new ConcreteGameObjectVar(this.self);
     aroundPoint = new ConcreteVector3Var();
     axis = new ConcreteVector3Var();
     angle = new ConcreteFloatVar();
     perSecond = true;
 }
开发者ID:xclouder,项目名称:godbattle,代码行数:8,代码来源:RotateAround.cs

示例15: Reset

 public override void Reset () {
     gameObject = new ConcreteGameObjectVar(this.self);
     newPosition = new ConcreteVector3Var();
     newX = new ConcreteFloatVar();
     newY = new ConcreteFloatVar();
     newZ = new ConcreteFloatVar();
     relativeTo = Space.World;
 }
开发者ID:xclouder,项目名称:godbattle,代码行数:8,代码来源:SetPosition.cs


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