{"action":"opened","issue":{"url":"https://api.github.com/repos/bradakan/TowerDefenceStart2-12-2014/issues/5","labels_url":"https://api.github.com/repos/bradakan/TowerDefenceStart2-12-2014/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/bradakan/TowerDefenceStart2-12-2014/issues/5/comments","events_url":"https://api.github.com/repos/bradakan/TowerDefenceStart2-12-2014/issues/5/events","html_url":"https://github.com/bradakan/TowerDefenceStart2-12-2014/issues/5","id":56806128,"number":5,"title":"Geef aan wat het wel moet zijn ipv niet","user":{"login":"erwinhenraat","id":1262745,"avatar_url":"https://avatars.githubusercontent.com/u/1262745?v=3","gravatar_id":"","url":"https://api.github.com/users/erwinhenraat","html_url":"https://github.com/erwinhenraat","followers_url":"https://api.github.com/users/erwinhenraat/followers","following_url":"https://api.github.com/users/erwinhenraat/following{/other_user}","gists_url":"https://api.github.com/users/erwinhenraat/gists{/gist_id}","starred_url":"https://api.github.com/users/erwinhenraat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erwinhenraat/subscriptions","organizations_url":"https://api.github.com/users/erwinhenraat/orgs","repos_url":"https://api.github.com/users/erwinhenraat/repos","events_url":"https://api.github.com/users/erwinhenraat/events{/privacy}","received_events_url":"https://api.github.com/users/erwinhenraat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-06T12:27:59Z","updated_at":"2015-02-06T12:27:59Z","closed_at":null,"body":"```c\nif (other.tag != \"Bullet\")\n        {\n            listTargets.Add(other.transform);\n            waitingforTarget = false;\n        }\n    }\n    void OnTriggerExit(Collider other)\n    {\n        if (other.tag != \"Bullet\")\n        {\n            listTargets.Remove(other.transform);\n        } \n```\n\nBestand: https://github.com/bradakan/TowerDefenceStart2-12-2014/blob/master/Assets/Scripts/NewTurret.cs\n\nStel dat je later een nieuw soort object aan je game toevoegt wat geen Bullet maar ook geen Enemy is. Deze zullen dan aan de list van targets worden toegevoegd en evt errors veroorzaken. Geeft dus aan wat het wel moet zijn ipv niet."}}