21212
This commit is contained in:
parent
071fe49e58
commit
ed3786d797
Assets
Resources
Temp/Scripts
|
@ -6288,7 +6288,7 @@ RectTransform:
|
|||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0.5}
|
||||
m_AnchorMax: {x: 0, y: 0.5}
|
||||
m_AnchoredPosition: {x: 0, y: 2208927}
|
||||
m_AnchoredPosition: {x: 0, y: 2208642.5}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0, y: 1}
|
||||
--- !u!114 &7554510022850465655
|
||||
|
|
|
@ -582,7 +582,7 @@ RectTransform:
|
|||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0.5}
|
||||
m_AnchorMax: {x: 0, y: 0.5}
|
||||
m_AnchoredPosition: {x: 0, y: 397.93872}
|
||||
m_AnchoredPosition: {x: 0, y: 379.4992}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0, y: 1}
|
||||
--- !u!114 &7621630000060616885
|
||||
|
@ -1727,7 +1727,7 @@ MonoBehaviour:
|
|||
m_HandleRect: {fileID: 3698306822714026186}
|
||||
m_Direction: 2
|
||||
m_Value: 1
|
||||
m_Size: 0.95320725
|
||||
m_Size: 0.8681914
|
||||
m_NumberOfSteps: 0
|
||||
m_OnValueChanged:
|
||||
m_PersistentCalls:
|
||||
|
|
|
@ -207,8 +207,8 @@ MonoBehaviour:
|
|||
m_TargetGraphic: {fileID: 2041327556}
|
||||
m_HandleRect: {fileID: 2041327555}
|
||||
m_Direction: 2
|
||||
m_Value: 0
|
||||
m_Size: 0.99995255
|
||||
m_Value: 1
|
||||
m_Size: 1
|
||||
m_NumberOfSteps: 0
|
||||
m_OnValueChanged:
|
||||
m_PersistentCalls:
|
||||
|
|
|
@ -13838,8 +13838,8 @@ RectTransform:
|
|||
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: 179.55, y: 0}
|
||||
m_SizeDelta: {x: 349.68298, y: 120}
|
||||
m_AnchoredPosition: {x: 164.21, y: 0}
|
||||
m_SizeDelta: {x: 451.98218, y: 120}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &5528630206416109667
|
||||
CanvasRenderer:
|
||||
|
@ -14131,8 +14131,8 @@ RectTransform:
|
|||
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: 181.1, y: 0}
|
||||
m_SizeDelta: {x: 300, y: 120}
|
||||
m_AnchoredPosition: {x: 168.38, y: 0}
|
||||
m_SizeDelta: {x: 424.11676, y: 120}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &5592217797208583881
|
||||
CanvasRenderer:
|
||||
|
|
|
@ -741,11 +741,11 @@ public class View_Panel2 : XUIPanel
|
|||
item.transform.GetChild(2).GetComponent<Toggle>().isOn = true;
|
||||
item.transform.GetChild(2).GetComponent<Toggle>().interactable = false;
|
||||
item.transform.GetChild(2).GetComponent<Toggle>().enabled = false;
|
||||
item.transform.GetChild(3).GetComponent<Text>().text = sdi[index].UserAccount;
|
||||
if (sdi[index].UserAccount == GlobalFlag.currentUser.login_name)
|
||||
{
|
||||
item.transform.GetChild(2).GetComponent<Toggle>().graphic.color = Color.green;
|
||||
GlobalFlag.practiceSeatId = item.name;
|
||||
item.transform.GetChild(3).GetComponent<Text>().text = GlobalFlag.currentUser.login_name;
|
||||
isAssigned = true;
|
||||
}
|
||||
}
|
||||
|
@ -785,11 +785,12 @@ public class View_Panel2 : XUIPanel
|
|||
item.transform.GetChild(2).GetComponent<Toggle>().isOn = true;
|
||||
item.transform.GetChild(2).GetComponent<Toggle>().interactable = false;
|
||||
item.transform.GetChild(2).GetComponent<Toggle>().enabled = false;
|
||||
item.transform.GetChild(3).GetComponent<Text>().text = sdi[index].UserAccount;
|
||||
if (sdi[index].UserAccount == GlobalFlag.currentUser.login_name)
|
||||
{
|
||||
item.transform.GetChild(2).GetComponent<Toggle>().graphic.color = Color.green;
|
||||
GlobalFlag.practiceSeatId = item.name;
|
||||
item.transform.GetChild(3).GetComponent<Text>().text = GlobalFlag.currentUser.login_name;
|
||||
Debug.Log($"sdi[index].UserAccount=={sdi[index].UserAccount}");
|
||||
isAssigned = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue