diff --git a/Assets/MGS-PathAnimation/Scripts/Path.cs b/Assets/MGS-PathAnimation/Scripts/Path.cs index 84374e2..9cb5ae8 100644 --- a/Assets/MGS-PathAnimation/Scripts/Path.cs +++ b/Assets/MGS-PathAnimation/Scripts/Path.cs @@ -10,8 +10,8 @@ * Description : Initial development version. *************************************************************************/ -using Developer.AnimationCurveExtension; using System.Collections.Generic; +using Developer.AnimationCurveExtension; using UnityEngine; namespace Developer.PathAnimation @@ -112,7 +112,7 @@ public virtual void CreateCurve() if (isClose) { - //Add close key[the first key] + //Add close key(the first key). time += Vector3.Distance(anchors[anchors.Count - 1], anchors[0]); curve.AddKey(time, anchors[0]); } diff --git a/Assets/MGS-PathAnimation/Scripts/PathAnimation.cs b/Assets/MGS-PathAnimation/Scripts/PathAnimation.cs index e5139cc..f291563 100644 --- a/Assets/MGS-PathAnimation/Scripts/PathAnimation.cs +++ b/Assets/MGS-PathAnimation/Scripts/PathAnimation.cs @@ -9,7 +9,7 @@ * Date : 7/5/2017 * Description : Initial development version. *************************************************************************/ - + using UnityEngine; namespace Developer.PathAnimation