TryGetLightingSettings(out LightingSettings)
Fetches the Lighting Settings for the current Scene. Will return false if it is null.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
TryGetLightingSettings(LightingSettings)
public static bool TryGetLightingSettings(out LightingSettings settings)
Parameters
Returns
Type | Description |
|---|---|
| bool | Returns true if there is an object, and false if it isn't. |
Remarks
Useful if you don't want an exception to be thrown if lightingSettings is null.