Skip to content

QOL features and new script creation workflow

Choose a tag to compare

@MerlinVR MerlinVR released this 16 Mar 06:46
· 1243 commits to master since this release

All changes from 1208725

  • Add settings menu
  • #5: Add configurable script template to the settings menu. This uses a TextAsset in the project as the source of the template code for newly created U# scripts. Put the string <TemplateClassName> where you want the class name to be inserted in the template.
  • More detailed error messages on failed compiles; now give file path and line number
  • Make variable names nicer in some places for error messages
  • Add a custom UdonSharpBehaviour editor that warns the user when they are using a U# script directly and gives them the option to automatically convert it to an UdonBehaviour with the script reference setup
  • Add Right click context menu U# script creation which creates a script and script asset
  • Add an error when no base behaviour for an UdonSharpBehaviour is specified and tell the user to inherit from UdonSharpBehaviour
  • Remove the [AddComponentMenu("")] from the default template since the inspector will now warn people when they use the normal script.