private void LoadBaseDataFromLocal() { mBaseData = new BaseConfigData(); TextAsset tAsset = Resourcer.Get <TextAsset> (ResConfig.TEXT_ID, "BaseConfigData"); if (tAsset != null) { string tConfigStr = tAsset.text; mBaseData.Init(tConfigStr); } }
public static GameObject GetPrefab(string name) { return(Resourcer.Get <GameObject>(name)); }
private void InitManagers() { OTManager.instance.AddOT(Resourcer.Get <TextAsset>(ResConfig.OT).text); }