using UnityEditor;
using UnityEngine;
public class Build
{
static void WebGLProductionBuild()
{
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| USAGE=$(cat <<-EOM | |
| Usage: ${0##*/} [PATCHES_FOLDER] | |
| Applies all patches from provided folder. | |
| Example for Android: | |
| ${0##*/} patches-android |
Summary
Minimal reproducible example
Expected behavior
Actual behavior
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| _ |
Will prevent use of localStorage, sessionStorage
chrome://settings/content/siteData
Settings > Privacy and security > Site settings > Additional content settings > On-device site data > Don't allow sites to save data on your device
localStorage
Uncaught DOMException: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "singleQuote": true, | |
| "trailingComma": "all", | |
| "bracketSpacing": true | |
| } |
_
Add for(;;); on top of the file https://stackoverflow.com/questions/2669690/why-does-google-prepend-while1-to-their-json-responses/2669766#2669766