Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect and import files with a .rumor extension #68

Closed
exodrifter opened this issue Oct 18, 2018 · 1 comment
Closed

Detect and import files with a .rumor extension #68

exodrifter opened this issue Oct 18, 2018 · 1 comment

Comments

@exodrifter
Copy link
Owner

exodrifter commented Oct 18, 2018

Unity has an experimental feature called Scripted Importers that allows a program to load file extensions not natively supported.

This feature will allow a user to save rumor files in a custom extension (like .rumor) instead of .txt. This will also be useful for #50, #51, and #52, since syntax highlighting is often automatically enabled based on the file extension.

For now, this feature should just import any .rumor files into something similar to a TextAsset. In the future, it may be possible to do more complex things like precompile the script.

@exodrifter
Copy link
Owner Author

Completed in b404dd7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant