Skip to content

Commit a734aa2

Browse files
committed
Fixed a typo: 50 elements, not 510
1 parent fbfdc70 commit a734aa2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Examples/RollingArrayExample.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public class RollingArrayExample : MonoBehaviour
1212
void Awake()
1313
{
1414
// Save the last 50 elements
15-
mousePositions = new RollingArray<Vector2>(510);
15+
mousePositions = new RollingArray<Vector2>(50);
1616

1717
// Cache a reference to the main camera
1818
mainCamera = Camera.main;

RollingArray/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public class RollingArrayExample : MonoBehaviour
1919
void Awake()
2020
{
2121
// Save the last 50 elements
22-
mousePositions = new RollingArray<Vector2>(510);
22+
mousePositions = new RollingArray<Vector2>(50);
2323

2424
// Cache a reference to the main camera
2525
mainCamera = Camera.main;

0 commit comments

Comments
 (0)