-
-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(loaders): add 'prefab' option #1601
base: main
Are you sure you want to change the base?
Conversation
packages/loader/src/resource-deserialize/resources/parser/PrefabParser.ts
Outdated
Show resolved
Hide resolved
packages/loader/src/resource-deserialize/resources/scene/SceneParser.ts
Outdated
Show resolved
Hide resolved
packages/loader/src/resource-deserialize/resources/parser/PrefabParser.ts
Outdated
Show resolved
Hide resolved
packages/loader/src/resource-deserialize/resources/parser/PrefabParser.ts
Outdated
Show resolved
Hide resolved
packages/loader/src/resource-deserialize/resources/parser/PrefabParser.ts
Show resolved
Hide resolved
link playground demo |
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## dev/1.1 #1601 +/- ##
===============================
===============================
☔ View full report in Codecov by Sentry. |
4f50594
to
dbd6d02
Compare
7613816
to
22ee7e7
Compare
packages/loader/src/resource-deserialize/resources/parser/CompositionParser.ts
Outdated
Show resolved
Hide resolved
packages/loader/src/resource-deserialize/resources/scene/SceneParser.ts
Outdated
Show resolved
Hide resolved
packages/loader/src/resource-deserialize/resources/scene/SceneParser.ts
Outdated
Show resolved
Hide resolved
packages/loader/src/resource-deserialize/resources/scene/SceneParser.ts
Outdated
Show resolved
Hide resolved
} | ||
} | ||
|
||
constructor(public readonly context: ParserContext<T, IPrefabFile>) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里为什么是IprefabFIle
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IScene extends IPrefabFile
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
What is the current behavior? (You can also link to an open issue here)
What is the new behavior (if this is a feature change)?
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
Other information: