Skip to content

Instantly share code, notes, and snippets.

@rlewicki
Last active June 28, 2018 20:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rlewicki/266a8cdf8e39ba3b12e6604f67ddda81 to your computer and use it in GitHub Desktop.
Save rlewicki/266a8cdf8e39ba3b12e6604f67ddda81 to your computer and use it in GitHub Desktop.
public class Player : MonoBehaviour
{
private int _currentLevel;
public void LevelUp()
{
_currentLevel++;
PlayerLevelUp(_currentLevel);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment