Unity5.X AssetBundle检测资源更新

  • Post author:
  • Post category:其他


using UnityEngine;

using System.Collections;

using System.Collections.Generic;

using System.Text;

using System.IO;

using System.Xml;

public class AssetCheckerManager : MonoBehaviour {

#region 变量声明

#region 单例

private static AssetCheckerManager instance;

public static AssetCheckerManager Instance

{

get

{

if (instance == null)

{

instance = new GameObject(“AssetCheckerManager”).AddComponent<AssetCheckerManager>();

}

return instance;

}

}

#endregion

/// <summary>

/// 是否进行资源检测

/// </summary>

public bool checkAssetBundle = false; <



版权声明:本文为douniwan08原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。