{"action":"created","comment":{"url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/pulls/comments/53125349","id":53125349,"diff_hunk":"@@ -137,5 +131,12 @@ public void OnLightDepleted()\n         isDead = true;\n         Debug.Log(\"Game OVER! Press 'R' to restart!\");\n     }\n-\n-}\n\\ No newline at end of file\n+    \n+    /// <summary>\n+    /// If player lights are on, player is visible\n+    /// </summary>\n+    public bool IsVisible()\n+    {","path":"Assets/Scripts/Player/Player.cs","position":34,"original_position":34,"commit_id":"a672c3029003962a81df2b8daf395bc2ac30b517","original_commit_id":"a672c3029003962a81df2b8daf395bc2ac30b517","user":{"login":"alisterdev","id":6627543,"avatar_url":"https://avatars.githubusercontent.com/u/6627543?v=3","gravatar_id":"","url":"https://api.github.com/users/alisterdev","html_url":"https://github.com/alisterdev","followers_url":"https://api.github.com/users/alisterdev/followers","following_url":"https://api.github.com/users/alisterdev/following{/other_user}","gists_url":"https://api.github.com/users/alisterdev/gists{/gist_id}","starred_url":"https://api.github.com/users/alisterdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alisterdev/subscriptions","organizations_url":"https://api.github.com/users/alisterdev/orgs","repos_url":"https://api.github.com/users/alisterdev/repos","events_url":"https://api.github.com/users/alisterdev/events{/privacy}","received_events_url":"https://api.github.com/users/alisterdev/received_events","type":"User","site_admin":false},"body":"Player class has an instance of lightToggle in it. you can use it where needed, and get lightToggle status through a getter","created_at":"2016-02-17T06:27:55Z","updated_at":"2016-02-17T06:27:55Z","html_url":"https://github.com/FeedJonathanFoundation/ubisoft-game-lab/pull/43#discussion_r53125349","pull_request_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/pulls/43","_links":{"self":{"href":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/pulls/comments/53125349"},"html":{"href":"https://github.com/FeedJonathanFoundation/ubisoft-game-lab/pull/43#discussion_r53125349"},"pull_request":{"href":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/pulls/43"}}},"pull_request":{"url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/pulls/43","id":59585212,"html_url":"https://github.com/FeedJonathanFoundation/ubisoft-game-lab/pull/43","diff_url":"https://github.com/FeedJonathanFoundation/ubisoft-game-lab/pull/43.diff","patch_url":"https://github.com/FeedJonathanFoundation/ubisoft-game-lab/pull/43.patch","issue_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/issues/43","number":43,"state":"open","locked":false,"title":"Fish light attraction","user":{"login":"stellarxo","id":11700445,"avatar_url":"https://avatars.githubusercontent.com/u/11700445?v=3","gravatar_id":"","url":"https://api.github.com/users/stellarxo","html_url":"https://github.com/stellarxo","followers_url":"https://api.github.com/users/stellarxo/followers","following_url":"https://api.github.com/users/stellarxo/following{/other_user}","gists_url":"https://api.github.com/users/stellarxo/gists{/gist_id}","starred_url":"https://api.github.com/users/stellarxo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stellarxo/subscriptions","organizations_url":"https://api.github.com/users/stellarxo/orgs","repos_url":"https://api.github.com/users/stellarxo/repos","events_url":"https://api.github.com/users/stellarxo/events{/privacy}","received_events_url":"https://api.github.com/users/stellarxo/received_events","type":"User","site_admin":false},"body":"It works!!\r\nRight now, checks if player IsVisible() by checking if the light toggle is switched on.\r\n\r\nMaybe PlayerLightToggle should be switched into LightToggle so all characters can use it?\r\n\r\nAlso, changed LightSource FixedUpdate() to just Update() because it was being really laggy.","created_at":"2016-02-17T01:52:21Z","updated_at":"2016-02-17T06:27:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bc50fb33fa71da7b3f9278f54a1b7a79b1082900","assignee":{"login":"johnny-la","id":10332234,"avatar_url":"https://avatars.githubusercontent.com/u/10332234?v=3","gravatar_id":"","url":"https://api.github.com/users/johnny-la","html_url":"https://github.com/johnny-la","followers_url":"https://api.github.com/users/johnny-la/followers","following_url":"https://api.github.com/users/johnny-la/following{/other_user}","gists_url":"https://api.github.com/users/johnny-la/gists{/gist_id}","starred_url":"https://api.github.com/users/johnny-la/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnny-la/subscriptions","organizations_url":"https://api.github.com/users/johnny-la/orgs","repos_url":"https://api.github.com/users/johnny-la/repos","events_url":"https://api.github.com/users/johnny-la/events{/privacy}","received_events_url":"https://api.github.com/users/johnny-la/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/milestones/4","html_url":"https://github.com/FeedJonathanFoundation/ubisoft-game-lab/milestones/Sprint%204","labels_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/milestones/4/labels","id":1552391,"number":4,"title":"Sprint 4","description":"","creator":{"login":"stellarxo","id":11700445,"avatar_url":"https://avatars.githubusercontent.com/u/11700445?v=3","gravatar_id":"","url":"https://api.github.com/users/stellarxo","html_url":"https://github.com/stellarxo","followers_url":"https://api.github.com/users/stellarxo/followers","following_url":"https://api.github.com/users/stellarxo/following{/other_user}","gists_url":"https://api.github.com/users/stellarxo/gists{/gist_id}","starred_url":"https://api.github.com/users/stellarxo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stellarxo/subscriptions","organizations_url":"https://api.github.com/users/stellarxo/orgs","repos_url":"https://api.github.com/users/stellarxo/repos","events_url":"https://api.github.com/users/stellarxo/events{/privacy}","received_events_url":"https://api.github.com/users/stellarxo/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":10,"state":"open","created_at":"2016-01-30T01:24:04Z","updated_at":"2016-02-17T06:22:26Z","due_on":"2016-02-17T05:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/pulls/43/commits","review_comments_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/pulls/43/comments","review_comment_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/issues/43/comments","statuses_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/statuses/a672c3029003962a81df2b8daf395bc2ac30b517","head":{"label":"FeedJonathanFoundation:latt","ref":"latt","sha":"a672c3029003962a81df2b8daf395bc2ac30b517","user":{"login":"FeedJonathanFoundation","id":14876095,"avatar_url":"https://avatars.githubusercontent.com/u/14876095?v=3","gravatar_id":"","url":"https://api.github.com/users/FeedJonathanFoundation","html_url":"https://github.com/FeedJonathanFoundation","followers_url":"https://api.github.com/users/FeedJonathanFoundation/followers","following_url":"https://api.github.com/users/FeedJonathanFoundation/following{/other_user}","gists_url":"https://api.github.com/users/FeedJonathanFoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/FeedJonathanFoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FeedJonathanFoundation/subscriptions","organizations_url":"https://api.github.com/users/FeedJonathanFoundation/orgs","repos_url":"https://api.github.com/users/FeedJonathanFoundation/repos","events_url":"https://api.github.com/users/FeedJonathanFoundation/events{/privacy}","received_events_url":"https://api.github.com/users/FeedJonathanFoundation/received_events","type":"Organization","site_admin":false},"repo":{"id":44549642,"name":"ubisoft-game-lab","full_name":"FeedJonathanFoundation/ubisoft-game-lab","owner":{"login":"FeedJonathanFoundation","id":14876095,"avatar_url":"https://avatars.githubusercontent.com/u/14876095?v=3","gravatar_id":"","url":"https://api.github.com/users/FeedJonathanFoundation","html_url":"https://github.com/FeedJonathanFoundation","followers_url":"https://api.github.com/users/FeedJonathanFoundation/followers","following_url":"https://api.github.com/users/FeedJonathanFoundation/following{/other_user}","gists_url":"https://api.github.com/users/FeedJonathanFoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/FeedJonathanFoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FeedJonathanFoundation/subscriptions","organizations_url":"https://api.github.com/users/FeedJonathanFoundation/orgs","repos_url":"https://api.github.com/users/FeedJonathanFoundation/repos","events_url":"https://api.github.com/users/FeedJonathanFoundation/events{/privacy}","received_events_url":"https://api.github.com/users/FeedJonathanFoundation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FeedJonathanFoundation/ubisoft-game-lab","description":"Ubisoft Game Lab 2016 Entry","fork":false,"url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab","forks_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/forks","keys_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/teams","hooks_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/hooks","issue_events_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/issues/events{/number}","events_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/events","assignees_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/assignees{/user}","branches_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/branches{/branch}","tags_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/tags","blobs_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/git/refs{/sha}","trees_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/statuses/{sha}","languages_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/languages","stargazers_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/stargazers","contributors_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/contributors","subscribers_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/subscribers","subscription_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/subscription","commits_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/commits{/sha}","git_commits_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/git/commits{/sha}","comments_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/comments{/number}","issue_comment_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/issues/comments{/number}","contents_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/contents/{+path}","compare_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/merges","archive_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/downloads","issues_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/issues{/number}","pulls_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/pulls{/number}","milestones_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/milestones{/number}","notifications_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/labels{/name}","releases_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/releases{/id}","deployments_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/deployments","created_at":"2015-10-19T16:53:32Z","updated_at":"2016-02-04T05:42:19Z","pushed_at":"2016-02-17T06:22:26Z","git_url":"git://github.com/FeedJonathanFoundation/ubisoft-game-lab.git","ssh_url":"git@github.com:FeedJonathanFoundation/ubisoft-game-lab.git","clone_url":"https://github.com/FeedJonathanFoundation/ubisoft-game-lab.git","svn_url":"https://github.com/FeedJonathanFoundation/ubisoft-game-lab","homepage":"","size":4643,"stargazers_count":2,"watchers_count":2,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":2,"default_branch":"master"}},"base":{"label":"FeedJonathanFoundation:master","ref":"master","sha":"75d650426b873ee00d527cc51da365d307cad39f","user":{"login":"FeedJonathanFoundation","id":14876095,"avatar_url":"https://avatars.githubusercontent.com/u/14876095?v=3","gravatar_id":"","url":"https://api.github.com/users/FeedJonathanFoundation","html_url":"https://github.com/FeedJonathanFoundation","followers_url":"https://api.github.com/users/FeedJonathanFoundation/followers","following_url":"https://api.github.com/users/FeedJonathanFoundation/following{/other_user}","gists_url":"https://api.github.com/users/FeedJonathanFoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/FeedJonathanFoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FeedJonathanFoundation/subscriptions","organizations_url":"https://api.github.com/users/FeedJonathanFoundation/orgs","repos_url":"https://api.github.com/users/FeedJonathanFoundation/repos","events_url":"https://api.github.com/users/FeedJonathanFoundation/events{/privacy}","received_events_url":"https://api.github.com/users/FeedJonathanFoundation/received_events","type":"Organization","site_admin":false},"repo":{"id":44549642,"name":"ubisoft-game-lab","full_name":"FeedJonathanFoundation/ubisoft-game-lab","owner":{"login":"FeedJonathanFoundation","id":14876095,"avatar_url":"https://avatars.githubusercontent.com/u/14876095?v=3","gravatar_id":"","url":"https://api.github.com/users/FeedJonathanFoundation","html_url":"https://github.com/FeedJonathanFoundation","followers_url":"https://api.github.com/users/FeedJonathanFoundation/followers","following_url":"https://api.github.com/users/FeedJonathanFoundation/following{/other_user}","gists_url":"https://api.github.com/users/FeedJonathanFoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/FeedJonathanFoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FeedJonathanFoundation/subscriptions","organizations_url":"https://api.github.com/users/FeedJonathanFoundation/orgs","repos_url":"https://api.github.com/users/FeedJonathanFoundation/repos","events_url":"https://api.github.com/users/FeedJonathanFoundation/events{/privacy}","received_events_url":"https://api.github.com/users/FeedJonathanFoundation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FeedJonathanFoundation/ubisoft-game-lab","description":"Ubisoft Game Lab 2016 Entry","fork":false,"url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab","forks_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/forks","keys_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/teams","hooks_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/hooks","issue_events_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/issues/events{/number}","events_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/events","assignees_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/assignees{/user}","branches_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/branches{/branch}","tags_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/tags","blobs_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/git/refs{/sha}","trees_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/statuses/{sha}","languages_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/languages","stargazers_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/stargazers","contributors_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/contributors","subscribers_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/subscribers","subscription_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/subscription","commits_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/commits{/sha}","git_commits_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/git/commits{/sha}","comments_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/comments{/number}","issue_comment_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/issues/comments{/number}","contents_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/contents/{+path}","compare_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/merges","archive_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/downloads","issues_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/issues{/number}","pulls_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/pulls{/number}","milestones_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/milestones{/number}","notifications_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/labels{/name}","releases_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/releases{/id}","deployments_url":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/deployments","created_at":"2015-10-19T16:53:32Z","updated_at":"2016-02-04T05:42:19Z","pushed_at":"2016-02-17T06:22:26Z","git_url":"git://github.com/FeedJonathanFoundation/ubisoft-game-lab.git","ssh_url":"git@github.com:FeedJonathanFoundation/ubisoft-game-lab.git","clone_url":"https://github.com/FeedJonathanFoundation/ubisoft-game-lab.git","svn_url":"https://github.com/FeedJonathanFoundation/ubisoft-game-lab","homepage":"","size":4643,"stargazers_count":2,"watchers_count":2,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/pulls/43"},"html":{"href":"https://github.com/FeedJonathanFoundation/ubisoft-game-lab/pull/43"},"issue":{"href":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/issues/43"},"comments":{"href":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/FeedJonathanFoundation/ubisoft-game-lab/statuses/a672c3029003962a81df2b8daf395bc2ac30b517"}}}}