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

How to have a specific scripts through new projects?

Discussion in 'Scripting' started by TheUninvited, Apr 28, 2020.

  1. TheUninvited

    TheUninvited

    Joined:
    Jun 22, 2018
    Posts:
    31
    In before you say you can make it a package and export and import i know but that's not what i want.

    What i want is let's say have a folder

    TheUninvited-Folder
    Dog.cs
    Cat.cs

    and then when i create a new project the TheUninvited- Folder should be inside.
     
  2. Hosnkobf

    Hosnkobf

    Joined:
    Aug 23, 2016
    Posts:
    1,078
    ... or you make a git submodule if you use git (but working with submodules is often very annoying and sometimes hard to manage)
    ... or you make a nu-get package
    ... or you just copy-paste the folder
    ... or you describe better what problem do you wanna solve.
     
    Noblauch likes this.
  3. TheUninvited

    TheUninvited

    Joined:
    Jun 22, 2018
    Posts:
    31
  4. TheUninvited

    TheUninvited

    Joined:
    Jun 22, 2018
    Posts:
    31
    i made a tutorial if anyone else is interested on the same thing:
     
    Joe-Censored likes this.
  5. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    Seems like more work than just importing your own package once in the life of your new project, but I guess it could help someone.
     
    TheUninvited likes this.
  6. TheUninvited

    TheUninvited

    Joined:
    Jun 22, 2018
    Posts:
    31
    it could , but now i have an even better idea and if i figure it out i would be really happy :D but lets see if it works i dont wanna jynx it xd
     
    Joe-Censored likes this.