Search Unity

Dynamic hold duration ?

Discussion in 'Input System' started by zh4r0naX, Jul 8, 2019.

  1. zh4r0naX

    zh4r0naX

    Joined:
    Oct 30, 2016
    Posts:
    71
    Hello,

    how can i set the "hold duration" for an action dynamically ?

    I will have different weapons with different holdtimes before they are fully charged. How can i access them via script ?

    Thank you!
    Justin
     
    OFG likes this.
  2. OFG

    OFG

    Joined:
    Dec 6, 2017
    Posts:
    13
    I wonder this too. I cant find any exposed property for action interactions. You can only access their names.
    upload_2019-7-11_15-40-51.png
     
    Last edited: Jul 12, 2019