static public void ApplyChangedDisplayedFrameSettings(SerializedHDRenderPipelineAsset serialized, Editor owner) { k_ExpandedState.SetExpandedAreas(Expandable.CameraFrameSettings | Expandable.BakedOrCustomProbeFrameSettings | Expandable.RealtimeProbeFrameSettings, false); switch (selectedFrameSettings) { case SelectedFrameSettings.Camera: k_ExpandedState.SetExpandedAreas(Expandable.CameraFrameSettings, true); break; case SelectedFrameSettings.BakedOrCustomReflection: k_ExpandedState.SetExpandedAreas(Expandable.BakedOrCustomProbeFrameSettings, true); break; case SelectedFrameSettings.RealtimeReflection: k_ExpandedState.SetExpandedAreas(Expandable.RealtimeProbeFrameSettings, true); break; } }
static public void Init(SerializedHDRenderPipelineAsset serialized, Editor owner) { k_ExpandedState.CollapseAll(); switch (selectedFrameSettings) { case SelectedFrameSettings.Camera: k_ExpandedState.SetExpandedAreas(Expandable.CameraFrameSettings, true); break; case SelectedFrameSettings.BakedOrCustomReflection: k_ExpandedState.SetExpandedAreas(Expandable.BakedOrCustomProbeFrameSettings, true); break; case SelectedFrameSettings.RealtimeReflection: k_ExpandedState.SetExpandedAreas(Expandable.RealtimeProbeFrameSettings, true); break; } }