Skip to content
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.

调整编辑器-事件-清理事件的翻译 #4

Open
deciia opened this issue Dec 28, 2018 · 0 comments
Open

调整编辑器-事件-清理事件的翻译 #4

deciia opened this issue Dec 28, 2018 · 0 comments

Comments

@deciia
Copy link
Contributor

deciia commented Dec 28, 2018

原文:
This event will be called after any event that removes an instance of the object from the room. So, it will be triggered if the instance is destroyed, if the room ends, or if the game ends, and is designed for you to use to "clean up" any dynamic resources that you may have in your game (like surfaces, data structures, etc...) or to perform any task that you need performed once when the instance is removed. Note that this event will be called only after every other event has been called, so it will always be the last event to run in any instance as it is removed from the room or the room/game is ended.
译文:
在从房间中删除物体实例的所有事件之后,将调用此事件。因此,如果实例被销毁,房间结束或游戏结束,它将被触发,并且专门用于 “清理” 游戏中可能拥有的动态资源(如表面、数据结构等...),或执行除去实例后需要执行的任务。 请注意,只有在调用所有其他事件后才会调用此事件,因此它将始终是在任何实例中运行的最后一个事件,因为它将在从房间中移除或者房间 / 游戏结束时运行。
修改:
任何事件如果从房间中移除了物体一个实例,之后将调用这个事件,...
理由:
译文会产生歧义,“从房间中删除物体实例”的所有事件,从房间中删除“物体实例的所有事件”,正常是不会有这个歧义,但是字面上确实可以这样理解。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant