LMQT/Assets/TouchScript/Scripts/Debugging/GL/DebugHelper.cs
2024-12-10 09:03:45 +08:00

20 lines
329 B
C#

/*
* @author Valentin Simonov / http://va.lent.in/
*/
#if TOUCHSCRIPT_DEBUG
using UnityEngine;
namespace TouchScript.Debugging.GL
{
public static class DebugHelper
{
public static int GetDebugId(Object obj)
{
return int.MinValue + (obj.GetInstanceID() << 10);
}
}
}
#endif