Exemple #1
0
        public GameObject LoadAndInstantiate(string path, Vector3 position, Quaternion rotation)
        {
            AssetBundleInfo abi = GetBundleInfo(path);

            return(abi.LoadAndInstantiate(Path.GetFileName(path), position, rotation));
        }
Exemple #2
0
        public GameObject LoadAndInstantiate(string path)
        {
            AssetBundleInfo abi = GetBundleInfo(path);

            return(abi.LoadAndInstantiate(Path.GetFileName(path)));
        }