void Update() { NonUP Data = UIElements11.GetComponent <NonUP>(); i = Data.ULevel; Lvl.text = "LevelUp(" + i + ")"; }
void Start() { NonUP Data = GetComponent <NonUP>(); i = Data.Dexternity; i1 = Data.Dexternity; }
void Start() { NonUP Data = GetComponent <NonUP>(); i = Data.Endurance; i1 = Data.Endurance; }
void Start() { NonUP Data = GetComponent <NonUP>(); i = Data.Vitality; i1 = Data.Vitality; }
void Start() { NonUP Data = GetComponent <NonUP>(); i = Data.Constitution; i1 = Data.Constitution; }
public void Changepoint(int amount) { points = points + amount; string s1; s1 = (points).ToString(); selectedName1.text = s1; NonUP A = GetComponent <NonUP>(); A.Point1(points); }
public void Red() { info.text = "Dexternity : Increases Agility"; if (i > i1) { i = i - 1; StatPoint rb = GetComponent <StatPoint>(); double a = rb.points; rb.Changepoint(+1); Debug.Log(a); string s; s = (i).ToString(); selectedName.text = s; NonUP SD = GetComponent <NonUP>(); SD.Dexternity1(i); } }
public void Red() { info.text = "Endurance : Increases HP And Stamina"; if (i > i1) { i = i - 1; StatPoint rb = GetComponent <StatPoint>(); double a = rb.points; rb.Changepoint(+1); Debug.Log(a); string s; s = (i).ToString(); selectedName.text = s; NonUP SD = GetComponent <NonUP>(); SD.Endurance1(i); } }
public void Red() { info.text = "Vitality : Increases Physical Defence/Resistance"; if (i > i1) { i = i - 1; StatPoint rb = GetComponent <StatPoint>(); double a = rb.points; rb.Changepoint(+1); Debug.Log(a); string s; s = (i).ToString(); selectedName.text = s; NonUP SD = GetComponent <NonUP>(); SD.Vitality1(i); } }
public void Red() { info.text = "Constitution : Increases Increase Magic Defense/Resistance"; if (i > i1) { i = i - 1; StatPoint rb = GetComponent <StatPoint>(); double a = rb.points; rb.Changepoint(+1); Debug.Log(a); string s; s = (i).ToString(); selectedName.text = s; NonUP SD = GetComponent <NonUP>(); SD.Constitution1(i); } }
void Start() { NonUP Data = GetComponent <NonUP>(); points = (Data.ULevel) * 5; }
void Update() { NonUP Data = UIElements6.GetComponent <NonUP>(); i = Data.ULevel; }