文档

Unity Engine

Unity Engine

memorySize

Memory size for WebGL builds in Megabyte.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Remarks

Size of the memory available for WebGL builds. This setting has been deprecated and does not have any effect on WebAssembly builds. For information on Unity WebGL memory, refer to Memory Considerations when targeting WebGL.