UnityGame/Library/PackageCache/com.unity.render-pipelines.universal/Editor/AssetPostProcessors/ModelPostProcessor.cs
2024-10-27 10:53:47 +03: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);
}
}
}