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

Provide (or maybe just document) a way to use Event export type #297

Open
Supamiu opened this issue Dec 24, 2024 · 0 comments
Open

Provide (or maybe just document) a way to use Event export type #297

Supamiu opened this issue Dec 24, 2024 · 0 comments

Comments

@Supamiu
Copy link

Supamiu commented Dec 24, 2024

When using FmodEventEmitter2D, we have access to this really useful event picker for the FMOD Event parameter.

This allows for easy event binding and proper completion to avoid potential typos in event names, it's also a very convenient way to ask for an event as input.

image

In my case, I'm creating a FMODButton class using GDScript, allowing to easily have Buttons that will emit events on click, hover, focus, etc

The issue is that the best I can do is using @export_enum to provide a list of possible String values and it could be made better using the already existing picker.

Maybe this is just a lack of documentation tho, hence this issue 🙂

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

No branches or pull requests

1 participant