This commit is contained in:
2026-05-08 20:44:54 +08:00
parent 7dc8346014
commit 33cbe29118
790 changed files with 897 additions and 217 deletions
@@ -584,14 +584,11 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_ConstrainProportionsScale: 1
m_Children:
- {fileID: 1650206161006120839}
- {fileID: 2333206493424935410}
- {fileID: 2724128015881410653}
- {fileID: 3042691846684353951}
- {fileID: 551837965639396177}
- {fileID: 4852173693812700946}
- {fileID: 204604513151480833}
- {fileID: 6902867141089725737}
- {fileID: 14320621407032901}
@@ -599,12 +596,15 @@ RectTransform:
- {fileID: 4536363658807351205}
- {fileID: 6915003179490517050}
- {fileID: 1036674348043121168}
- {fileID: 2724128015881410653}
- {fileID: 551837965639396177}
- {fileID: 4852173693812700946}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 844, y: 1819}
m_SizeDelta: {x: 800, y: 1}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &4945707678152257400
CanvasRenderer:
@@ -627,7 +627,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 0.7529412}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
@@ -1349,10 +1349,10 @@ RectTransform:
m_Children: []
m_Father: {fileID: 2713217087351076567}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 100, y: 100}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &5363267187814578470
GameObject:
@@ -12,7 +12,7 @@ public class UIChineseChessCreateRoom : SubUIBase
public Toggle toggle_Red;
public Toggle toggle_Black;
public TMP_InputField tMPInput_Password;
int gameType=1;
int gameType=2;
// Start is called before the first frame update
public override void Awake()
{
@@ -42,8 +42,13 @@ public class UIChineseChessHint : SubUIBase
TongYi.onClick.AddListener(() =>
{
//WebSocketSendList.GameOperationChineseChess(v.roomData.roomId, 2, GameManager.Instance.user.id);
WebSocketSendList.EndGameChineseChess(v.roomData.roomId,targetID);
uIManager.Hide(UIPanel.ZGXQHint);
if (v.hintType == 1)
{
//WebSocketSendList.EndGameChineseChess(v.roomData.roomId, targetID);
WebSocketSendList.EndGameChineseChess(v.roomData.roomId, null);
uIManager.Hide(UIPanel.ZGXQHint);
}
});
JuJue.onClick.AddListener(() =>
{