Create Script from Template

To create a new scripts from a template, simply click Assets->Create -> C# Script From Template and select the script you want:

As you can see there are a bunch of sample templates, that we have created for you, to get you started right away:

  • Class

  • Struct

  • Enum

  • MonoBehaviour

  • ScriptableObject

  • Editor

  • EditorWindow

You can of course modify or remove them if you want (see Chapter Add, Edit or Remove Templates).

Last updated