Methods to communicate between game objects in Unity
During the past experience of Ludum Dare, one thing keeps confusing me is how to communicate between game objects "elegantly" in Unity. Since I am not a full time professional game dev, I really like to know what are the widely used proper way to handle this.
Several methods I've used before:
- Tight coupling referencing (either using Find, GetComponent, or drag and drop in Editor)
- Delegate (never used during a jam though as everything is build up quickly)
- Having a GameManager handle most logic, while entities mainly contains data only and have a reference to that global GameManager
Would like to hear your thoughts