Last active
November 16, 2025 15:31
-
-
Save griffi-gh/6b04adcdb511aeed3161a6f93ad1a9f3 to your computer and use it in GitHub Desktop.
Adds utility function to get `TickEvents` outside of `Component`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using. /Verse.org/Simulation | |
| using. /Verse.org/Native | |
| using. /Verse.org/SceneGraph | |
| _dummy_component := class<final_super><unique>(component): | |
| GetTickEvents_Internal<internal>(Component: component)<reads>: tick_events = Component.TickEvents; | |
| (InComponent: component).GetTickEvents<public>()<transacts>: tick_events := | |
| Dummy := _dummy_component. Entity := InComponent.Entity; | |
| Dummy.GetTickEvents_Internal(InComponent) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment