- Unity 6.2 → 6.3 업그레이드 - Beautify URP 에셋 업데이트 - Stylized Water 3 에셋 제거 - PIDI Planar Reflections shadergraph 업데이트 - 각종 메타파일 및 에셋 파일 Unity 6.3 호환 업데이트 - lilToon, AmplifyShaderEditor 등 외부 에셋 설정 변경 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
27 lines
623 B
C#
27 lines
623 B
C#
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace Beautify.Universal {
|
|
|
|
[DisallowMultipleComponent]
|
|
[ExecuteAlways]
|
|
public sealed class BeautifyCutOutDoFRenderer : MonoBehaviour {
|
|
|
|
readonly List<Renderer> cachedRenderers = new List<Renderer>(32);
|
|
|
|
void OnEnable () {
|
|
gameObject.GetComponentsInChildren(true, cachedRenderers);
|
|
BeautifyRendererFeature.BeautifyDoFTransparentMaskPass.RegisterCutOutRenderers(cachedRenderers);
|
|
}
|
|
|
|
void OnDisable () {
|
|
BeautifyRendererFeature.BeautifyDoFTransparentMaskPass.UnregisterCutOutRenderers(cachedRenderers);
|
|
cachedRenderers.Clear();
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|