private void LoadPrefab() { if (assetBundleTag != null) { AssetBundle assetBundle = WWAssetBundleController.GetAssetBundle(assetBundleTag); if (assetBundle != null) { prefab = assetBundle.LoadAsset(path) as GameObject; } } else { prefab = Resources.Load(path) as GameObject; } }