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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Can you manually trigger an input action from a script?

Discussion in 'Input System' started by yulaw2k, Dec 6, 2022.

  1. yulaw2k

    yulaw2k

    Joined:
    Apr 25, 2014
    Posts:
    31
    I would like to make a script, where I am either using Odin, or Naughty Attributes [Button] on methods to call something like

    ClickYButton() or something like PullRightTriggerDown();

    That way I can test interactions without having to put on a Virtual reality headset.

    Anybody have an idea of how I can accomplish this?