Comments and answers for "A'm I setting Up My GUI style Right?"http://answers.unity.com/questions/675259/am-i-setting-up-my-gui-style-right.html
The latest comments and answers for the question "A'm I setting Up My GUI style Right?"Comment by Gruffy on Gruffy's answerhttp://answers.unity.com/comments/675486/view.html
If you could do the same with the other Answer I gave you for your previous question too as the same principle applies n all that, that would be grand :)
Take care bud
GruffyFri, 28 Mar 2014 10:52:20 GMTGruffyComment by Gruffy on Gruffy's answerhttp://answers.unity.com/comments/675484/view.html
Hey bud, no worries, could you mark it as an answer so others with similar issues may find the solution easier in future.
Take care bud, and always around, so don`t be shy any problems, just ask away on here.
GruffyFri, 28 Mar 2014 10:50:56 GMTGruffyComment by itkeepshappening on itkeepshappening's answerhttp://answers.unity.com/comments/675293/view.html
Thank you so much! You have been a huge help. :)Fri, 28 Mar 2014 03:17:01 GMTitkeepshappeningComment by Gruffyhttp://answers.unity.com/comments/675290/view.html
no u dont need to put it anywhere else, you almost had it right and was a goid attempt in my eyes bud, just a small misplacement issue, my answer below in the answer slot should resolve your issue and give you what you wanted..
which I think is a label with text "score:" and then the numeric value adjacent to it.
If thats right, then yeah, below answers your question.Fri, 28 Mar 2014 03:13:58 GMTGruffyComment by itkeepshappeninghttp://answers.unity.com/comments/675281/view.html
Well I'm making a scoring system and for every second the player is alive then the score increases by one. That part is just adding the points to the GUI text.
Can I put that part elsewhere in the script?Fri, 28 Mar 2014 02:57:29 GMTitkeepshappeningComment by Gruffyhttp://answers.unity.com/comments/675278/view.html
Sorry bud, I re edited my comment and gave u answer, It only needed repositioning and some extra not needed stragglers like semicolons and curly braces . Anyway, should sort it for you now, check answer below . ; )
GruffyFri, 28 Mar 2014 02:54:23 GMTGruffyComment by itkeepshappeninghttp://answers.unity.com/comments/675272/view.html
Thanks for all your help man, really appreciate it.Fri, 28 Mar 2014 02:39:00 GMTitkeepshappeningAnswer by Gruffyhttp://answers.unity.com/answers/675267/view.html
Hey bud, your gui code call ends before it gets to the last bit.
What is this bit...
+ (int)(playerScore * 1));}
....supposed to be doing for you after ur gui call?
Is it for updating ur player score to the gui.
To do that, take this code you wrote....
+ (int)(playerScore * 1));}
Remove the `;}` and put the rest immediately after your label's string definition, like so...
"Score: "+ (int)(playerScore * 1)), MyGUIstyle);
That get it working for you, if thats what u were trying to get sorted at least.
thanks for reading.
Take care. GruffyFri, 28 Mar 2014 02:34:29 GMTGruffy