Closed benchang02 closed 6 years ago
To modify the current "Performance" tab, need to edit some functions GUISpaces() : this draws the list of spaces. it has a hardcoded list of the "featured" spaces.
WindowFunctionPerformance and WindowFunctionPerformanceServer could be modified for installation context
not sure how these are currently made available.
drawn from here: case AppTab.Performance: GUI.Window(12, mGuiWinRectWindows, WindowFunctionPerformance, "Performance"); break;
there's also this config == "server" or "client" or "". if server or client then only that panel is visible.
loaded from config.txt at the beginning of App.Start()
that config is also used in GUILeft, GUIRight, etc to switch between different behaviors moving through gui items in response to the D-pad
would it make any difference to make this a Unity user pref instead of a text file config?
PlayerPrefs
string mode: "full", "server", "client" int autoLoadSpace // if server mode, the ID number of a space to load on launch string serverIP // if not null, try to connect to this server automatically on launch, if in client mode
these settings and the spaces list can all be in one tab, but only some of them are drawn depending on the "mode" setting.
Done
Should this be in the lobby? Seems like yes, because it needs to have the list of spaces to pick from. needs: