你知道吗? 显然 Rust 没有继承,但是 UI 系统确实需要“继承”的设计模式,于是 Bevy 用宏为UI 系统实现了某种特殊的“继承”: Required Components #14791 ,这实在是泰裤辣。 评论 0