public static void LoadData() { if (Instance != null) { Instance.loadData(); } }
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(); } }