Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Code template for VS Community 2019

Discussion in 'Code Editors & IDEs' started by Tom-Kazansky, May 26, 2022.

  1. Tom-Kazansky


    Mar 9, 2015
    I'm using Unity 2020.3.33f1, I want to change "new monobehaviour class" code template inside Visual Studio Community 2019, but I have not found where that template file is.

    the path "Unity\Editor\Data\Resources\ScriptTemplates" only work for scripts that are created in Unity (right click \ Create \ C# Script)

    from Visual Studio Community 2019, I check path in "Tools \ Options \ Projects and Solutions \ Locations " and go to "<user documents>\Visual Studio 2019\Templates\ItemTemplates" but this folder is empty

    anyone know how I can change the code template?
    thank you for reading.