File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -292,7 +292,7 @@ impl<A: Asset> From<&mut Handle<A>> for UntypedAssetId {
292
292
/// to be stored together and compared.
293
293
///
294
294
/// See [`Handle`] for more information.
295
- #[ derive( Clone ) ]
295
+ #[ derive( Clone , Reflect ) ]
296
296
pub enum UntypedHandle {
297
297
/// A strong handle, which will keep the referenced [`Asset`] alive until all strong handles are dropped.
298
298
Strong ( Arc < StrongHandle > ) ,
Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ impl<A: Asset> From<AssetIndex> for AssetId<A> {
164
164
/// An "untyped" / "generic-less" [`Asset`] identifier that behaves much like [`AssetId`], but stores the [`Asset`] type
165
165
/// information at runtime instead of compile-time. This increases the size of the type, but it enables storing asset ids
166
166
/// across asset types together and enables comparisons between them.
167
- #[ derive( Debug , Copy , Clone ) ]
167
+ #[ derive( Debug , Copy , Clone , Reflect ) ]
168
168
pub enum UntypedAssetId {
169
169
/// A small / efficient runtime identifier that can be used to efficiently look up an asset stored in [`Assets`]. This is
170
170
/// the "default" identifier used for assets. The alternative(s) (ex: [`UntypedAssetId::Uuid`]) will only be used if assets are
You can’t perform that action at this time.
0 commit comments