Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private function DisplayAttributes(){
- for(var i=0; i<CharData.StatNames.Length;i++){
- GUI.Label(Rect(Screen.width/2+200,Screen.height/2+(i *LINE_HEIGHT),100,LINE_HEIGHT), CharData.StatNames[i]);
- GUI.Label(Rect(Screen.width/2+305,Screen.height/2+(i *LINE_HEIGHT),50,LINE_HEIGHT), CharData.CurValue[i].ToString());
- }
- CharData.ShowExp();
- if(GUI.Button(Rect(Screen.width/2+320,Screen.height/2+LINE_HEIGHT,25, LINE_HEIGHT),">")){
- if(PointsLeft > 0){
- PointsLeft--;
- }
- }
- if(GUI.Button(Rect(Screen.width/2+275,Screen.height/2+LINE_HEIGHT,25, LINE_HEIGHT),"<")){
- PointsLeft++;
- }
- }
Add Comment
Please, Sign In to add comment