{"id":19489034,"url":"https://github.com/comradevanti/unitywaitforanim","last_synced_at":"2025-04-25T18:32:54.484Z","repository":{"id":108749496,"uuid":"463556771","full_name":"ComradeVanti/UnityWaitForAnim","owner":"ComradeVanti","description":"A custom yield-instruction for Unity to wait for animations to finish","archived":false,"fork":false,"pushed_at":"2024-03-19T10:34:45.000Z","size":30,"stargazers_count":49,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-19T08:35:46.185Z","etag":null,"topics":["animation","animator","async","coroutine","package","unity","unity3d","utility","wait","yield"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ComradeVanti.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-02-25T14:11:04.000Z","updated_at":"2024-09-02T03:47:59.000Z","dependencies_parsed_at":"2023-06-04T18:15:17.737Z","dependency_job_id":null,"html_url":"https://github.com/ComradeVanti/UnityWaitForAnim","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComradeVanti%2FUnityWaitForAnim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComradeVanti%2FUnityWaitForAnim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComradeVanti%2FUnityWaitForAnim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComradeVanti%2FUnityWaitForAnim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ComradeVanti","download_url":"https://codeload.github.com/ComradeVanti/UnityWaitForAnim/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250872420,"owners_count":21500818,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["animation","animator","async","coroutine","package","unity","unity3d","utility","wait","yield"],"created_at":"2024-11-10T21:07:07.580Z","updated_at":"2025-04-25T18:32:54.217Z","avatar_url":"https://github.com/ComradeVanti.png","language":"C#","readme":"# WaitForAnim\n\n[![openupm](https://img.shields.io/npm/v/dev.comradevanti.wait-for-anim?label=openupm\u0026registry_uri=https://package.openupm.com)](https://openupm.com/packages/dev.comradevanti.wait-for-anim/)\n\nA Unity-package for waiting for animations in coroutines.\n\nCheck out the wiki [here](https://github.com/ComradeVanti/UnityWaitForAnim/wiki).\n\nFound any issues? Leave\nthem [here](https://github.com/ComradeVanti/UnityWaitForAnim/issues).\n\nWant to see what's new? The changelog\nis [here](https://github.com/ComradeVanti/UnityWaitForAnim/blob/main/CHANGELOG.md).\n\n**⚠️ Development is paused ⚠️**  \nNo new features will be added or bugs fixed unless requested through an issue.  \nIf you wish to fork this repository and continue the work, you are very welcome\nto do so.\n\n## Features\n\n### Start an animation and wait for it to finish\n\nIf you want to wait for an animation to stop playing, you can use `WaitForAnimationToFinish`.\n\n```csharp\nyield return new WaitForAnimationToFinish(animator, \"MyAnim\");\n```\n\nYou can also start an animation and wait for it to finish using the extension method `PlayAndWait`.\n\n```csharp\nyield return animator.PlayAndWait(\"MyAnim\");\n```\n\n### Wait for an animation to start\n\nIf you want to wait for an animation to start playing, you can use `WaitForAnimationToStart`.\n\n```csharp\nyield return new WaitForAnimationToStart(animator, \"Test\");\n```\n\n## Installation\n\nThe quickest way is to install via [OpenUPM](https://openupm.com)\nusing `openupm add dev.comradevanti.wait-for-anim`.\n\nOr install manually\nas [git dependency](https://docs.unity3d.com/Manual/upm-ui-giturl.html)\nfrom `https://github.com/ComradeVanti/UnityWaitForAnim.git` or download as zip\nand [import locally](https://docs.unity3d.com/Manual/upm-ui-local.html).\n\n## Compatability\n\nDeveloped with Unity 2020.3 but good chance that it will work with earlier\nversions, though this has not been tested.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomradevanti%2Funitywaitforanim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomradevanti%2Funitywaitforanim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomradevanti%2Funitywaitforanim/lists"}