{"action":"created","comment":{"url":"https://api.github.com/repos/Capstrong/behaviorTree/pulls/comments/27700315","id":27700315,"diff_hunk":"@@ -0,0 +1,29 @@\n+﻿using UnityEngine;\n+using System.Collections;\n+\n+namespace BehaviorTree\n+{\n+\tpublic sealed class RepeatUntilFail : Decorator\n+\t{\n+\t\tpublic override TreeNode Init( Hashtable data )\n+\t\t{\n+\t\t\treturn base.Init( data );\n+\t\t}","path":"Nodes/Decorators/RepeatUntilFail.cs","position":11,"original_position":11,"commit_id":"bc77da6ff021349583627c17fbf7c8da4a0ed6fb","original_commit_id":"bc77da6ff021349583627c17fbf7c8da4a0ed6fb","user":{"login":"excaliburHisSheath","id":1900829,"avatar_url":"https://avatars.githubusercontent.com/u/1900829?v=3","gravatar_id":"","url":"https://api.github.com/users/excaliburHisSheath","html_url":"https://github.com/excaliburHisSheath","followers_url":"https://api.github.com/users/excaliburHisSheath/followers","following_url":"https://api.github.com/users/excaliburHisSheath/following{/other_user}","gists_url":"https://api.github.com/users/excaliburHisSheath/gists{/gist_id}","starred_url":"https://api.github.com/users/excaliburHisSheath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/excaliburHisSheath/subscriptions","organizations_url":"https://api.github.com/users/excaliburHisSheath/orgs","repos_url":"https://api.github.com/users/excaliburHisSheath/repos","events_url":"https://api.github.com/users/excaliburHisSheath/events{/privacy}","received_events_url":"https://api.github.com/users/excaliburHisSheath/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2015-04-02T21:44:28Z","updated_at":"2015-04-02T21:44:28Z","html_url":"https://github.com/Capstrong/behaviorTree/pull/5#discussion_r27700315","pull_request_url":"https://api.github.com/repos/Capstrong/behaviorTree/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/Capstrong/behaviorTree/pulls/comments/27700315"},"html":{"href":"https://github.com/Capstrong/behaviorTree/pull/5#discussion_r27700315"},"pull_request":{"href":"https://api.github.com/repos/Capstrong/behaviorTree/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/Capstrong/behaviorTree/pulls/5","id":32383350,"html_url":"https://github.com/Capstrong/behaviorTree/pull/5","diff_url":"https://github.com/Capstrong/behaviorTree/pull/5.diff","patch_url":"https://github.com/Capstrong/behaviorTree/pull/5.patch","issue_url":"https://api.github.com/repos/Capstrong/behaviorTree/issues/5","number":5,"state":"open","locked":false,"title":"Performance work","user":{"login":"excaliburHisSheath","id":1900829,"avatar_url":"https://avatars.githubusercontent.com/u/1900829?v=3","gravatar_id":"","url":"https://api.github.com/users/excaliburHisSheath","html_url":"https://github.com/excaliburHisSheath","followers_url":"https://api.github.com/users/excaliburHisSheath/followers","following_url":"https://api.github.com/users/excaliburHisSheath/following{/other_user}","gists_url":"https://api.github.com/users/excaliburHisSheath/gists{/gist_id}","starred_url":"https://api.github.com/users/excaliburHisSheath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/excaliburHisSheath/subscriptions","organizations_url":"https://api.github.com/users/excaliburHisSheath/orgs","repos_url":"https://api.github.com/users/excaliburHisSheath/repos","events_url":"https://api.github.com/users/excaliburHisSheath/events{/privacy}","received_events_url":"https://api.github.com/users/excaliburHisSheath/received_events","type":"User","site_admin":false},"body":"- I made `TreeNode` inherit from `ScriptableObject`, so now every node in the tree is turned into a new asset. To handle this, all nodes are added to the same asset file as the behavior tree. This has the unfortunate effect of demoting the behavior tree object from the main object (it just appears as one of the sub-objects like all the nodes), but it's an overall improvement.\r\n- Implemented an execution stack for the behavior tree which tracks allows us to only tick the current leaf node rather than all of the nodes every frame. This required a change in the ticking protocol where it takes in the result if its child, rather than ticking its child directly.","created_at":"2015-04-01T02:00:03Z","updated_at":"2015-04-02T21:44:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"487d5b2dbb77fa7f29b3eefe0e95749a3e6a9f53","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Capstrong/behaviorTree/pulls/5/commits","review_comments_url":"https://api.github.com/repos/Capstrong/behaviorTree/pulls/5/comments","review_comment_url":"https://api.github.com/repos/Capstrong/behaviorTree/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Capstrong/behaviorTree/issues/5/comments","statuses_url":"https://api.github.com/repos/Capstrong/behaviorTree/statuses/bc77da6ff021349583627c17fbf7c8da4a0ed6fb","head":{"label":"Capstrong:performance_work","ref":"performance_work","sha":"bc77da6ff021349583627c17fbf7c8da4a0ed6fb","user":{"login":"Capstrong","id":10466570,"avatar_url":"https://avatars.githubusercontent.com/u/10466570?v=3","gravatar_id":"","url":"https://api.github.com/users/Capstrong","html_url":"https://github.com/Capstrong","followers_url":"https://api.github.com/users/Capstrong/followers","following_url":"https://api.github.com/users/Capstrong/following{/other_user}","gists_url":"https://api.github.com/users/Capstrong/gists{/gist_id}","starred_url":"https://api.github.com/users/Capstrong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Capstrong/subscriptions","organizations_url":"https://api.github.com/users/Capstrong/orgs","repos_url":"https://api.github.com/users/Capstrong/repos","events_url":"https://api.github.com/users/Capstrong/events{/privacy}","received_events_url":"https://api.github.com/users/Capstrong/received_events","type":"Organization","site_admin":false},"repo":{"id":29400342,"name":"behaviorTree","full_name":"Capstrong/behaviorTree","owner":{"login":"Capstrong","id":10466570,"avatar_url":"https://avatars.githubusercontent.com/u/10466570?v=3","gravatar_id":"","url":"https://api.github.com/users/Capstrong","html_url":"https://github.com/Capstrong","followers_url":"https://api.github.com/users/Capstrong/followers","following_url":"https://api.github.com/users/Capstrong/following{/other_user}","gists_url":"https://api.github.com/users/Capstrong/gists{/gist_id}","starred_url":"https://api.github.com/users/Capstrong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Capstrong/subscriptions","organizations_url":"https://api.github.com/users/Capstrong/orgs","repos_url":"https://api.github.com/users/Capstrong/repos","events_url":"https://api.github.com/users/Capstrong/events{/privacy}","received_events_url":"https://api.github.com/users/Capstrong/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Capstrong/behaviorTree","description":"A behavior tree implementation for Unity.","fork":false,"url":"https://api.github.com/repos/Capstrong/behaviorTree","forks_url":"https://api.github.com/repos/Capstrong/behaviorTree/forks","keys_url":"https://api.github.com/repos/Capstrong/behaviorTree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Capstrong/behaviorTree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Capstrong/behaviorTree/teams","hooks_url":"https://api.github.com/repos/Capstrong/behaviorTree/hooks","issue_events_url":"https://api.github.com/repos/Capstrong/behaviorTree/issues/events{/number}","events_url":"https://api.github.com/repos/Capstrong/behaviorTree/events","assignees_url":"https://api.github.com/repos/Capstrong/behaviorTree/assignees{/user}","branches_url":"https://api.github.com/repos/Capstrong/behaviorTree/branches{/branch}","tags_url":"https://api.github.com/repos/Capstrong/behaviorTree/tags","blobs_url":"https://api.github.com/repos/Capstrong/behaviorTree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Capstrong/behaviorTree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Capstrong/behaviorTree/git/refs{/sha}","trees_url":"https://api.github.com/repos/Capstrong/behaviorTree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Capstrong/behaviorTree/statuses/{sha}","languages_url":"https://api.github.com/repos/Capstrong/behaviorTree/languages","stargazers_url":"https://api.github.com/repos/Capstrong/behaviorTree/stargazers","contributors_url":"https://api.github.com/repos/Capstrong/behaviorTree/contributors","subscribers_url":"https://api.github.com/repos/Capstrong/behaviorTree/subscribers","subscription_url":"https://api.github.com/repos/Capstrong/behaviorTree/subscription","commits_url":"https://api.github.com/repos/Capstrong/behaviorTree/commits{/sha}","git_commits_url":"https://api.github.com/repos/Capstrong/behaviorTree/git/commits{/sha}","comments_url":"https://api.github.com/repos/Capstrong/behaviorTree/comments{/number}","issue_comment_url":"https://api.github.com/repos/Capstrong/behaviorTree/issues/comments{/number}","contents_url":"https://api.github.com/repos/Capstrong/behaviorTree/contents/{+path}","compare_url":"https://api.github.com/repos/Capstrong/behaviorTree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Capstrong/behaviorTree/merges","archive_url":"https://api.github.com/repos/Capstrong/behaviorTree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Capstrong/behaviorTree/downloads","issues_url":"https://api.github.com/repos/Capstrong/behaviorTree/issues{/number}","pulls_url":"https://api.github.com/repos/Capstrong/behaviorTree/pulls{/number}","milestones_url":"https://api.github.com/repos/Capstrong/behaviorTree/milestones{/number}","notifications_url":"https://api.github.com/repos/Capstrong/behaviorTree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Capstrong/behaviorTree/labels{/name}","releases_url":"https://api.github.com/repos/Capstrong/behaviorTree/releases{/id}","created_at":"2015-01-17T18:06:02Z","updated_at":"2015-02-03T21:24:32Z","pushed_at":"2015-04-02T21:24:10Z","git_url":"git://github.com/Capstrong/behaviorTree.git","ssh_url":"git@github.com:Capstrong/behaviorTree.git","clone_url":"https://github.com/Capstrong/behaviorTree.git","svn_url":"https://github.com/Capstrong/behaviorTree","homepage":null,"size":300,"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":"Capstrong:master","ref":"master","sha":"41963bfb2de0bc0e318c16810252027214d79991","user":{"login":"Capstrong","id":10466570,"avatar_url":"https://avatars.githubusercontent.com/u/10466570?v=3","gravatar_id":"","url":"https://api.github.com/users/Capstrong","html_url":"https://github.com/Capstrong","followers_url":"https://api.github.com/users/Capstrong/followers","following_url":"https://api.github.com/users/Capstrong/following{/other_user}","gists_url":"https://api.github.com/users/Capstrong/gists{/gist_id}","starred_url":"https://api.github.com/users/Capstrong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Capstrong/subscriptions","organizations_url":"https://api.github.com/users/Capstrong/orgs","repos_url":"https://api.github.com/users/Capstrong/repos","events_url":"https://api.github.com/users/Capstrong/events{/privacy}","received_events_url":"https://api.github.com/users/Capstrong/received_events","type":"Organization","site_admin":false},"repo":{"id":29400342,"name":"behaviorTree","full_name":"Capstrong/behaviorTree","owner":{"login":"Capstrong","id":10466570,"avatar_url":"https://avatars.githubusercontent.com/u/10466570?v=3","gravatar_id":"","url":"https://api.github.com/users/Capstrong","html_url":"https://github.com/Capstrong","followers_url":"https://api.github.com/users/Capstrong/followers","following_url":"https://api.github.com/users/Capstrong/following{/other_user}","gists_url":"https://api.github.com/users/Capstrong/gists{/gist_id}","starred_url":"https://api.github.com/users/Capstrong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Capstrong/subscriptions","organizations_url":"https://api.github.com/users/Capstrong/orgs","repos_url":"https://api.github.com/users/Capstrong/repos","events_url":"https://api.github.com/users/Capstrong/events{/privacy}","received_events_url":"https://api.github.com/users/Capstrong/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Capstrong/behaviorTree","description":"A behavior tree implementation for Unity.","fork":false,"url":"https://api.github.com/repos/Capstrong/behaviorTree","forks_url":"https://api.github.com/repos/Capstrong/behaviorTree/forks","keys_url":"https://api.github.com/repos/Capstrong/behaviorTree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Capstrong/behaviorTree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Capstrong/behaviorTree/teams","hooks_url":"https://api.github.com/repos/Capstrong/behaviorTree/hooks","issue_events_url":"https://api.github.com/repos/Capstrong/behaviorTree/issues/events{/number}","events_url":"https://api.github.com/repos/Capstrong/behaviorTree/events","assignees_url":"https://api.github.com/repos/Capstrong/behaviorTree/assignees{/user}","branches_url":"https://api.github.com/repos/Capstrong/behaviorTree/branches{/branch}","tags_url":"https://api.github.com/repos/Capstrong/behaviorTree/tags","blobs_url":"https://api.github.com/repos/Capstrong/behaviorTree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Capstrong/behaviorTree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Capstrong/behaviorTree/git/refs{/sha}","trees_url":"https://api.github.com/repos/Capstrong/behaviorTree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Capstrong/behaviorTree/statuses/{sha}","languages_url":"https://api.github.com/repos/Capstrong/behaviorTree/languages","stargazers_url":"https://api.github.com/repos/Capstrong/behaviorTree/stargazers","contributors_url":"https://api.github.com/repos/Capstrong/behaviorTree/contributors","subscribers_url":"https://api.github.com/repos/Capstrong/behaviorTree/subscribers","subscription_url":"https://api.github.com/repos/Capstrong/behaviorTree/subscription","commits_url":"https://api.github.com/repos/Capstrong/behaviorTree/commits{/sha}","git_commits_url":"https://api.github.com/repos/Capstrong/behaviorTree/git/commits{/sha}","comments_url":"https://api.github.com/repos/Capstrong/behaviorTree/comments{/number}","issue_comment_url":"https://api.github.com/repos/Capstrong/behaviorTree/issues/comments{/number}","contents_url":"https://api.github.com/repos/Capstrong/behaviorTree/contents/{+path}","compare_url":"https://api.github.com/repos/Capstrong/behaviorTree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Capstrong/behaviorTree/merges","archive_url":"https://api.github.com/repos/Capstrong/behaviorTree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Capstrong/behaviorTree/downloads","issues_url":"https://api.github.com/repos/Capstrong/behaviorTree/issues{/number}","pulls_url":"https://api.github.com/repos/Capstrong/behaviorTree/pulls{/number}","milestones_url":"https://api.github.com/repos/Capstrong/behaviorTree/milestones{/number}","notifications_url":"https://api.github.com/repos/Capstrong/behaviorTree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Capstrong/behaviorTree/labels{/name}","releases_url":"https://api.github.com/repos/Capstrong/behaviorTree/releases{/id}","created_at":"2015-01-17T18:06:02Z","updated_at":"2015-02-03T21:24:32Z","pushed_at":"2015-04-02T21:24:10Z","git_url":"git://github.com/Capstrong/behaviorTree.git","ssh_url":"git@github.com:Capstrong/behaviorTree.git","clone_url":"https://github.com/Capstrong/behaviorTree.git","svn_url":"https://github.com/Capstrong/behaviorTree","homepage":null,"size":300,"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/Capstrong/behaviorTree/pulls/5"},"html":{"href":"https://github.com/Capstrong/behaviorTree/pull/5"},"issue":{"href":"https://api.github.com/repos/Capstrong/behaviorTree/issues/5"},"comments":{"href":"https://api.github.com/repos/Capstrong/behaviorTree/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/Capstrong/behaviorTree/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/Capstrong/behaviorTree/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Capstrong/behaviorTree/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/Capstrong/behaviorTree/statuses/bc77da6ff021349583627c17fbf7c8da4a0ed6fb"}}}}