Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question how can i disable input provider?

Discussion in 'Cinemachine' started by seoyeon222222, May 4, 2021.

  1. seoyeon222222

    seoyeon222222

    Joined:
    Nov 18, 2020
    Posts:
    149
    i'm using "cinemachine virtual camera" with "cinemachine Input Provider"
    (Add Extension)

    and binding XY Axis to new input system Input Action
    upload_2021-5-4_8-42-3.png

    It works well.

    However, the problem is as follows.

    If i disabled "Player"(binding input action) in script, cinemachine's aim still works.
    Even if i turn off(disable) the input provider component on inspector, it still affects.
    How vcam's aim still works?
    I want to temporarily prevent input that affects the cinemachine aim.

    What is the appropriate way?
     
  2. gaborkb

    gaborkb

    Unity Technologies

    Joined:
    Nov 7, 2019
    Posts:
    856
    What's your Cinemachine version?
     
  3. seoyeon222222

    seoyeon222222

    Joined:
    Nov 18, 2020
    Posts:
    149
    Unity : 2020.3.5f1 / URP / cinemachine 2.6.3
    I updated 2.6.4 but it was still the same problem.)
     
  4. gaborkb

    gaborkb

    Unity Technologies

    Joined:
    Nov 7, 2019
    Posts:
    856
    I believe, this bug was fixed after 2.6.4.
     
  5. seoyeon222222

    seoyeon222222

    Joined:
    Nov 18, 2020
    Posts:
    149
    Was this a known issue?
    As far as I know, the latest version of verified is 2.6.4.

    It hasn't been officially released yet, but is it resolved in the preview version?
     
  6. gaborkb

    gaborkb

    Unity Technologies

    Joined:
    Nov 7, 2019
    Posts:
    856
    Yes, it is fixed in 2.7.3, which is preview currently.
     
    seoyeon222222 likes this.
  7. stickylab

    stickylab

    Joined:
    Mar 16, 2016
    Posts:
    88
    can u gimme example how to disable the inputs by other script ,