예제 #1
0
 //预加载prefab同步(返回原始prefab,不实例)
 public GameObject PreLoadPrefab(string abName, string assetName)
 {
     return(HPrefab.Load(abName, assetName, true));
 }
예제 #2
0
 //加载prefab同步
 public GameObject LoadPrefab(string abName, string assetName)
 {
     return(HPrefab.Load(abName, assetName, false));
 }