示例#1
0
 public void Update_ScratchTicketText()
 {
     MenuPanel.UpdateScratchTicketText();
     if (_Scratch is null)
     {
         if (LoadedPanel_Dic.TryGetValue((int)MG_GamePanelType.ScratchPanel, out MG_UIBase _UIBase))
         {
             _Scratch = _UIBase as MG_GamePanel_Scratch;
         }
     }
     if (_Scratch is object)
     {
         _Scratch.UpdateScratchTicketNumText();
     }
 }
示例#2
0
 private void Awake()
 {
     parent = transform.GetComponentInParent <MG_GamePanel_Scratch>();
 }