Esempio n. 1
0
 /// <summary>
 /// コンストラクタ
 /// </summary>
 /// <param name="assetBundle">アセットバンドル</param>
 /// <param name="url">URL</param>
 public ErrorHandle(AssetBundleBase assetBundle, string url)
 {
     m_AssetBundle                = assetBundle;
     m_AssetBundleName            = assetBundle.name;
     m_AssetBundleNameWithVariant = assetBundle.nameWithVariant;
     m_URL       = url;
     m_FileName  = null;
     m_FileSize  = m_AssetBundle.fileSize;
     m_ErrorCode = m_AssetBundle.errorCode;
     m_IsDeliveryStreamingAsset = m_AssetBundle.isDeliveryStreamingAsset;
 }
 /// <summary>
 /// コンストラクタ
 /// </summary>
 /// <param name="manager">管轄のアセットバンドルマネージャー</param>
 /// <param name="assetBundle">管轄のアセットバンドル</param>
 public AssetBundleRequestBase(AssetBundleManager manager, AssetBundleBase assetBundle)
 {
     m_Manager     = manager;
     m_AssetBundle = assetBundle;
 }
Esempio n. 3
0
 /// <summary>
 /// コンストラクタ
 /// </summary>
 /// <param name="manager">管轄のアセットバンドルマネージャー</param>
 /// <param name="assetBundle">管轄のアセットバンドル</param>
 /// <param name="assetBundleRequest">アセットバンドルリクエスト</param>
 public AssetBundleRequestPlayer(AssetBundleManager manager, AssetBundleBase assetBundle, AssetBundleRequest assetBundleRequest) : base(manager, assetBundle)
 {
     m_AssetBundleRequest = assetBundleRequest;
 }
Esempio n. 4
0
 /// <summary>
 /// コンストラクタ
 /// </summary>
 /// <param name="manager">管轄のアセットバンドルマネージャー</param>
 /// <param name="assetBundle">管轄のアセットバンドル</param>
 /// <param name="asset">アセット</param>
 public AssetBundleRequestEditor(AssetBundleManager manager, AssetBundleBase assetBundle, Object asset) : base(manager, assetBundle)
 {
     m_Assets = new[] { asset };
     manager.editor.AsyncEmulation(OnAsyncEmulation);
 }