Skip to content

Commit

Permalink
Merge pull request #6 from Kitbashery/development
Browse files Browse the repository at this point in the history
Fix #5
  • Loading branch information
TolinSimpson authored Nov 17, 2022
2 parents 9f2bf54 + 3cc758f commit 0b75dbe
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Runtime/TweenTranslate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,9 @@ private void OnValidate()
UpdateGizmoPosition();
}

private void Awake()
{
myTransform = transform;
}

private void Start()
{
myTransform = transform;
initialPos = myTransform.position;
initialTarget = target;
nextPos = initialPos;
Expand Down Expand Up @@ -222,4 +218,4 @@ private void UpdateGizmoPosition()

#endregion
}
}
}

0 comments on commit 0b75dbe

Please sign in to comment.