本文整理汇总了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;
}
示例2: Reset
public override void Reset()
{
fromObject = new FsmGameObject { UseVariable = true} ;
fromPosition = new FsmVector3 { UseVariable = true};
direction = new FsmVector3 { UseVariable = true};
color = Color.white;
}
示例3: Reset
public override void Reset()
{
gameObject = null;
anchor = null;
anchorVector3 = new FsmVector3() {UseVariable=true};
everyFrame = false;
}
示例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 };
}
示例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;
}
示例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;
}
}
示例7: Reset
public override void Reset()
{
vector3Variable = null;
addVector = new FsmVector3 { UseVariable = true };
everyFrame = false;
perSecond = false;
}
示例8: Reset
public override void Reset()
{
this.gameObject = null;
this.space = Space.World;
this.storePosition = null;
this.everyFrame = false;
}
示例9: Reset
public override void Reset()
{
gameObject = null;
pivotWeight = null;
pivotPosition = null;
everyFrame = false;
}
示例10: Reset
public override void Reset()
{
gameObject = null;
localDirection = null;
storeResult = null;
everyFrame = false;
}
示例11: Reset
public override void Reset()
{
gameObject = null;
worldPosition = null;
storeResult = null;
everyFrame = false;
}
示例12: Reset
public override void Reset()
{
gameObject = null;
speed = null;
speedVector = null;
space = Space.World;
}
示例13: Reset
public override void Reset()
{
gameObject = null;
space = Space.World;
storePosition = null;
everyFrame = false;
}
示例14: Reset
public override void Reset()
{
gameObject = null;
scale = null;
everyframe = false;
}
示例15: Reset
public override void Reset()
{
this.gameObject = null;
this.localPosition = null;
this.storeResult = null;
this.everyFrame = false;
}