demoted headings
No edit summary |
(demoted headings) |
||
| Line 1: | Line 1: | ||
=How Often Is It Called= | == How Often Is It Called == | ||
The game engine will call your OnUpdate function once each frame. This is (in most cases) extremely excessive. | The game engine will call your OnUpdate function once each frame. This is (in most cases) extremely excessive. | ||
=When Is It Called = | == When Is It Called == | ||
OnUpdate is not called on any hidden frames, only while they are shown on-screen. OnUpdate will also never be called on a virtual frame, but will be called on any frames that inherit from one. | OnUpdate is not called on any hidden frames, only while they are shown on-screen. OnUpdate will also never be called on a virtual frame, but will be called on any frames that inherit from one. | ||
=Proper Use Example= | == Proper Use Example == | ||
; your_xml_file.xml | ; your_xml_file.xml | ||
<Ui ...> | <Ui ...> | ||