{"action":"created","issue":{"url":"https://api.github.com/repos/Demigiant/dotween/issues/4","labels_url":"https://api.github.com/repos/Demigiant/dotween/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Demigiant/dotween/issues/4/comments","events_url":"https://api.github.com/repos/Demigiant/dotween/issues/4/events","html_url":"https://github.com/Demigiant/dotween/issues/4","id":64275372,"number":4,"title":"Nested sequencedTweens doesn't complete ok Kill method","user":{"login":"Igor-Pchelko","id":3447872,"avatar_url":"https://avatars.githubusercontent.com/u/3447872?v=3","gravatar_id":"","url":"https://api.github.com/users/Igor-Pchelko","html_url":"https://github.com/Igor-Pchelko","followers_url":"https://api.github.com/users/Igor-Pchelko/followers","following_url":"https://api.github.com/users/Igor-Pchelko/following{/other_user}","gists_url":"https://api.github.com/users/Igor-Pchelko/gists{/gist_id}","starred_url":"https://api.github.com/users/Igor-Pchelko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Igor-Pchelko/subscriptions","organizations_url":"https://api.github.com/users/Igor-Pchelko/orgs","repos_url":"https://api.github.com/users/Igor-Pchelko/repos","events_url":"https://api.github.com/users/Igor-Pchelko/events{/privacy}","received_events_url":"https://api.github.com/users/Igor-Pchelko/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Demigiant/dotween/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/Demigiant/dotween/labels/resolved","name":"resolved","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-25T13:56:37Z","updated_at":"2015-03-25T16:17:34Z","closed_at":"2015-03-25T15:31:25Z","body":"Hello, \r\n\r\nFirst of all thank you for DOTween!\r\n\r\nI use sub sequnces a lot. And I have a problem, when I use DOTween.Kill(gameObject, true);\r\nI expect that all tween will complete, but only top level sequence receive this state.\r\nMoreover sub sequnces/tweens don't finaliase its states.\r\n\r\nSo I've tried to find some workaround. I've patched TweenManager.cs \"Complete\" method like this:\r\n```\r\n        internal static bool Complete(Tween t, bool modifyActiveLists = true)\r\n        {\r\n            if (t.loops == -1) return false;\r\n            if (!t.isComplete) {\r\n                //////////////////////////////////////////////////////////////////////////////\r\n                // FIX: PI: Fixed situation when nested sequences doesn't tweens till end\r\n                if (t.tweenType == TweenType.Sequence)\r\n                {\r\n                    Sequence s = (Sequence)t;\r\n                    int len = s.sequencedTweens.Count;\r\n                    for (int i = 0; i < len; ++i)\r\n                        Complete(s.sequencedTweens[i], modifyActiveLists);\r\n                }\r\n                //////////////////////////////////////////////////////////////////////////////\r\n                \r\n                Tween.DoGoto(t, t.duration, t.loops, UpdateMode.Goto);\r\n                t.isPlaying = false;\r\n                // Despawn if needed\r\n                if (t.autoKill) {\r\n                    if (isUpdateLoop) t.active = false; // Just mark it for killing, so the update loop will take care of it\r\n                    else Despawn(t, modifyActiveLists);\r\n                }\r\n                return true;\r\n            }\r\n            return false;\r\n        }\r\n```\r\n\r\nCan you please check this approach or provide better solution for this issue?\r\n"},"comment":{"url":"https://api.github.com/repos/Demigiant/dotween/issues/comments/86101783","html_url":"https://github.com/Demigiant/dotween/issues/4#issuecomment-86101783","issue_url":"https://api.github.com/repos/Demigiant/dotween/issues/4","id":86101783,"user":{"login":"Demigiant","id":8322877,"avatar_url":"https://avatars.githubusercontent.com/u/8322877?v=3","gravatar_id":"","url":"https://api.github.com/users/Demigiant","html_url":"https://github.com/Demigiant","followers_url":"https://api.github.com/users/Demigiant/followers","following_url":"https://api.github.com/users/Demigiant/following{/other_user}","gists_url":"https://api.github.com/users/Demigiant/gists{/gist_id}","starred_url":"https://api.github.com/users/Demigiant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Demigiant/subscriptions","organizations_url":"https://api.github.com/users/Demigiant/orgs","repos_url":"https://api.github.com/users/Demigiant/repos","events_url":"https://api.github.com/users/Demigiant/events{/privacy}","received_events_url":"https://api.github.com/users/Demigiant/received_events","type":"User","site_admin":false},"created_at":"2015-03-25T16:17:34Z","updated_at":"2015-03-25T16:17:34Z","body":"Can you check if it's working for you with the previous update? I just checked and all the callbacks are being called here."}}