如何在吱吱声中关闭 /删除变体?
假设我有一个新的变体:
m := Morph new.
m openInWorld.
如何关闭 /删除变形?
m removeFromWorld.
Let's say I have a new Morph:
m := Morph new.
m openInWorld.
How do I close / delete the Morph off?
m removeFromWorld.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
要删除世界上的变体,请使用
delete
方法。delete
从其母体变形中删除变体(这是openinworld
之后的世界)。To remove a morph from the world, use the
delete
method.delete
removes the morph from its parent morph (which is the world afteropenInWorld
).