You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

18 lines
682 B

using UnityEngine;
using UnityEngine.Rendering.HighDefinition;
using UnityEngine.Rendering;
using UnityEngine.Experimental.Rendering;
namespace UnityEditor.Rendering.HighDefinition
{
class VolumetricMenuItems
{
[MenuItem("GameObject/Rendering/Local Volumetric Fog", priority = CoreUtils.Priorities.gameObjectMenuPriority + 2)]
static void CreateLocalVolumetricFogGameObject(MenuCommand menuCommand)
{
var parent = menuCommand.context as GameObject;
var localVolumetricFog = CoreEditorUtils.CreateGameObject("Local Volumetric Fog", parent);
localVolumetricFog.AddComponent<LocalVolumetricFog>();
}
}
}