fix: support Unity 6.6+ with ShaderGraph package

This commit is contained in:
mob-sakai
2026-11-14 21:01:13 +09:00
parent 6cbb793d8d
commit e856b0b939
@@ -170,7 +170,12 @@ namespace UnityEditor.Rendering.BuiltIn.ShaderGraph
BlockFields.SurfaceDescription.Alpha,
BlockFields.SurfaceDescription.AlphaClipThreshold
};
#if UNITY_6000_6_OR_NEWER
ProjectWindowUtil.StartNameEditingIfProjectWindowExists(EntityId.None, graphItem, name, null, null);
#else
ProjectWindowUtil.StartNameEditingIfProjectWindowExists(0, graphItem, name, null, null);
#endif
}
}
}