Version: 5.3 (switch to 5.4b)
言語English
  • C#
  • JS

スクリプト言語

好きな言語を選択してください。選択した言語でスクリプトコードが表示されます。

WWW.assetBundle

マニュアルに切り替える
public AssetBundle assetBundle;

説明

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

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 クラス .