打印版本信息

This commit is contained in:
陈向学 2024-06-26 17:58:41 +08:00
parent 00ee64d777
commit a09e3dbfa5
2 changed files with 6 additions and 1 deletions

View File

@ -171,7 +171,7 @@ MonoBehaviour:
customCode: 3505
customName: 1
MONITOR_ID: CNMAW350015
ServerIP: 172.16.1.164
ServerIP: 172.16.1.253
--- !u!1 &1119662809
GameObject:
m_ObjectHideFlags: 0

View File

@ -48,6 +48,11 @@ public class CallForTest : MonoBehaviour
#endif
}
private void OnGUI()
{
GUI.Label(new Rect(20, Screen.height-30, 200, 50), "v"+Application.version);
}
private void Start()
{
//获取启动参数