Thanks for the code.
It still isn’t the most user friendly approach but it does the trick.
@GAVALAKIS it would be nice if you could add something like this into the next release.
And I’ve noticed that the X button (and the added “UP” and “DN” buttons) do not show if the statement of a choice is too long.
So I’ve added this for now:
1
2
3
4
5
6
7
8
vararrowDir=choice.isUnfolded?"▼ ":"► ";
stringstatement=choice.statement.text;
if(statement.Length>30)
statement=statement.Substring(0,30)+"...";
GUILayout.Label(arrowDir+statement);
Login
Register
By registering on this website you agree to our Privacy Policy.