Version: 2023.1
言語: 日本語
public static bool isBuildingPlayer ;

説明

現在、プレイヤーをビルド中か。

This returns true during Player builds and AssetBundle builds.

It can be used to check the context inside script code that could be triggered during a build, for example when ExecuteAlways is being used on a MonoBehaviour.

See Also: BuildPipeline.BuildPlayer, BuildPipeline.BuildAssetBundles