Swizzling, F-Strings, and Underscore Iterators/Variables #7560
Closed
durkisneer1
started this conversation in
Scripting
Replies: 1 comment
-
See:
Closing as these are all proposed, in the future please make one proposal for one feature, not multiple vert different features in one |
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.
-
It would be nice to be able to assign a Vector2 to a Vector3 such as
Vector3.xz = Vector2(x, y)
through swizzling, same for similar situations for other array types. F-Strings would make cleaner formatted string writing instead of thetext = "Score: %s" % score
mess. As for underscore variables, it would remove the need to use characters when writingfor
loops where the iterator/variable is unused. Ex:for _ in range(len): print("hello")
Beta Was this translation helpful? Give feedback.
All reactions