Пример #1
0
    void GetPointer()
    {
        if (pointer_ != null)
        {
            return;
        }

        pointer_ = uTouchInjection.Manager.GetPointer(currentId);
        currentId++;
    }
Пример #2
0
    void ReleasePointer()
    {
        if (pointer_ == null)
        {
            return;
        }

        pointer_.Release();
        pointer_ = null;
        currentId--;
    }