any advice using a design pattern for an event system? thanks guys…
what do you exactly want?
im trying to create an event system to call ui dynamically sir
Maybe you can tell us a bit more, what you are trying to achieve, how should it be instantiated, where is it dynamically etc.
Unity did make an EventSystem. It’s based around one of the design patterns.
You’ll have to be more specific. There are dozens of valid design patterns.
sorry for late reply guys, hmmm this is what i want to make, i want to handle UI’s with event system, regarding what UI i want to use or to be show, the event system i want to use is going to be dynamic for this. my buddy wants me to make it dynamically, so i tried to use delegate and events with it, i hope i explained it clear or still does not, ill try to make it more clear next time
I’m still struggling to understand what you mean by “UI” and “dynamic.” Do you mean “I want to have an event system where I can change the method of user interface at runtime (e.g. switch from keyboard/mouse to gamepad)”?
^ thanks mate for correcting me, the scenario will be this…
im creating my own event system with a dynamic feature that it will handle it self what scene or UI state that im currently staying … by using some examples from the internet, like type safe event manager, using delegates, i can dynamically use my methods whenever i want to on them or off, the game will continually working… my friend and i trying to create saga so its very important to use things like this… can you guys help me or advice or even give some tips regarding with what i want to create, not an expert coder here… thanks for the time guys