private List <TextureInfo> UpdateGroup(string path, SetTextureType type) { path = Application.dataPath + "/" + path; List <TextureInfo> textureInfoList = new List <TextureInfo>(); List <string> pathList = GameEditorUtils.GetAssetsList(path, "png", "jpg", "tga"); if (pathList != null) { foreach (string textruePath in pathList) { textureInfoList.Add(new TextureInfo(textruePath, type)); } } return(textureInfoList); }
public TextureInfo(string path, SetTextureType type) { this.path = path; this.type = type; }