指定可以对它们应用特性的应用程序元素
成员名称
说明
All
可以对任何应用程序元素应用属性。
Assembly
可以对程序集应用属性。
Class
可以对类应用属性。
Constructor
可以对构造函数应用属性。
Delegate
……继续阅读 »
sharezer
8年前 (2016-05-27) 1808浏览 0评论
0个赞
为了从资源上优化安装包的大小,写了一个工具
点击查找,列出所以文件,并按从大到小的顺序排序
先上一下效果图
/// <summary>
/// 定义文件结构体
/// </summary>
public struct FileAttribute
{
public string path; //路径
public long size; /……继续阅读 »
sharezer
8年前 (2016-05-27) 2720浏览 0评论
0个赞
public static bool IsEnableTouchLayer(Camera cameraSeeTheLayer, string layer)
{
bool r = false;
string strLayer = "";
Vector3 posMouse = Input.mousePosition;
posMouse.z = 10;
Ray ray = cameraSee……继续阅读 »
sharezer
8年前 (2016-05-06) 2106浏览 0评论
0个赞