Firstborn/Library/PackageCache/com.unity.render-pipelines..../Editor/Camera/UniversalRenderPipelineCame...
Schaken-Mods 9092858a58 updated to the latest editor
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
2023-05-07 17:43:11 -05:00

29 lines
1.0 KiB
C#

using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.Rendering.Universal;
namespace UnityEditor.Rendering.Universal
{
using CED = CoreEditorDrawer<UniversalRenderPipelineSerializedCamera>;
static partial class UniversalRenderPipelineCameraUI
{
static readonly ExpandedState<Expandable, Camera> k_ExpandedStatePreset = new(0, "URP-preset");
public static readonly CED.IDrawer PresetInspector = CED.Group(
CED.Group((serialized, owner) =>
EditorGUILayout.HelpBox(CameraUI.Styles.unsupportedPresetPropertiesMessage, MessageType.Info)),
CED.Group((serialized, owner) => EditorGUILayout.Space()),
CED.FoldoutGroup(
CameraUI.Styles.projectionSettingsHeaderContent,
Expandable.Projection,
k_ExpandedStatePreset,
FoldoutOption.Indent,
CED.Group(
CameraUI.Drawer_Projection),
PhysicalCamera.Drawer),
Rendering.DrawerPreset
);
}
}