Singularity/Library/PackageCache/com.unity.render-pipelines..../Editor/AssetPostProcessors/ModelPostProcessor.cs

16 lines
441 B
C#
Raw Normal View History

2024-05-06 14:45:45 -04:00
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);
}
}
}