Esempio n. 1
0
    private void Start()
    {
        if (_image.enabled)
        {
            itemInSlot = true;
        }

        followCursor = cursorObj.GetComponent <FollowCursor>();
    }
Esempio n. 2
0
    public void AddFollowCursorComponent()
    {
        if (this.followCursorComponent == null)
        {
            this.followCursorComponent = new FollowCursor(transform, layerMask);
        }

        DragPlaceable();
    }