PO/Library/PackageCache/com.unity.2d.path@4.0.2/Editor/EditablePath/EditablePathUtility.cs

15 lines
255 B
C#
Raw Normal View History

2022-01-12 10:06:03 +03:00
using UnityEngine;
using UnityEditor;
namespace UnityEditor.U2D.Path
{
public class EditablePathUtility
{
public static int Mod(int x, int m)
{
int r = x % m;
return r < 0 ? r + m : r;
}
}
}