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; }
private static bool AreEqualFloat(AnimationParamSerialiazable original, TransitionCondition checkWith) { return(DictOfComparisonTypes[checkWith.comparisonType].Invoke(original.floatValue, checkWith.parameter.floatValue)); }
private static bool AreEqualBool(AnimationParamSerialiazable original, TransitionCondition checkWith) { return(original.boolValue == checkWith.parameter.boolValue); }