void Load(string name) { var path = AssetsUtil.GetAssetPath(name);//"TestPrefab"); m_Mgr.Load(path, (handle) => { var m_testPrefab = handle.Instantiate(); //m_testPrefab.transform.parent = panel.transform; m_testPrefab.transform.localPosition = Vector3.zero; m_testPrefab.transform.localScale = Vector3.one; }); }
string GetAssetPath(string name) { return(AssetsUtil.GetAssetPath(name)); }