Example #1
0
    static void Create(string Assetname, string dicpath, GameObject gameObject)
    {
        if (Assetname == null)
        {
            return;
        }
        if (Assetname == "")
        {
            return;
        }
        LoadBundle();
        Assetname = Assetname.Replace(" ", "");
        var dc = dicpath;

        if (dc == null | dc == "")
        {
            dc = Application.dataPath + "/AssetsBundle/";
        }
        dc += Assetname;
        InitialUI();
        ModelManagerUI.SavePrefab(gameObject, dc);
        Debug.Log("create done path:" + dc);
    }