Version: 2022.3
言語: 日本語
public static bool TryGetLightingSettings (out LightingSettings settings);

パラメーター

settings See Lightmapping.lightingSettings.

戻り値

bool Returns true if there is an object, and false if it isn't.

説明

Fetches the Lighting Settings for the current Scene. Will return false if it is null.

Useful if you don't want an exception to be thrown if lightingSettings is null.