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