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

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

        DragPlaceable();
    }