void GetPointer() { if (pointer != null) { return; } pointer = uTouchInjection.Manager.GetPointer(currentId); currentId++; }
void ReleasePointer() { if (pointer == null) { return; } pointer.Release(); pointer = null; currentId--; }