{"author_link":"\/users\/shrekshao","author_name":"shrekshao","author_uid":"shrekshao","comments":[],"epoch":1542573824,"event":"LD43","format":"md","ldjam_node_id":122048,"likes":2,"metadata":{"p_key":"122265","p_author":"shrekshao","p_authorkey":"1012314","p_urlkey":"338311","p_title":"Methods to communicate between game objects in Unity","p_cat":"LDJam ","p_event":"LD43","p_time":"1542573824","p_likes":"2","p_comments":"0","p_status":"WAYBACK","us_key":"1012314","us_name":"shrekshao","us_username":"shrekshao","event_start":"1543536000","event_key":"71","event_name":"LD 43"},"node":{"_collation":{"body_sanitizer":"TextUtils::SanitizeHTML via existing importer","event":"LD43","removed_author":false},"_superparent":120415,"_trust":3,"author":12314,"body":"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.\n\nSeveral methods I've used before:\n\n1. Tight coupling referencing (either using Find, GetComponent, or drag and drop in Editor)\n2. Delegate (never used during a jam though as everything is build up quickly)\n3. Having a GameManager handle most logic, while entities mainly contains data only and have a reference to that global GameManager\n\nWould like to hear your thoughts","comments":11,"comments-timestamp":"2018-11-19T22:22:34Z","created":"2018-11-18T20:35:45Z","files":[],"files-timestamp":0,"id":122048,"love":2,"love-timestamp":"2018-11-19T05:35:17Z","meta":[],"modified":"2018-11-19T22:22:34Z","name":"Methods to communicate between game objects in Unity","node-timestamp":"2018-11-18T20:43:44Z","parent":120848,"parents":[1,5,9,120415,120848],"path":"\/events\/ludum-dare\/43\/spacecrafter\/methods-to-communicate-between-game-objects-in-unity","published":"2018-11-18T20:43:44Z","scope":"public","slug":"methods-to-communicate-between-game-objects-in-unity","subsubtype":"","subtype":"","type":"post","version":361956},"node_metadata":{"n_key":"122048","n_urlkey":"338311","n_parent":"120848","n_path":"\/events\/ludum-dare\/43\/spacecrafter\/methods-to-communicate-between-game-objects-in-unity","n_slug":"methods-to-communicate-between-g","n_type":"post","n_subtype":"","n_subsubtype":"","n_author":"12314","n_created":"1542573345","n_modified":"1542666154","n_version":"361956","n_status":"WAYBACK"},"source_url":"https:\/\/ldjam.com\/events\/ludum-dare\/43\/spacecrafter\/methods-to-communicate-between-game-objects-in-unity","text":"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.\n\nSeveral methods I've used before:\n\n1. Tight coupling referencing (either using Find, GetComponent, or drag and drop in Editor)\n2. Delegate (never used during a jam though as everything is build up quickly)\n3. Having a GameManager handle most logic, while entities mainly contains data only and have a reference to that global GameManager\n\nWould like to hear your thoughts","title":"Methods to communicate between game objects in Unity","wayback_source":[]}