Version: 2017.2
public AssetBundle assetBundle ;

説明

プロジェクトフォルダーから任意のアセットを含めることができる AssetBundle をストリーミングします

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { IEnumerator Start() { WWW www = new WWW("http://myserver/myBundle.unity3d"); yield return www;

// Get the designated main asset and instantiate it. Instantiate(www.assetBundle.mainAsset); } }

関連項目: AssetBundle クラス .