Lightmapping.TryGetLightingSettings

Cambiar al Manual
public static bool TryGetLightingSettings (out LightingSettings settings);

Parámetros

settingsSee Lightmapping.lightingSettings.

Valor de retorno

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

Descripción

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.