Last active
August 29, 2015 14:22
-
-
Save momo-the-monster/70dd254297da2eec306b to your computer and use it in GitHub Desktop.
Sample code from Dwell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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