- Home /
Event System - Communication between scripts
Hello !
My game is a turn-based logic gameplay. My game's scripting architecture is cut in half. The first part is the 'GameManager'. It do all the data manipulation, in theory I can play my game only in the inspector. The second part is all the animations, the display of the objects, the drag and drop movements.
I want to have the cleaner way to make communication between the GameManager, and all the littles display monobehaviour scripts.
It is possible to make the GameManager listen to "order" from the display's scripts. And speak to all of them ? It is also possible to make the display's scripts listen to the GameManager, and speak to him ?
I searched about Event, Broadcasting, Delegate and all these things. But I can't figure out how I am supposed to achieved this. Thank you very much for your help !