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
Is your feature request related to a problem? Please describe.
Currently, it's not easy to make a button that attaches a specific component to a specified slot.
Describe the solution you'd like
A new component ButtonAttachComponent which is a IButtonPressReceiver and allows specifying a Target slot, as well as a Component type.
Describe alternatives you've considered
Using the existing Inspector and ComponentAttacher components, but that relies on functionality of editor components and I'm afraid might break in the future when those dialogs are re-worked, as this is using them in a way that isn't the intended use-case.
Additional Context
I want to use this as part of a setup wizard dialog for an avatar to automatically add the SimpleAvatarProtection component during the setup, without having the user to open an inspector.
Requesters
No response
The text was updated successfully, but these errors were encountered:
I think attaching a component manually is a simple and common enough use-case that in my opinion should just have its own button interaction on top of the future component access for ProtoFlux.
This would potentially really help people now as well, as it would make a very simple way to add something like avatar protection without an inspector.
edit I see that was mentioned. missed the last line! but yeah +1 for this.
Is your feature request related to a problem? Please describe.
Currently, it's not easy to make a button that attaches a specific component to a specified slot.
Describe the solution you'd like
A new component
ButtonAttachComponent
which is aIButtonPressReceiver
and allows specifying aTarget
slot, as well as aComponent
type.Describe alternatives you've considered
Using the existing
Inspector
andComponentAttacher
components, but that relies on functionality of editor components and I'm afraid might break in the future when those dialogs are re-worked, as this is using them in a way that isn't the intended use-case.Additional Context
I want to use this as part of a setup wizard dialog for an avatar to automatically add the
SimpleAvatarProtection
component during the setup, without having the user to open an inspector.Requesters
No response
The text was updated successfully, but these errors were encountered: