Exemple #1
0
        public static void UpdateGameRes(GameResType type, string name, string abName, string resPath = "")
        {
            GameResourceData data = new GameResourceData();

            data.type            = type;
            data.name            = name;
            data.id              = int.Parse(type.ToString("d")) * 10000;
            data.resPath         = resPath;
            data.assetbundleName = abName;
            UpdateGameResWorker(data);
        }
Exemple #2
0
 public string ToString(string path)
 {
     return(id + "\t\t|" + type.ToString() + "\t\t|" + name + "\t\t|" + path);
 }