Framwork/Assets/TouchScript/Scripts/Debugging/GL/DebugHelper.cs

20 lines
329 B
C#
Raw Normal View History

2025-06-04 22:49:37 +08:00
/*
* @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