原文地址:http://www.cnblogs.com/88999660/archive/2013/04/10/3011912.html 首先要鄙视下unity3d的文档编写人员极度不负责任,到发帖为止依然没有更新正确的示例代码. // C# Example // Builds an asset bundle from the selected objects in the project view. // Once compiled go to "Menu" -> "
using UnityEngine; using System.Collections; public class loadnew : MonoBehaviour { public bool IsCompressed =false; public string filename; private string BundleURL; private string AssetName; void Start() { if (!IsCompressed) { StartCoroutine(loadSc