
Unity
丶作祟
这个作者很懒,什么都没留下…
展开
-
C#取整函数Math.Round、Math.Ceiling和Math.Floor
1.Math.Round:四舍六入五取偶引用内容Math.Round(0.0) //0Math.Round(0.1) //0Math.Round(0.2) //0Math.Round(0.3) //0Math.Round(0.4) //0Math.Round(0.5) //0Math.Round(0.6) //1Math.Round(0.7) //1转载 2017-11-01 13:46:56 · 5130 阅读 · 0 评论 -
NGUI 代码实现UISprite显示图片原尺寸的snap功能
GetComponent().MakePixelPerfect();原创 2017-11-02 14:04:38 · 4867 阅读 · 0 评论 -
使用shell脚本实现unity自动打包ipa工具
使用shell脚本实现unity自动打包ipa工具shell脚本中重点代码逻辑plist配置文件设置C#中重点代码使用方法其他参考先说下我这的需求:1.一键生成ipa (废话)2.info.plist和.xcodeproj文件使用已设置完成的标准模板替换 (省去代码设置xcode工程配置的工作量,偷懒)3.需要保留字符表文件 (什么是字符表文件?)4.需要在打包时使用配置文件,控制xco...原创 2018-11-07 15:53:48 · 2984 阅读 · 0 评论