Unity 6.5 업그레이드와 신규 프로토타입 기반 구축

This commit is contained in:
2026-08-31 20:31:37 +09:00
parent 7fc457a384
commit 2f6e80fd57
233 changed files with 15070 additions and 6481 deletions
@@ -111,7 +111,12 @@ namespace ExternPropertyAttributes.Editor
if (!_foldouts.ContainsKey(group.Key))
{
_foldouts[group.Key] = new SavedBool($"{target.GetInstanceID()}.{group.Key}", false);
#if UNITY_6000_3_OR_NEWER
var targetId = target.GetEntityId();
#else
var targetId = target.GetInstanceID();
#endif
_foldouts[group.Key] = new SavedBool($"{targetId}.{group.Key}", false);
}
_foldouts[group.Key].Value = EditorGUILayout.Foldout(_foldouts[group.Key].Value, group.Key, true);
@@ -150,6 +150,7 @@ public class ScreenRenderPass : ScriptableRenderPass {
[Obsolete("This rendering path is for compatibility mode only (when Render Graph is disabled).", false)]
#endif
#if !UNITY_6000_5_OR_NEWER
public override void Execute(ScriptableRenderContext context, ref RenderingData renderingData) {
_passData.effectMaterial = _passMaterial;
_passData.requiresColor = _requiresColor;
@@ -229,6 +230,7 @@ public class ScreenRenderPass : ScriptableRenderPass {
}
}
}
#endif
private class PassData {
internal Material effectMaterial;
@@ -248,4 +250,4 @@ public class ScreenRenderPass : ScriptableRenderPass {
internal Material material;
}
#endif
}
}