public bool SupportsProcedural()
{
bool flag = AnimationUtility.CurveSupportsProcedural(this.maxCurve.animationCurveValue);
if ((this.state != MinMaxCurveState.k_TwoCurves) && (this.state != MinMaxCurveState.k_TwoScalars))
{
return flag;
}
return (flag && AnimationUtility.CurveSupportsProcedural(this.minCurve.animationCurveValue));
}
override public void UpdateCullingSupportedString(ref string text) { Init(); string failureReason = string.Empty; if (!m_X.SupportsProcedural(ref failureReason)) { text += "\nForce over Lifetime module curve X: " + failureReason; } failureReason = string.Empty; if (!m_Y.SupportsProcedural(ref failureReason)) { text += "\nForce over Lifetime module curve Y: " + failureReason; } failureReason = string.Empty; if (!m_Z.SupportsProcedural(ref failureReason)) { text += "\nForce over Lifetime module curve Z: " + failureReason; } if (m_RandomizePerFrame.boolValue) { text += "\nRandomize is enabled in the Force over Lifetime module."; } }