private void OnLoadComplete1(string ABName) { Debug.Log("加载ab包完毕"); m_SingleABLoader2 = new SingleABLoader(ABName2, OnLoadComplete2); StartCoroutine(m_SingleABLoader2.LoadSingleAB()); }
private void OnLoadComplete2(string ABName) { Debug.Log("加载ab包完毕"); m_SingleABLoader3 = new SingleABLoader(ABName3, OnLoadComplete3); StartCoroutine(m_SingleABLoader3.LoadSingleAB()); }
void Start() { m_SingleABLoader1 = new SingleABLoader(ABName1, OnLoadComplete1); StartCoroutine(m_SingleABLoader1.LoadSingleAB()); }