Version: 2021.2
言語: 日本語
Method group is Obsolete

WWW.assetBundle

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

説明

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

using UnityEngine;
using System.Collections;

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

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

関連項目: AssetBundle クラス .