Kaynağa Gözat

修改实体箭重和默认游戏箭重,用户存储信息版本升级

lvjincheng 4 yıl önce
ebeveyn
işleme
b08bb9368c

+ 2 - 2
Assets/BowArrow/Resources/Prefabs/BluetoothHolder.prefab

@@ -4752,7 +4752,7 @@ MonoBehaviour:
   ArmBowInputField: {fileID: 4889630303034740394}
   canAdjustNormalOrHightMode: 0
   transportMode: 0
-  arrowWeight: 60
+  arrowWeight: 75
 --- !u!1 &4155488363616937900
 GameObject:
   m_ObjectHideFlags: 0
@@ -5380,7 +5380,7 @@ MonoBehaviour:
   m_Script: {fileID: 11500000, guid: e5464d6e6018e9446afd6b54a9ef1431, type: 3}
   m_Name: 
   m_EditorClassIdentifier: 
-  serverIP: www.yuyekeji.cn
+  serverIP: 42.192.165.168
   text: {fileID: 0}
 --- !u!114 &4155488363985279407
 MonoBehaviour:

+ 2 - 2
Assets/BowArrow/Scripts/Manager/LoginMgr.cs

@@ -30,7 +30,7 @@ public class LoginMgr : MonoBehaviour
     [SerializeField] Text registerTip;
 
     public static UserInfo myUserInfo = new UserInfo();
-    static int userInfo_version = 0;
+    static int userInfo_version = 1000;
 
     int loginMode = 1;
 
@@ -263,7 +263,7 @@ public class UserInfo {
     public bool gameRule2GuideFinish = false;
     public bool openCrossHair = true;
     public int shootLevel = 0;
-    public float actualArrowWeight = 27; //实际需要的箭重,单位克
+    public float actualArrowWeight = 20; //游戏里的箭重,单位克
 
     public void Save()
     {