We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am new to Unity and I am struggling to import this into my Unity project.
I do not understand the steps of what is required as I'm not able to use this namespace in my code.
I would greatly appreciate if this project was updated with instructions on how to import this into my project.
The README also talks about an older version of the project.
The text was updated successfully, but these errors were encountered:
You need to add a manager to your document like so:
uiDocument.rootVisualElement.AddManipulator(new ContextualMenuPlayer.ContextualMenuManipulator());
Then you can create menus using the built in contextlMenuManipulator:
yourElement.AddManipulator(new ContextualMenuManipulator((evt) => { evt.menu.AppendAction("hello", (v) => { }); evt.menu.AppendAction("test/one", (v) => { }); evt.menu.AppendAction("test/two", (v) => { }); }));
Sorry, something went wrong.
No branches or pull requests
I am new to Unity and I am struggling to import this into my Unity project.
I do not understand the steps of what is required as I'm not able to use this namespace in my code.
I would greatly appreciate if this project was updated with instructions on how to import this into my project.
The README also talks about an older version of the project.
The text was updated successfully, but these errors were encountered: