• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# BehaviourMachine.GameObjectVar类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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


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


示例17: Reset

 public override void Reset () {
     base.Reset ();
     
     distance = Mathf.Infinity;
     layerMask = -1;
     storeGameObject = new ConcreteGameObjectVar();
     storePoint = new ConcreteVector3Var();
 }
开发者ID:xclouder,项目名称:godbattle,代码行数:8,代码来源:IsMouseOverAnyCollider.cs


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


示例19: Reset

 	public override void Reset () {
         gameObject = new ConcreteGameObjectVar(this.self);
         input = new ConcreteFloatVar();
         moveForce = new ConcreteFloatVar();
         maxSpeed = new ConcreteFloatVar();
         jump = new ConcreteBoolVar();
         jumpForce = 500f;
         flip = true;
     }
开发者ID:xclouder,项目名称:godbattle,代码行数:9,代码来源:Rigidbody2DController.cs


示例20: Reset

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



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Util.HttpProcessor类代码示例发布时间:2022-05-24
下一篇:
C# BehaviourMachine.FloatVar类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap