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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Gitignore generated input scripts?

Discussion in 'Input System' started by The-Oddler, Jul 19, 2020.

  1. The-Oddler

    The-Oddler

    Joined:
    Nov 26, 2010
    Posts:
    133
    When using the new input system it can generate c# scripts for your input assets. I'm ignoring them in my .gitignore file, as they can just be re-generated later.

    Do you ignore these files too? Why, why not?
     
    Ofx360 likes this.
  2. FullMe7alJacke7

    FullMe7alJacke7

    Joined:
    Dec 17, 2013
    Posts:
    55
    I exclude it, I do that with any auto generated files.
    It just makes my life easier when I can click a button or type a command and know its right.
     
  3. Lurking-Ninja

    Lurking-Ninja

    Joined:
    Jan 20, 2015
    Posts:
    9,934
    I do not. I don't see the benefit doing that. Besides if I onboard a second team member onto my project I need to teach them all of these quirks in order to allow them to work. No need.