Exemplo n.º 1
0
 public void giveExp(int exp, Vector3 expPosition)
 {
     this.stats.exp += exp;
     this.UIPlayer.updateInfo();
     this.UIPlayer.spawnActionText(expPosition, "+" + exp + "XP", ColorExt.xpColor(), Tools.TEXT_SPEED / 4);
     Debug.Log("PLAYER GIVEN EXP WITH POSITION: " + exp);
 }