文档

Unity Engine

Unity Engine

initialMemorySize

Initial size of the WASM heap memory in MB.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static int initialMemorySize { get; set; }

Remarks

The size in MB of heap memory that is availale for WebAssembly code (Recommended default: 32 MB). If the memory growth mode is set to none this is also the maximum size of available heap memory.