Пример #1
0
    // Update is called once per frame
    void Update()
    {
        _img.sprite = defaultCursor;

        if (playerPhotos.canPhotograph())
        {
            _img.sprite = canPhotographCursor;
        }

        transform.position = Mouse.current.position.ReadValue();
    }