Improve ECS singleton syntax #223
AndreaCatania
started this conversation in
Ideas & Proposals
Replies: 1 comment
-
|
Moving the proposal to discussions to keep the issue just for things to fix. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If you need to read the entity
Component, or aDatabag, from a standardGDScriptfunction, it's possible to use theECSsingleton in this way:The function
get_active_worldis used to get the currently active world, however, this function is really verbose. Is it possible to make it shorter?The function
get_entity_componentis good, but still verbose. Is it possible to make this shorter?What about this?
Is still understandable?
Worth it?
Beta Was this translation helpful? Give feedback.
All reactions