EventSystem Question

Hello!

i have a question about EventSystem, if i want one more button to being used from ui and not just Submit and Cancel, how i should add it? anyone have a tutorial to how to do it?

thank’s in advance

Its a matter of writing your own input module. This is the core of UI interaction. Not a lot of tutorials out there for that though. I myself used the code from https://bitbucket.org/Unity-Technologies/ui/src/2019.1/UnityEngine.UI/EventSystem/InputModules/. Wasn’t easy to do, but I added the functionality I was looking for.

thank’s you for your answer!

well that’s the only way i think… did you have a good way to switch from standaloneinputmodule to a custom one into eventsystem ?

Make sure that the custom module has what the standalone one has and replace the standalone one with your custom one.