You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got a question about Line 32-48 of EditorView.gd
If you defined modifier as "-1.25", and use a match statement, you could make the code more compact.
Is there a reason why a match statement isn't used? I'm relatively new to Godot, and I don't know best practices yet.
Also, where were these values coming from? Just intrigued.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've got a question about
Line 32-48
ofEditorView.gd
If you defined modifier as "
-1.25
", and use a match statement, you could make the code more compact.Is there a reason why a match statement isn't used? I'm relatively new to Godot, and I don't know best practices yet.
Also, where were these values coming from? Just intrigued.
Current code:
Beta Was this translation helpful? Give feedback.
All reactions