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


C# BehaviourMachine.GameObjectVar类代码示例

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


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

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

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

示例3: Reset

 public override void Reset () {
     objectToRotate = new ConcreteGameObjectVar(this.self);
     objectToLookAt = new ConcreteGameObjectVar(this.self);
     worldUp = new ConcreteVector3Var();
     speed = 120f;
     onlyRotateInYAxis = new ConcreteBoolVar();
 }
开发者ID:xclouder,项目名称:godbattle,代码行数:7,代码来源:LookAtSmooth.cs

示例4: Reset

		public override void Reset () {
			gameObject = new ConcreteGameObjectVar(this.self);
			center = Vector3.zero;
			radius = 1f;
			color = Color.white * .5f;
			sphereType = SphereType.Wired;
		}
开发者ID:xclouder,项目名称:godbattle,代码行数:7,代码来源:GizmoDrawSphere.cs

示例5: Reset

		public override void Reset () {
			gameObject = new ConcreteGameObjectVar(this.self);
			center = Vector3.zero;
			size = new Vector3(1f, 1f, 1f);
			color = Color.white * .5f;
			cubeType = CubeType.Wired;
		}
开发者ID:xclouder,项目名称:godbattle,代码行数:7,代码来源:GizmoDrawCube.cs

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

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

示例8: Reset

 public override void Reset () {
     gameObject = new ConcreteGameObjectVar(this.self);
     animationName = new ConcreteStringVar();
     fadeLength = .3f;
     queue = QueueMode.CompleteOthers;
     playMode = PlayMode.StopSameLayer;
 }
开发者ID:xclouder,项目名称:godbattle,代码行数:7,代码来源:CrossFadeQueuedAnimation.cs

示例9: Reset

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

示例10: Reset

 public override void Reset () {
     gameObject = new ConcreteGameObjectVar(this.self);
     localDirection = new ConcreteVector3Var();
     localX = new ConcreteFloatVar();
     localY = new ConcreteFloatVar();
     localZ = new ConcreteFloatVar();
     storeWorldDirection = new ConcreteVector3Var();
 }
开发者ID:xclouder,项目名称:godbattle,代码行数:8,代码来源:TransformDirection.cs

示例11: Reset

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

示例12: Reset

 public override void Reset () {
     objectToMove = new ConcreteGameObjectVar(this.self);
     targetPosition = new ConcreteGameObjectVar(this.self);
     speed = 1f;
     ignoreXAxis = new ConcreteBoolVar();
     ignoreYAxis = new ConcreteBoolVar();
     ignoreZAxis = new ConcreteBoolVar();
 }
开发者ID:xclouder,项目名称:godbattle,代码行数:8,代码来源:MoveTowards.cs

示例13: Reset

 public override void Reset () {
     startPoint = new ConcreteGameObjectVar(this.self);
     endPoint = new ConcreteGameObjectVar(this.self);
     layers = 0;
     storeGameObject = new ConcreteGameObjectVar();
     storeFraction = new ConcreteFloatVar();
     storePoint = new ConcreteVector3Var();
 }
开发者ID:xclouder,项目名称:godbattle,代码行数:8,代码来源:LinecastAll2D.cs

示例14: Reset

 public override void Reset () {
     gameObject = new ConcreteGameObjectVar(this.self);
     storePosition = new ConcreteVector3Var();
     storeX = new ConcreteFloatVar();
     storeY = new ConcreteFloatVar();
     storeZ = new ConcreteFloatVar();
     relativeTo = Space.Self;
 }
开发者ID:xclouder,项目名称:godbattle,代码行数:8,代码来源:GetPosition.cs

示例15: Reset

 public override void Reset () {
     gameObject = new ConcreteGameObjectVar(this.self);
     newDirection = new ConcreteVector3Var();
     upDirection = new ConcreteVector3Var();
     minSqrMagnitude = 0.1f;
     angularVelocity = 6f;
     ignoreYAxis = true;
 }
开发者ID:xclouder,项目名称:godbattle,代码行数:8,代码来源:SetDirectionSmooth.cs


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