A game about forced loneliness, made by TACStudios
at master 24 lines 980 B view raw
1using UnityEngine; 2using UnityEngine.Rendering; 3 4namespace UnityEditor.Rendering.HighDefinition 5{ 6 class ProbeVolumeMenuItems 7 { 8 [MenuItem("GameObject/Light/Adaptive Probe Volume", priority = CoreUtils.Sections.section8)] 9 static void CreateProbeVolumeGameObject(MenuCommand menuCommand) 10 { 11 var parent = menuCommand.context as GameObject; 12 var probeVolume = CoreEditorUtils.CreateGameObject("Adaptive Probe Volume", parent); 13 probeVolume.AddComponent<ProbeVolume>(); 14 } 15 16 [MenuItem("GameObject/Light/Probe Adjustment Volume", priority = CoreUtils.Sections.section8 + 1)] 17 static void CreateProbeAdjustmentVolumeGameObject(MenuCommand menuCommand) 18 { 19 var parent = menuCommand.context as GameObject; 20 var probeVolume = CoreEditorUtils.CreateGameObject("Probe Adjustment Volume", parent); 21 probeVolume.AddComponent<ProbeAdjustmentVolume>(); 22 } 23 } 24}