Beispiel #1
0
 public UnityEngine.Object[] GetResources(string sceneName, string bundleName, string resName)
 {
     if (mABManagerDict.ContainsKey(sceneName))
     {
         IABSceneManager sceneManager = mABManagerDict[sceneName];
         return(sceneManager.GetResources(bundleName, resName));
     }
     else
     {
         Debug.LogWarning("没有包含该场景名:" + sceneName + " 包名:" + bundleName + " 资源名:" + resName);
         return(null);
     }
 }