Question by
pastaskamisama · Jan 09, 2016 at 08:39 PM ·
error
Help with parsing error!
i can't find it, please help!
using UnityEngine; using System.Collections;
public class static IncreaseExpierence {
private static int xpToGive;
public static void AddExpierence(){
xpToGive = GameInformation.PlayerLevel * 100;
GameInformation.CurrentXP += xpToGive;
CheckToSeeIfPlayerLeveled();
Debug.Log(xpToGive);
}
public static void AddExperienceFromLoss(){
xpToGive = GameInformation.PlayerLevel * 10;
GameInformation.CurrentXP += xpToGive;
CheckToSeeIfPlayerLeveled();
Debug.Log(xpToGive);
}
private void CheckToSeeIfPlayerLeveled(){
if (GameInformation.CurrentXP >= GameInformation.RequiredXP){
}
}
}
Comment
Best Answer
Answer by vintar · Jan 09, 2016 at 08:48 PM
should be : public static class IncreaseExpierence
Your answer
