Singularity/Library/PackageCache/com.unity.render-pipelines..../Editor/AssetPostProcessors/ModelPostProcessor.cs
2024-05-06 11:45:45 -07:00

16 lines
441 B
C#

using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.Rendering.Universal;
namespace UnityEditor.Rendering.Universal
{
class ModelPostprocessor : AssetPostprocessor
{
void OnPostprocessModel(GameObject go)
{
CoreEditorUtils.AddAdditionalData<Camera, UniversalAdditionalCameraData>(go);
CoreEditorUtils.AddAdditionalData<Light, UniversalAdditionalLightData>(go);
}
}
}