mirror of
https://gitgud.io/AbstractConcept/rimworld-animation-studio.git
synced 2024-08-15 00:43:27 +00: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;
|
|
}
|
|
}
|
|
}
|