mirror of
https://github.com/Kizuren/SynthMaze.git
synced 2026-01-12 09:29:31 +01:00
14 lines
255 B
C#
14 lines
255 B
C#
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;
|
|
}
|
|
}
|
|
}
|