{"action":"created","comment":{"url":"https://api.github.com/repos/EzGaming/Switch2/pulls/comments/35075991","id":35075991,"diff_hunk":"@@ -14,11 +14,13 @@ public class CameraController : MonoBehaviour {\n \n \tvoid Update () {\n \t\tif (switchController) {\n-\t\t\tif(switchController.switchRight) {\n-\t\t\t\ttransform.position = new Vector3 (center.transform.position.x+4, center.transform.position.y, transform.position.z);\n+\t\t\tif (switchController.switchRight) {","path":"Assets/Scripts/CharacterControllers/CameraController.cs","position":6,"original_position":6,"commit_id":"2977b0510973747092cf9e98e0652fc9a6ed26aa","original_commit_id":"2977b0510973747092cf9e98e0652fc9a6ed26aa","user":{"login":"langest","id":3678991,"avatar_url":"https://avatars.githubusercontent.com/u/3678991?v=3","gravatar_id":"","url":"https://api.github.com/users/langest","html_url":"https://github.com/langest","followers_url":"https://api.github.com/users/langest/followers","following_url":"https://api.github.com/users/langest/following{/other_user}","gists_url":"https://api.github.com/users/langest/gists{/gist_id}","starred_url":"https://api.github.com/users/langest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/langest/subscriptions","organizations_url":"https://api.github.com/users/langest/orgs","repos_url":"https://api.github.com/users/langest/repos","events_url":"https://api.github.com/users/langest/events{/privacy}","received_events_url":"https://api.github.com/users/langest/received_events","type":"User","site_admin":false},"body":"It seems as struct should be treated as immutables because of they are pass by value located on the stack. Great, it seems as it is in order.","created_at":"2015-07-21T07:29:36Z","updated_at":"2015-07-21T07:29:36Z","html_url":"https://github.com/EzGaming/Switch2/pull/6#discussion_r35075991","pull_request_url":"https://api.github.com/repos/EzGaming/Switch2/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/EzGaming/Switch2/pulls/comments/35075991"},"html":{"href":"https://github.com/EzGaming/Switch2/pull/6#discussion_r35075991"},"pull_request":{"href":"https://api.github.com/repos/EzGaming/Switch2/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/EzGaming/Switch2/pulls/6","id":39765073,"html_url":"https://github.com/EzGaming/Switch2/pull/6","diff_url":"https://github.com/EzGaming/Switch2/pull/6.diff","patch_url":"https://github.com/EzGaming/Switch2/pull/6.patch","issue_url":"https://api.github.com/repos/EzGaming/Switch2/issues/6","number":6,"state":"open","locked":false,"title":"Switch controller","user":{"login":"hidamaru","id":7427428,"avatar_url":"https://avatars.githubusercontent.com/u/7427428?v=3","gravatar_id":"","url":"https://api.github.com/users/hidamaru","html_url":"https://github.com/hidamaru","followers_url":"https://api.github.com/users/hidamaru/followers","following_url":"https://api.github.com/users/hidamaru/following{/other_user}","gists_url":"https://api.github.com/users/hidamaru/gists{/gist_id}","starred_url":"https://api.github.com/users/hidamaru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hidamaru/subscriptions","organizations_url":"https://api.github.com/users/hidamaru/orgs","repos_url":"https://api.github.com/users/hidamaru/repos","events_url":"https://api.github.com/users/hidamaru/events{/privacy}","received_events_url":"https://api.github.com/users/hidamaru/received_events","type":"User","site_admin":false},"body":"Switch and all physics concerning him now behave as they did before the migration.","created_at":"2015-07-12T17:07:28Z","updated_at":"2015-07-21T07:29:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d5437f1547959009daf87f51ba1d5dd69edb33e1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/EzGaming/Switch2/pulls/6/commits","review_comments_url":"https://api.github.com/repos/EzGaming/Switch2/pulls/6/comments","review_comment_url":"https://api.github.com/repos/EzGaming/Switch2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/EzGaming/Switch2/issues/6/comments","statuses_url":"https://api.github.com/repos/EzGaming/Switch2/statuses/2977b0510973747092cf9e98e0652fc9a6ed26aa","head":{"label":"EzGaming:SwitchController","ref":"SwitchController","sha":"2977b0510973747092cf9e98e0652fc9a6ed26aa","user":{"login":"EzGaming","id":9638389,"avatar_url":"https://avatars.githubusercontent.com/u/9638389?v=3","gravatar_id":"","url":"https://api.github.com/users/EzGaming","html_url":"https://github.com/EzGaming","followers_url":"https://api.github.com/users/EzGaming/followers","following_url":"https://api.github.com/users/EzGaming/following{/other_user}","gists_url":"https://api.github.com/users/EzGaming/gists{/gist_id}","starred_url":"https://api.github.com/users/EzGaming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EzGaming/subscriptions","organizations_url":"https://api.github.com/users/EzGaming/orgs","repos_url":"https://api.github.com/users/EzGaming/repos","events_url":"https://api.github.com/users/EzGaming/events{/privacy}","received_events_url":"https://api.github.com/users/EzGaming/received_events","type":"Organization","site_admin":false},"repo":{"id":37067348,"name":"Switch2","full_name":"EzGaming/Switch2","owner":{"login":"EzGaming","id":9638389,"avatar_url":"https://avatars.githubusercontent.com/u/9638389?v=3","gravatar_id":"","url":"https://api.github.com/users/EzGaming","html_url":"https://github.com/EzGaming","followers_url":"https://api.github.com/users/EzGaming/followers","following_url":"https://api.github.com/users/EzGaming/following{/other_user}","gists_url":"https://api.github.com/users/EzGaming/gists{/gist_id}","starred_url":"https://api.github.com/users/EzGaming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EzGaming/subscriptions","organizations_url":"https://api.github.com/users/EzGaming/orgs","repos_url":"https://api.github.com/users/EzGaming/repos","events_url":"https://api.github.com/users/EzGaming/events{/privacy}","received_events_url":"https://api.github.com/users/EzGaming/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/EzGaming/Switch2","description":"The sequel to the game Switch","fork":false,"url":"https://api.github.com/repos/EzGaming/Switch2","forks_url":"https://api.github.com/repos/EzGaming/Switch2/forks","keys_url":"https://api.github.com/repos/EzGaming/Switch2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EzGaming/Switch2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EzGaming/Switch2/teams","hooks_url":"https://api.github.com/repos/EzGaming/Switch2/hooks","issue_events_url":"https://api.github.com/repos/EzGaming/Switch2/issues/events{/number}","events_url":"https://api.github.com/repos/EzGaming/Switch2/events","assignees_url":"https://api.github.com/repos/EzGaming/Switch2/assignees{/user}","branches_url":"https://api.github.com/repos/EzGaming/Switch2/branches{/branch}","tags_url":"https://api.github.com/repos/EzGaming/Switch2/tags","blobs_url":"https://api.github.com/repos/EzGaming/Switch2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EzGaming/Switch2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EzGaming/Switch2/git/refs{/sha}","trees_url":"https://api.github.com/repos/EzGaming/Switch2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EzGaming/Switch2/statuses/{sha}","languages_url":"https://api.github.com/repos/EzGaming/Switch2/languages","stargazers_url":"https://api.github.com/repos/EzGaming/Switch2/stargazers","contributors_url":"https://api.github.com/repos/EzGaming/Switch2/contributors","subscribers_url":"https://api.github.com/repos/EzGaming/Switch2/subscribers","subscription_url":"https://api.github.com/repos/EzGaming/Switch2/subscription","commits_url":"https://api.github.com/repos/EzGaming/Switch2/commits{/sha}","git_commits_url":"https://api.github.com/repos/EzGaming/Switch2/git/commits{/sha}","comments_url":"https://api.github.com/repos/EzGaming/Switch2/comments{/number}","issue_comment_url":"https://api.github.com/repos/EzGaming/Switch2/issues/comments{/number}","contents_url":"https://api.github.com/repos/EzGaming/Switch2/contents/{+path}","compare_url":"https://api.github.com/repos/EzGaming/Switch2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EzGaming/Switch2/merges","archive_url":"https://api.github.com/repos/EzGaming/Switch2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EzGaming/Switch2/downloads","issues_url":"https://api.github.com/repos/EzGaming/Switch2/issues{/number}","pulls_url":"https://api.github.com/repos/EzGaming/Switch2/pulls{/number}","milestones_url":"https://api.github.com/repos/EzGaming/Switch2/milestones{/number}","notifications_url":"https://api.github.com/repos/EzGaming/Switch2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EzGaming/Switch2/labels{/name}","releases_url":"https://api.github.com/repos/EzGaming/Switch2/releases{/id}","created_at":"2015-06-08T13:05:59Z","updated_at":"2015-06-16T18:56:21Z","pushed_at":"2015-07-12T17:07:29Z","git_url":"git://github.com/EzGaming/Switch2.git","ssh_url":"git@github.com:EzGaming/Switch2.git","clone_url":"https://github.com/EzGaming/Switch2.git","svn_url":"https://github.com/EzGaming/Switch2","homepage":null,"size":1060,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"EzGaming:migration","ref":"migration","sha":"5d6e1f9a254fc47628bbd6d5944dc81e4ce373b7","user":{"login":"EzGaming","id":9638389,"avatar_url":"https://avatars.githubusercontent.com/u/9638389?v=3","gravatar_id":"","url":"https://api.github.com/users/EzGaming","html_url":"https://github.com/EzGaming","followers_url":"https://api.github.com/users/EzGaming/followers","following_url":"https://api.github.com/users/EzGaming/following{/other_user}","gists_url":"https://api.github.com/users/EzGaming/gists{/gist_id}","starred_url":"https://api.github.com/users/EzGaming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EzGaming/subscriptions","organizations_url":"https://api.github.com/users/EzGaming/orgs","repos_url":"https://api.github.com/users/EzGaming/repos","events_url":"https://api.github.com/users/EzGaming/events{/privacy}","received_events_url":"https://api.github.com/users/EzGaming/received_events","type":"Organization","site_admin":false},"repo":{"id":37067348,"name":"Switch2","full_name":"EzGaming/Switch2","owner":{"login":"EzGaming","id":9638389,"avatar_url":"https://avatars.githubusercontent.com/u/9638389?v=3","gravatar_id":"","url":"https://api.github.com/users/EzGaming","html_url":"https://github.com/EzGaming","followers_url":"https://api.github.com/users/EzGaming/followers","following_url":"https://api.github.com/users/EzGaming/following{/other_user}","gists_url":"https://api.github.com/users/EzGaming/gists{/gist_id}","starred_url":"https://api.github.com/users/EzGaming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EzGaming/subscriptions","organizations_url":"https://api.github.com/users/EzGaming/orgs","repos_url":"https://api.github.com/users/EzGaming/repos","events_url":"https://api.github.com/users/EzGaming/events{/privacy}","received_events_url":"https://api.github.com/users/EzGaming/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/EzGaming/Switch2","description":"The sequel to the game Switch","fork":false,"url":"https://api.github.com/repos/EzGaming/Switch2","forks_url":"https://api.github.com/repos/EzGaming/Switch2/forks","keys_url":"https://api.github.com/repos/EzGaming/Switch2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EzGaming/Switch2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EzGaming/Switch2/teams","hooks_url":"https://api.github.com/repos/EzGaming/Switch2/hooks","issue_events_url":"https://api.github.com/repos/EzGaming/Switch2/issues/events{/number}","events_url":"https://api.github.com/repos/EzGaming/Switch2/events","assignees_url":"https://api.github.com/repos/EzGaming/Switch2/assignees{/user}","branches_url":"https://api.github.com/repos/EzGaming/Switch2/branches{/branch}","tags_url":"https://api.github.com/repos/EzGaming/Switch2/tags","blobs_url":"https://api.github.com/repos/EzGaming/Switch2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EzGaming/Switch2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EzGaming/Switch2/git/refs{/sha}","trees_url":"https://api.github.com/repos/EzGaming/Switch2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EzGaming/Switch2/statuses/{sha}","languages_url":"https://api.github.com/repos/EzGaming/Switch2/languages","stargazers_url":"https://api.github.com/repos/EzGaming/Switch2/stargazers","contributors_url":"https://api.github.com/repos/EzGaming/Switch2/contributors","subscribers_url":"https://api.github.com/repos/EzGaming/Switch2/subscribers","subscription_url":"https://api.github.com/repos/EzGaming/Switch2/subscription","commits_url":"https://api.github.com/repos/EzGaming/Switch2/commits{/sha}","git_commits_url":"https://api.github.com/repos/EzGaming/Switch2/git/commits{/sha}","comments_url":"https://api.github.com/repos/EzGaming/Switch2/comments{/number}","issue_comment_url":"https://api.github.com/repos/EzGaming/Switch2/issues/comments{/number}","contents_url":"https://api.github.com/repos/EzGaming/Switch2/contents/{+path}","compare_url":"https://api.github.com/repos/EzGaming/Switch2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EzGaming/Switch2/merges","archive_url":"https://api.github.com/repos/EzGaming/Switch2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EzGaming/Switch2/downloads","issues_url":"https://api.github.com/repos/EzGaming/Switch2/issues{/number}","pulls_url":"https://api.github.com/repos/EzGaming/Switch2/pulls{/number}","milestones_url":"https://api.github.com/repos/EzGaming/Switch2/milestones{/number}","notifications_url":"https://api.github.com/repos/EzGaming/Switch2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EzGaming/Switch2/labels{/name}","releases_url":"https://api.github.com/repos/EzGaming/Switch2/releases{/id}","created_at":"2015-06-08T13:05:59Z","updated_at":"2015-06-16T18:56:21Z","pushed_at":"2015-07-12T17:07:29Z","git_url":"git://github.com/EzGaming/Switch2.git","ssh_url":"git@github.com:EzGaming/Switch2.git","clone_url":"https://github.com/EzGaming/Switch2.git","svn_url":"https://github.com/EzGaming/Switch2","homepage":null,"size":1060,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/EzGaming/Switch2/pulls/6"},"html":{"href":"https://github.com/EzGaming/Switch2/pull/6"},"issue":{"href":"https://api.github.com/repos/EzGaming/Switch2/issues/6"},"comments":{"href":"https://api.github.com/repos/EzGaming/Switch2/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/EzGaming/Switch2/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/EzGaming/Switch2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/EzGaming/Switch2/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/EzGaming/Switch2/statuses/2977b0510973747092cf9e98e0652fc9a6ed26aa"}}}}