Version: 2023.2

PlayerSettings.SetStaticBatchingForPlatform

切换到手册
public static void SetStaticBatchingForPlatform (BuildTarget platform, bool enable);

参数

platform BuildTarget to set static batching for.
enable Should static batching be enabled.

描述

Sets static batching for the given BuildTarget.