Version: 2023.2

PlayerSettings.GetStaticBatchingForPlatform

切换到手册
public static bool GetStaticBatchingForPlatform (BuildTarget platform);

参数

platform BuildTarget to check if static batching is enabled for.

返回

bool Is static batching enabled for the platform.

描述

Returns true if static batching is enabled for the given BuildTarget.