文档

Unity Engine

Unity Engine

SetStaticBatchingForPlatform(BuildTarget, bool)

Sets static batching for the given BuildTarget.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static void SetStaticBatchingForPlatform(BuildTarget platform, bool enable)

Parameters

platform

BuildTarget to set static batching for.

enable

Should static batching be enabled.