コード例 #1
0
 public void CopyTo(AnimationParamSerialiazable copyTo)
 {
     copyTo.keyName      = keyName;
     copyTo.indexOfLayer = indexOfLayer;
     copyTo.nameHash     = nameHash;
     copyTo.type         = type;
     copyTo.boolValue    = boolValue;
     copyTo.intValue     = intValue;
     copyTo.floatValue   = floatValue;
     copyTo.triggerValue = triggerValue;
 }
コード例 #2
0
 private static bool AreEqualFloat(AnimationParamSerialiazable original, TransitionCondition checkWith)
 {
     return(DictOfComparisonTypes[checkWith.comparisonType].Invoke(original.floatValue, checkWith.parameter.floatValue));
 }
コード例 #3
0
 private static bool AreEqualBool(AnimationParamSerialiazable original, TransitionCondition checkWith)
 {
     return(original.boolValue == checkWith.parameter.boolValue);
 }