Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetStaticBatchingForPlatform(BuildTarget)

Returns true if static batching is enabled for the given BuildTarget.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
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.