Skip to content

Instantly share code, notes, and snippets.

@momo-the-monster
Last active August 29, 2015 14:22
Show Gist options
  • Save momo-the-monster/70dd254297da2eec306b to your computer and use it in GitHub Desktop.
Save momo-the-monster/70dd254297da2eec306b to your computer and use it in GitHub Desktop.
Sample code from Dwell
// MIT License for original content by Momo the Monster
// For Dwell & PDXCCCards
// Feel free to remove the redundant braces in the for loop if you want it to read tighter.
internal void GrowMany()
{
Sequence s = DOTween.Sequence();
for (int i = 0; i < numberToGrow; i++)
{
s.AppendCallback(Grow).AppendInterval(growSpeed);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment