Skip to content

Instantly share code, notes, and snippets.

View paulhocker's full-sized avatar

Paul Hocker paulhocker

View GitHub Profile
@alvivar
alvivar / TeaTime.cs
Last active May 20, 2016 02:22
TeaTime is a fast & simple queue for timed callbacks, focused on solving common coroutines patterns in Unity games.
// @
// TeaTime v0.8.1 beta
// TeaTime is a fast & simple queue for timed callbacks, focused on solving
// common coroutines patterns in Unity games.
// Andrés Villalobos ~ twitter.com/matnesis ~ [email protected]
// Created 2014/12/26 12:21 am ~ Rewritten 2015/09/15 12:28 pm
@shanecelis
shanecelis / CoroutineTests.cs
Last active July 15, 2022 15:03
I was curious about how one could manually drive Unity's coroutines without necessarily putting them into Unity's scheduler.
/*
CoroutineTests.cs -- Shane Celis
I was curious about how one could manually drive Unity's coroutines
without necessarily putting them into Unity's scheduler. At the
heart of it, it's really easy to manually drive them:
// Get the coroutine.
IEnumerator ienum = MyCoroutine();
// Run it until it yields.