From c7a6684e752ac635431cc1793341011109e02def Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ha=C3=AF=7E?= <60819407+hai-vr@users.noreply.github.com> Date: Sat, 12 Mar 2022 00:51:42 +0100 Subject: [PATCH] Fix Animates documentation was incorrect: - Fix Animates documentation used to describe animating the enabled property of a Component, which was not the case. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7dca04a..365d2a7 100644 --- a/README.md +++ b/README.md @@ -734,8 +734,8 @@ foreach (var cancelWhenNotAllowed in new[] {auto, reverse, manual, custom, done} - `AacFlSettingCurve Animates(string path, Type type, string propertyName)` /// Animates a path the traditional way. - `AacFlSettingCurve Animates(Transform transform, Type type, string propertyName)` /// Animates an object in the hierarchy relative to the animator root, the traditional way. - `AacFlSettingCurve Animates(GameObject gameObject)` /// Animates the active property of a GameObject, toggling it. -- `AacFlSettingCurve Animates(Component anyComponent, string property)` /// Animates the enabled property of a component, toggling it. The runtime type of the component will be used. -- `AacFlSettingCurve Animates(Component[] anyComponents, string property)` /// Animates the enabled property of several components, toggling them. The runtime type of the component will be used. // FIXME: Safety is not provived on nulls. It should probably be, for convenience. +- `AacFlSettingCurve Animates(Component anyComponent, string property)` /// Animates a property of a component. The runtime type of the component will be used. +- `AacFlSettingCurve Animates(Component[] anyComponents, string property)` /// Animates a property of several components. The runtime type of the component will be used. // FIXME: Safety is not provived on nulls. It should probably be, for convenience. - `AacFlSettingCurve AnimatesAnimator(AacFlParameter floatParameter)` /// Animates a Float parameter of the animator (may sometimes be referred to as an Animated Animator Parameter, or AAP). - `AacFlSettingCurveColor AnimatesColor(Component anyComponent, string property)` /// Animates a color property of a component. The runtime type of the component will be used. - `AacFlSettingCurveColor AnimatesColor(Component[] anyComponents, string property)` /// Animates a color property of several components. The runtime type of the component will be used. // FIXME: Safety is not provived on nulls. It should probably be, for convenience.