{"id":14960876,"url":"https://github.com/sandrofigo/delay-unity3d","last_synced_at":"2025-10-24T19:30:31.335Z","repository":{"id":105896310,"uuid":"523837994","full_name":"sandrofigo/Delay-Unity3D","owner":"sandrofigo","description":"Simple delay class to execute code after a certain amount of time in Unity","archived":false,"fork":false,"pushed_at":"2024-01-30T14:48:38.000Z","size":34,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-23T11:32:09.971Z","etag":null,"topics":["delays","openupm","timing","unity","unity-3d","unity-scripts","unity2d","unity3d","unity3d-plugin","utility","utility-classes","utility-library"],"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/sandrofigo.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2022-08-11T19:04:12.000Z","updated_at":"2023-01-17T19:14:47.000Z","dependencies_parsed_at":"2024-01-30T16:12:21.210Z","dependency_job_id":null,"html_url":"https://github.com/sandrofigo/Delay-Unity3D","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandrofigo%2FDelay-Unity3D","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandrofigo%2FDelay-Unity3D/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandrofigo%2FDelay-Unity3D/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandrofigo%2FDelay-Unity3D/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sandrofigo","download_url":"https://codeload.github.com/sandrofigo/Delay-Unity3D/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219867815,"owners_count":16554365,"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":["delays","openupm","timing","unity","unity-3d","unity-scripts","unity2d","unity3d","unity3d-plugin","utility","utility-classes","utility-library"],"created_at":"2024-09-24T13:23:20.153Z","updated_at":"2025-10-24T19:30:30.988Z","avatar_url":"https://github.com/sandrofigo.png","language":"C#","readme":"# Delay\nSimple delay class to execute code after a certain amount of time in Unity.\n\n[![openupm](https://img.shields.io/npm/v/com.sandrofigo.delay-unity3d?label=openupm\u0026registry_uri=https://package.openupm.com)](https://openupm.com/packages/com.sandrofigo.delay-unity3d/)\n\n## Installation\nThere are multiple ways to install this package into your project:\n- Add it to your project through [OpenUPM](https://openupm.com/packages/com.sandrofigo.delay-unity3d/) (recommended)\n- Add the package to the Unity package manager using the HTTPS URL of this repository (recommended)\n- Download the whole repository as a .zip and place the contents into a subfolder in your assets folder\n- Fork the repository and add it as a submodule in git\n\n## Usage\n```csharp\nusing Timing;\nusing UnityEngine;\n\npublic class FooBar : MonoBehaviour\n{\n    public void Start()\n    {\n        Delay.Create(1f, () =\u003e Debug.Log(\"I will be executed after 1 second.\"));\n        \n        Delay.WaitUntil(() =\u003e Time.time \u003e= 5f, () =\u003e Debug.Log(\"I will wait until the provided condition is true.\"));\n    }\n}\n```\n\n## Collaboration\nSupport this project with a ⭐️, report an issue or if you feel adventurous and would like to extend the functionality open a pull request.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandrofigo%2Fdelay-unity3d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsandrofigo%2Fdelay-unity3d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandrofigo%2Fdelay-unity3d/lists"}