(続き)
public class Csコード名 : MonoBehaviour
{
IEnumerator Start()
{
var assetbundleNames = new string[] { "/アセットバンドル名", "/アセットバンドル名", "/アセットバンドル名" };
yield return new WaitWhile(() => Input.GetMouseButtonDown(0) == false);
float time = Time.realtimeSinceStartup;
foreach (var assetbundlename in assetbundleNames)
{
var assetbundle = AssetBundle.LoadFromFile(Application.streamingAssetsPath + assetbundlename);
}
Debug.Log(Time.realtimeSinceStartup - time);
}
}
(了)
【3Dゲームエンジン】Unity質問スレッド37
■ このスレッドは過去ログ倉庫に格納されています
379372
2018/09/05(水) 20:25:26.24ID:FttgcJ8p■ このスレッドは過去ログ倉庫に格納されています
