Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetStaticBatchingForPlatform(BuildTarget, bool)

Sets static batching for the given BuildTarget.
Read time 1 minuteLast updated 6 days ago

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.