Proposal: GetComponent, AddComponent #6507
Closed
garrynewman
started this conversation in
Ideas
Replies: 5 comments
-
This is basically the Unity way which sounds great to me. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Was close to adding such "helper" functions by myself, would really appreciate this change. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Is the proposal for Component.Remove() off the table? |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is now done |
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
-
Make getting and adding components easier. This adds duplicate functionality, but shorter/easier.
To be implemented as extension methods for GameObject and Component, rather than directly on them.
Before
Now
Beta Was this translation helpful? Give feedback.
All reactions