本文整理汇总了C#中FsmColor类的典型用法代码示例。如果您正苦于以下问题:C# FsmColor类的具体用法?C# FsmColor怎么用?C# FsmColor使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
FsmColor类属于命名空间,在下文中一共展示了FsmColor类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: 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;
}
}
示例2: Reset
public override void Reset()
{
colors = new FsmColor[3];
sampleAt = 0;
storeColor = null;
everyFrame = false;
}
示例3: Reset
public override void Reset()
{
colors = new FsmColor[3];
time = 1.0f;
storeColor = null;
finishEvent = null;
realTime = false;
}
示例4: Reset
public override void Reset()
{
base.Reset();
colorVariable = new FsmColor{UseVariable=true};
toValue = new FsmColor{UseVariable=true};
fromValue = new FsmColor{UseVariable=true};
}
示例5: Reset
public override void Reset()
{
this.substanceMaterial = null;
this.colorProperty = string.Empty;
this.colorValue = Color.white;
this.everyFrame = false;
}
示例6: Reset
public override void Reset()
{
substanceMaterial = null;
colorProperty = "";
colorValue = Color.white;
everyFrame = false;
}
示例7: Reset
public override void Reset()
{
normalColor = null;
resetOnExit = false;
everyFrame = false;
enabled = true;
}
示例8: Reset
public override void Reset()
{
gameObject = null;
color = null;
everyFrame =false;
}
示例9: Reset
public override void Reset (){
base.Reset();
colorVariable = null;
fromValue = null;
toValue = null;
finishInNextStep = false;
}
示例10: Reset
public override void Reset()
{
gameObject = null;
selectionColor = null;
resetOnExit = null;
everyFrame = false;
}
示例11: Reset
public override void Reset()
{
fromObject = new FsmGameObject { UseVariable = true} ;
fromPosition = new FsmVector3 { UseVariable = true};
direction = new FsmVector3 { UseVariable = true};
color = Color.white;
}
示例12: Reset
public override void Reset()
{
NGUIGameObject = null;
text = null;
color = null;
duration = 0f;
}
示例13: DrawPath
void DrawPath(NavMeshPath path) {
if (path.corners.Length < 2)
return;
switch (path.status) {
case NavMeshPathStatus.PathComplete:
c = Color.white;
break;
case NavMeshPathStatus.PathInvalid:
c = Color.red;
break;
case NavMeshPathStatus.PathPartial:
c = Color.yellow;
break;
}
Vector3 previousCorner = path.corners[0];
int i = 1;
while (i < path.corners.Length) {
Vector3 currentCorner = path.corners[i];
Debug.DrawLine(previousCorner, currentCorner, c);
previousCorner = currentCorner;
i++;
}
}
示例14: Reset
public override void Reset()
{
color = null;
colorString = null;
everyFrame = false;
}
示例15: Reset
public override void Reset()
{
boolVariable = null;
colorVariable = null;
falseColor = Color.black;
trueColor = Color.white;
everyFrame = false;
}