2020年8月20日

unity 加载图片,并且图片不在resource、StreamingAssets里面。

摘要: using UnityEngine; using UnityEngine.UI; using System.Collections; using System.Collections.Generic; using System.IO; public enum UI_name{ UpBtn, Down 阅读全文

posted @ 2020-08-20 11:45 zqiang0803 阅读(970) 评论(3) 推荐(0) 编辑

unity 获取文件夹里面有多少个png图片

摘要: //using System.IO; string filePath= Application.dataPath+ "/新建文件夹"; if (Directory.Exists(filePath)) {//判断这个路径是否存在 DirectoryInfo direction = new Direct 阅读全文

posted @ 2020-08-20 11:20 zqiang0803 阅读(698) 评论(0) 推荐(0) 编辑

unity C#文件夹操作之Directory类和DirectoryInfo类

摘要: https://blog.csdn.net/a_lllll/article/details/86565280 //删除此目录 Directory.Delete(@"C:\Users\Administrator\Desktop\新建文件夹") //删除此目录,true表示要是此目录有子目录也删除,否则 阅读全文

posted @ 2020-08-20 09:42 zqiang0803 阅读(1559) 评论(0) 推荐(0) 编辑

导航