本文整理汇总了C#中FsmVector2类的典型用法代码示例。如果您正苦于以下问题:C# FsmVector2类的具体用法?C# FsmVector2怎么用?C# FsmVector2使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
FsmVector2类属于命名空间,在下文中一共展示了FsmVector2类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Reset
public override void Reset()
{
vector2Variable = null;
addVector = new FsmVector2 { UseVariable = true };
everyFrame = false;
perSecond = false;
}
示例2: 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;
}
}
示例3: Reset
public override void Reset()
{
fromVector = new FsmVector2 { UseVariable = true };
toVector = new FsmVector2 { UseVariable = true };
storeResult = null;
everyFrame = true;
}
示例4: Reset
public override void Reset()
{
vector = null;
x = new FsmFloat { UseVariable = true };
y = new FsmFloat { UseVariable = true };
everyFrame = false;
}
示例5: Reset
public override void Reset()
{
vector2Variable = null;
storeX = null;
storeY = null;
everyFrame = false;
}
示例6: Reset
public override void Reset()
{
gameObject = null;
screen = null;
local = null;
everyFrame = false;
}
示例7: Reset
public override void Reset()
{
GameObject = null;
Component = null;
ScreenPosition = null;
SendEvent = null;
}
示例8: Reset
public override void Reset()
{
gameObject = null;
anchor = null;
anchorVector3 = new FsmVector3() {UseVariable=true};
everyFrame = false;
}
示例9: Reset
public override void Reset()
{
vector2 = null;
vector3 = null;
zValue = null;
everyFrame = false;
}
示例10: Reset
public override void Reset()
{
base.Reset();
wp = null;
to = null;
}
示例11: Reset
public override void Reset()
{
source = null;
format = "Vector2\\([x],[y]\\)";
storeResult = null;
everyFrame = false;
}
示例12: Reset
public override void Reset()
{
GameObject = null;
Component = null;
ScreenFlickVector = null;
SendEvent = null;
}
示例13: Reset
public override void Reset()
{
vector2 = null;
format = "Vector2([x],[y])";
floatConversion = "G";
storeResult = null;
everyFrame = false;
}
示例14: Reset
public override void Reset()
{
gameObject = null;
input = null;
angle = null;
inputAndAngle = null;
everyFrame = true;
}
示例15: Reset
public override void Reset()
{
text = "Hello World!";
color = null;
scoreFlashInstance = null;
worldPosition = null;
screenOffset = null;
}