We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99048e6 commit 663f468Copy full SHA for 663f468
1 file changed
Editor/Scripts/Node/AnimationClipPlayableNode.cs
@@ -1,13 +1,17 @@
1
using System.Text;
2
-using UnityEditor.UIElements;
3
using UnityEngine.Animations;
4
using UnityEngine.Playables;
+#if UNITY_2021_1_OR_NEWER
5
+using UnityEngine.UIElements;
6
+#else
7
+using UnityEditor.UIElements;
8
+#endif
9
10
namespace GBG.PlayableGraphMonitor.Editor.Node
11
{
12
public class AnimationClipPlayableNode : PlayableNode
13
- private ProgressBar _progressBar;
14
+ private readonly ProgressBar _progressBar;
15
16
17
public AnimationClipPlayableNode(Playable playable) : base(playable)
0 commit comments