private void Awake() { Instance = this; SetProfiles(); if (blendAllSettings) { switchSkybox = useEnvLighting = useEnvReflection = useMixedLighting = useFog = useHalo = true; } }
private void OnEnable() { ll = (LightingLayer)target; labelWidth = EditorGUIUtility.labelWidth; }