Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ActionGraph] Ability to expose Component variables directly within the node itself #7210

Open
Retroeer opened this issue Dec 19, 2024 · 4 comments

Comments

@Retroeer
Copy link

What can't you do?

I have a Button Component that has an "IsActivated" state, when I drag that component into ActionGraph the only output is the component itself, so I have to make a new node that grabs that variable.

Image

How would you like it to work?

This should kind of be like the [Property] attribute, but for ActionGraph, it would be super cool if ShowIf would also function for it aswell.

Image

Kind of like this, but not shit

What have you tried?

You can obviously just drag out a new node but I think this would be cool

Additional context

No response

@Nolankicks
Copy link
Contributor

Right click on the output 😉

@Retroeer
Copy link
Author

Output is pretty much what I want, but it's missing the input, and ideally there's an attribute property that shows specified variables by default

@Metapyziks
Copy link

Try dragging the property itself from the inspector into the action graph editor.

@Retroeer
Copy link
Author

Retroeer commented Dec 20, 2024

wtf, this is awesome
though, I do still wish it was self contained in the component node itself, being able to drag the component into ActionGraph and then having the properties pre-exposed (via an attribute) without having to drag in each individual property myself would be very nice.
Though I understand if you think this solution is enough

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To triage
Development

No branches or pull requests

3 participants