Skip to content
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.

Feature Request: Customizable default script template #5

Closed
orels1 opened this issue Feb 18, 2020 · 3 comments
Closed

Feature Request: Customizable default script template #5

orels1 opened this issue Feb 18, 2020 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@orels1
Copy link

orels1 commented Feb 18, 2020

Due to possible differences in formatting for different people I think it would be nice to be able to pass a custom default script template or just have a special path where we can put one so it can be used by the UdonSharpProgramAsset instead of the hardcoded string.

It's pretty convinient to use the Create Script button in the UI instead of making one in the IDE, but currently i need to format the resulting document every time i make a new script.

@MerlinVR
Copy link
Owner

I can look at adding this when I add a settings menu in the next week or so. Where do you think would be a good place to store the custom template? Should it be something that the project has inside it as a text asset? Or maybe it should be something stored outside the project like packages in Unity can be handled?

@orels1
Copy link
Author

orels1 commented Feb 18, 2020

I think a TextAsset works just fine, so i can easily check it into version control

@MerlinVR MerlinVR added the enhancement New feature or request label Feb 18, 2020
@MerlinVR MerlinVR self-assigned this Feb 18, 2020
@MerlinVR
Copy link
Owner

Added in v0.10.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants