Derive same attributes as MainEntity for RenderEntity (#16191)
Spotted while working on updating bevy_egui. Discord context: https://discordapp.com/channels/691052431525675048/1301212128115687454/1301469954465464320
This commit is contained in:
parent
f6a4167896
commit
e0308ad920
@ -125,7 +125,7 @@ pub struct SyncToRenderWorld;
|
||||
/// Component added on the main world entities that are synced to the Render World in order to keep track of the corresponding render world entity.
|
||||
///
|
||||
/// Can also be used as a newtype wrapper for render world entities.
|
||||
#[derive(Component, Deref, Clone, Debug, Copy)]
|
||||
#[derive(Component, Deref, Copy, Clone, Debug, Eq, Hash, PartialEq)]
|
||||
pub struct RenderEntity(Entity);
|
||||
impl RenderEntity {
|
||||
#[inline]
|
||||
|
Loading…
Reference in New Issue
Block a user