文档

Unity Engine

Unity Engine

GetStaticBatchingForPlatform(BuildTarget)

Returns true if static batching is enabled for the given BuildTarget.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static bool GetStaticBatchingForPlatform(BuildTarget platform)

Parameters

platform

BuildTarget to check if static batching is enabled for.

Returns

Type

Description

boolIs static batching enabled for the platform.