Hello! How to set parameters on screen “Memory.png” programmatically ?
Is it proper (?):
PlayerSettings.SetPropertyString(“emscriptenArgs”, “-s TOTAL_MEMORY=256”, BuildTargetGroup.WebGL);
TOTAL_MEMORY in MB or bytes ? What about other parameters such as ASSERTIONS
Is it proper (?):
PlayerSettings.SetPropertyString(“emscriptenArgs”, “-s ASSERTIONS=1”, BuildTargetGroup.WebGL);
Can anybody post a link to documents to rules of setting parameters?
Here you can check all available settings.
yes it is.
bytes.
Use this instead:
PlayerSettings.SetPropertyInt("memorySize", 256, BuildTargetGroup.WebGL);
Setting the emscripten argument will have no effect, as the number is overridden in the html.