`ui-uitk`: USS Restrictions table bans `filter` and `transition-property`, both supported in Unity 6
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức phù hợp với người mới
- 85/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- csharp
- Lĩnh vực
- documentation
Hướng nghiên cứu
Đọc mục “USS Restrictions” trong skills/ui-uitk/SKILL.md, đặc biệt là các mục về filter và transition-property, rồi so sánh chúng với tài liệu Unity 6 được liên kết trong issue. Cập nhật các mục để mô tả những thuộc tính được hỗ trợ và mốc giới hạn phiên bản đã nêu; hoàn tất khi hướng dẫn không còn yêu cầu các agent xóa những kiểu hợp lệ.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Plugin: 0.1.8-beta (main @ 3831ddb) · Unity: 6000.6.7f1 · Windows 11, Claude Code
Problem
skills/ui-uitk/SKILL.md, section "USS Restrictions" ("These properties do NOT exist — NEVER use them"):
- L146:
filter→ "Not supported" - L151:
transition-property: <value>→ "Omit entirely, ornone/initial/inheritonly"
Both are documented, working USS properties. Following the table, an agent removes valid styles: it drops a blur, or rewrites transition-property: background-color; into a transition on every property.
Evidence
filter (Unity 6.3+):
- USS properties reference (6000.6) lists
filterandbackdrop-filter: https://docs.unity3d.com/6000.6/Documentation/Manual/UIE-USS-Properties-Reference.html - Built-in filters (
blur,grayscale,invert,opacity,sepia,tint,hue-rotate,contrast,drop-shadow): https://docs.unity3d.com/6000.6/Documentation/Manual/ui-systems/built-in-filters.html - API in 6000.6.7f1 (
UnityEngine.UIElementsModule.xml):IStyle.filter,IStyle.backdropFilter,IResolvedStyle.filter,FilterFunction,FilterFunctionType. - The manual page
ui-systems/uss-filter.htmlexists from 6000.3 and is absent in 6000.2.
transition-property (Unity 6.0 and earlier):
- "The transition property defines which USS properties the transition applies to." Values: property names,
all(default),initial,none,ignored; e.g.transition-property: color, rotate;— https://docs.unity3d.com/6000.0/Documentation/Manual/UIE-Transitions.html - API:
IStyle.transitionProperty. - Unity's own packages use it, e.g.
com.unity.render-pipelines.core/Editor/StyleSheets/RenderGraphViewer.uss(transition-property: background-color;).
Suggested fix
- Remove the
transition-propertyrow, or replace it with: "default isall; omit it when every changed property should animate, list property names to limit which ones animate." - Replace the
filterrow with a version note: "Unity 6.3+:filter/backdrop-filtersupported (blur, grayscale, drop-shadow, …). Not available before 6.3." - Optionally mention
filter: drop-shadow(...)in thebox-shadowrow as the 6.3+ alternative.
- Ngôn ngữ chính
- C#
- Star
- 590
- Fork
- 67
- Merge trung bình
- 3 ngày 4 giờ
- Pull request đã merge (30 ngày)
- 13
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Unity-Technologies/unity-agent-plugin
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 80/100
Unity-Technologies/unity-agent-plugin#118 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Unity-Technologies/unity-agent-plugin#105 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Unity-Technologies/unity-agent-plugin#103 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
Unity-Technologies/unity-agent-plugin#104 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Unity-Technologies/unity-agent-plugin
Issue tương tự
-
enhancement needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
microsoft/microsoft-ui-reactor#1460 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
t/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
dotnet/maui#39950 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
CommunityToolkit/Datasync#600 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
NimblePros/deviq-hugo#121 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
RANDOM_REPLACE does not keep the date format when the month abbreviation has a trailing periodĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
philterd/phileas-dotnet#188 ·