We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea412b8 commit 2ac0711Copy full SHA for 2ac0711
Assets/FluidBehaviorTree/Editor/BehaviorTree/Printer/Graphics/ColorFader.cs
@@ -2,7 +2,7 @@
2
3
namespace CleverCrow.Fluid.BTs.Trees.Editors {
4
public class ColorFader {
5
- const float FADE_DURATION = 0.5f;
+ const float FADE_DURATION = 0.8f;
6
7
private float _fadeTime;
8
private readonly Color _startColor;
@@ -24,8 +24,8 @@ public void Update (bool reset) {
24
}
25
26
CurrentColor = Color.Lerp(
27
- _startColor,
28
- _endColor,
+ _startColor,
+ _endColor,
29
_fadeTime / FADE_DURATION);
30
31
0 commit comments