style: in-game guide formatting

Make the in-game guide look nicer by formatting

Add link to source code for further reference
This commit is contained in:
anavoi 2025-03-15 21:40:32 +01:00
commit 0fe4de92fa

View file

@ -70,15 +70,15 @@ public class GBSUGui : MonoBehaviour
GUI.skin.label.alignment = TextAnchor.UpperLeft;
GUILayout.Label($@"==Guide==
CLI arguments have to be set to join or host: -ip, -port, -servername, -serverpassword
Set CLI arguments: -ip, -port, -servername, -serverpassword
[Hosting]
1. Create a config in Gang Beasts_Data/Config/Rotation/config.json
2.Press the 'Host' button while in the Main Menu.
2. Press the 'Host' button while in the Main Menu
[Joining]
1. Go to Online
2. Press the 'Join' button.");
2. Press the 'Join' button");
if (GUI.Button(new Rect(320f, 10f, 55f, 30f), "KILL"))
{
Application.Quit(0);
@ -139,14 +139,18 @@ CLI arguments have to be set to join or host: -ip, -port, -servername, -serverpa
QualitySettings.vSyncCount = vsync_switch;
}
GUI.Label(new Rect(20f, 365f, 365f, 400f), $@"Current map: {currentmap}
GUI.Label(new Rect(20f, 365f, 365f, 400f), $@"
Current map: {currentmap}
Lobby State: {LobbyManager.Instance.LobbyStates.SelfState}
Game State: {_internalCurrentState}
Vsync: {QualitySettings.vSyncCount}
Target FPS: {Application.targetFrameRate}
{UpdateScoreDisplay()}
Made with <3 by anavoi at Gaboule Community (gaboule.com)");
Made with <3 by anavoi at Gaboule Community (gaboule.com)
Free and open-source software under GPLv3. Our source code is availaible at git.gaboule.com/Gaboule/GBSU
Please refer to the documentation for more information.");
GUI.DragWindow(new Rect(0, 0, 10000, 10000));
}