文档

Unity Engine

Unity Engine

maximumMemorySize

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

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static int maximumMemorySize { get; set; }

Remarks

The maximum size in MB of heap memory that is available for WebAssembly code (Recommended default: 2048 MB). A maximum memory size of 2048 MB means that the heap can only grow to 2048 MB.