示例#1
0
 public static void LoadData()
 {
     if (Instance != null)
     {
         Instance.loadData();
     }
 }
示例#2
0
    IEnumerator loadDataCo()
    {
        LogUtil.Log("LoadDataCo");

        if (listGridRoot != null)
        {
            listGridRoot.DestroyChildren();

            yield return(new WaitForEndOfFrame());

            //loadDataPowerups();

            yield return(new WaitForEndOfFrame());

            listGridRoot.GetComponent <UIGrid>().Reposition();
            yield return(new WaitForEndOfFrame());
        }

        if (customizeCharacterRPG != null)
        {
            customizeCharacterRPG.loadData();
        }
    }