← Return to Unity WebGL Template
Log in with itch.io to leave a comment.
Awesome stuff!Also, i would consider adding this (new?) feature for saving PlayerPrefs and files:
Add "autoSyncPersistentDataPath: true" to the config={}https://docs.unity3d.com/Manual/web-templates-build-configuration.html
Also, adding '-webkit-user-select: none; user-select: none;' to 'div#gameContainer canvas' is advised https://discussions.unity.com/t/odd-issue-with-focus-in-firefox/1651226/2
Thanks for the suggestions, this does seem like a better default. I've added it to the "2020.2 and higher" version.
← Return to Unity WebGL Template
Comments
Log in with itch.io to leave a comment.
Awesome stuff!
Also, i would consider adding this (new?) feature for saving PlayerPrefs and files:
Add "autoSyncPersistentDataPath: true" to the config={}
https://docs.unity3d.com/Manual/web-templates-build-configuration.html
Also, adding '-webkit-user-select: none; user-select: none;' to 'div#gameContainer canvas' is advised https://discussions.unity.com/t/odd-issue-with-focus-in-firefox/1651226/2
Thanks for the suggestions, this does seem like a better default. I've added it to the "2020.2 and higher" version.