{"action":"created","issue":{"url":"https://api.github.com/repos/thestonefox/SteamVR_Unity_Toolkit/issues/93","repository_url":"https://api.github.com/repos/thestonefox/SteamVR_Unity_Toolkit","labels_url":"https://api.github.com/repos/thestonefox/SteamVR_Unity_Toolkit/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/thestonefox/SteamVR_Unity_Toolkit/issues/93/comments","events_url":"https://api.github.com/repos/thestonefox/SteamVR_Unity_Toolkit/issues/93/events","html_url":"https://github.com/thestonefox/SteamVR_Unity_Toolkit/issues/93","id":156771451,"number":93,"title":"Adding in UnityEvents for all actions","user":{"login":"mimminito","id":328715,"avatar_url":"https://avatars.githubusercontent.com/u/328715?v=3","gravatar_id":"","url":"https://api.github.com/users/mimminito","html_url":"https://github.com/mimminito","followers_url":"https://api.github.com/users/mimminito/followers","following_url":"https://api.github.com/users/mimminito/following{/other_user}","gists_url":"https://api.github.com/users/mimminito/gists{/gist_id}","starred_url":"https://api.github.com/users/mimminito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mimminito/subscriptions","organizations_url":"https://api.github.com/users/mimminito/orgs","repos_url":"https://api.github.com/users/mimminito/repos","events_url":"https://api.github.com/users/mimminito/events{/privacy}","received_events_url":"https://api.github.com/users/mimminito/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/thestonefox/SteamVR_Unity_Toolkit/labels/attention%20required","name":"attention required","color":"5319e7"},{"url":"https://api.github.com/repos/thestonefox/SteamVR_Unity_Toolkit/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-05-25T14:53:21Z","updated_at":"2016-05-26T14:09:13Z","closed_at":null,"body":"I have a couple of suggestions here:\r\n\r\n1. Replace current \"events\" with a UnityEvent instead. This will expose it inside the editor (could use a custom Editor script to hide these as there are a few) and works through scripting as well. Allows for a more generic approach to responding to the events.\r\n2. Add in UnityEvent's for intractable objects. Currently no events are fired on these objects but it would be nice to have something to tell us when they have been grabbed, touched, used, etc. "},"comment":{"url":"https://api.github.com/repos/thestonefox/SteamVR_Unity_Toolkit/issues/comments/221881385","html_url":"https://github.com/thestonefox/SteamVR_Unity_Toolkit/issues/93#issuecomment-221881385","issue_url":"https://api.github.com/repos/thestonefox/SteamVR_Unity_Toolkit/issues/93","id":221881385,"user":{"login":"thestonefox","id":1029673,"avatar_url":"https://avatars.githubusercontent.com/u/1029673?v=3","gravatar_id":"","url":"https://api.github.com/users/thestonefox","html_url":"https://github.com/thestonefox","followers_url":"https://api.github.com/users/thestonefox/followers","following_url":"https://api.github.com/users/thestonefox/following{/other_user}","gists_url":"https://api.github.com/users/thestonefox/gists{/gist_id}","starred_url":"https://api.github.com/users/thestonefox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thestonefox/subscriptions","organizations_url":"https://api.github.com/users/thestonefox/orgs","repos_url":"https://api.github.com/users/thestonefox/repos","events_url":"https://api.github.com/users/thestonefox/events{/privacy}","received_events_url":"https://api.github.com/users/thestonefox/received_events","type":"User","site_admin":false},"created_at":"2016-05-26T14:09:13Z","updated_at":"2016-05-26T14:09:13Z","body":"I've been reading a bit about Unity Events (they're still new to me).\r\n\r\nThe ability for them to work at design time is good because you can see what is registered to them, excellent for debugging.\r\n\r\nHowever, they seem to be about 40% slower (from some benchmarks I've seen). I'm not sure the performance impact that would have, I need to do some more reading about them :)"}}
{"actor":{"display_login":"thestonefox"}}