本文整理汇总了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();
}
示例2: Reset
public override void Reset () {
base.Reset();
gameObject1 = new ConcreteGameObjectVar(this.self);
gameObject2 = new ConcreteGameObjectVar(this.self);
distance = new ConcreteFloatVar();
}
示例3: Reset
public override void Reset () {
objectToRotate = new ConcreteGameObjectVar(this.self);
objectToLookAt = new ConcreteGameObjectVar(this.self);
worldUp = new ConcreteVector3Var();
speed = 120f;
onlyRotateInYAxis = new ConcreteBoolVar();
}
示例4: Reset
public override void Reset () {
gameObject = new ConcreteGameObjectVar(this.self);
center = Vector3.zero;
radius = 1f;
color = Color.white * .5f;
sphereType = SphereType.Wired;
}
示例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;
}
示例6: Reset
public override void Reset () {
gameObject = new ConcreteGameObjectVar(this.self);
newVelocity = new ConcreteVector3Var();
x = new ConcreteFloatVar();
y = new ConcreteFloatVar();
z = new ConcreteFloatVar();
}
示例7: Reset
public override void Reset () {
explosionPoint = new ConcreteVector3Var();
explosionPosition = new ConcreteGameObjectVar(this.self);
explosionForce = new ConcreteFloatVar();
explosionRadius = new ConcreteFloatVar();
layers = -1;
}
示例8: Reset
public override void Reset () {
gameObject = new ConcreteGameObjectVar(this.self);
animationName = new ConcreteStringVar();
fadeLength = .3f;
queue = QueueMode.CompleteOthers;
playMode = PlayMode.StopSameLayer;
}
示例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;
}
示例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();
}
示例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;
}
示例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();
}
示例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();
}
示例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;
}
示例15: Reset
public override void Reset () {
gameObject = new ConcreteGameObjectVar(this.self);
newDirection = new ConcreteVector3Var();
upDirection = new ConcreteVector3Var();
minSqrMagnitude = 0.1f;
angularVelocity = 6f;
ignoreYAxis = true;
}