Skip to content

Instantly share code, notes, and snippets.

View DanPuzey's full-sized avatar

Dan Puzey DanPuzey

View GitHub Profile
@DanPuzey
DanPuzey / Promise.cs
Last active July 14, 2023 02:18
Unity3d: promises for Coroutines
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Promises
{
/// <summary>
/// Contains extension methods that provide promise-like behaviour for coroutines.
/// </summary>