Skip to content

Commit

Permalink
chore: update unity version and the everything scene
Browse files Browse the repository at this point in the history
  • Loading branch information
Cammin committed Jul 28, 2024
1 parent dcb495c commit 560cea7
Show file tree
Hide file tree
Showing 5 changed files with 12,822 additions and 198,290 deletions.
4 changes: 4 additions & 0 deletions Assets/LDtkUnity/Samples~/Common/Scripts/ExampleMove.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ private void Awake()

private void Update()
{
#if UNITY_6000_0_OR_NEWER
_rb.linearVelocity = GetMove() * _moveSpeed;
#else
_rb.velocity = GetMove() * _moveSpeed;
#endif
}

private Vector2 GetMove()
Expand Down
Loading

0 comments on commit 560cea7

Please sign in to comment.