Skip to content

Instantly share code, notes, and snippets.

@insthync
Created December 1, 2018 06:32
Show Gist options
  • Save insthync/34fea7fadcd521e7423f3921253c7138 to your computer and use it in GitHub Desktop.
Save insthync/34fea7fadcd521e7423f3921253c7138 to your computer and use it in GitHub Desktop.
minValue + Mathf.CeilToInt((maxValue - minValue) * Mathf.Pow((float)(currentLevel - 1) / (float)(maxLevel - 1), growth))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment