Exemplo n.º 1
0
    private void AssetBundleUtiCallBack(string url, string resname, bool success, string errorcode = "")
    {
        Debuger.Log("AssetBundleUtiCallBack:" + url + " " + resname + " " + success);

        if (success)
        {
            data = AssetBundleUti.GetObjectScene(url);

            Shader.WarmupAllShaders();
        }
    }
Exemplo n.º 2
0
    public static ABDataScene GetObjectScene(string url)
    {
        ABLoadScene load = mUti.mFactory.GetABLoadScene(url, version);

        if (load == null)
        {
            return(null);
        }

        if (load.Error())
        {
            return(null);
        }

        ABDataScene data = new ABDataScene(url, "", typeof(ABLoadScene), load);

        datas.Add(data);

        return(data);
    }
Exemplo n.º 3
0
    public static ABDataScene GetObjectScene(string url)
    {
        ABLoadScene load = mUti.mFactory.GetABLoadScene(url, version);

        if (load == null)
            return null;

        if (load.Error())
            return null;

        ABDataScene data = new ABDataScene(url, "", typeof(ABLoadScene), load);

        datas.Add(data);

        return data;
    }
Exemplo n.º 4
0
    private void AssetBundleUtiCallBack(string url, string resname, bool success, string errorcode = "")
    {
        Debuger.Log("AssetBundleUtiCallBack:" + url + " " + resname + " " + success);

        data = AssetBundleUti.GetObjectScene(url);

    }