luoyikun

导航

上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 31 下一页

2018年3月4日 #

unity3d ios 应用闪退 variables may not be available

摘要: 报错提示:XXXX’ was compiled with optimization - stepping may behave oddly; variables may not be available Player Setting – Other Setting,去掉勾选 Strip Engine 阅读全文

posted @ 2018-03-04 11:15 luoyikun 阅读(14) 评论(0) 推荐(0)

2018年2月26日 #

Unity3D 销毁GameObject api调用顺序

摘要: 对于每个GameObject来说,实际调用顺序是OnDisable->OnBecameInvisible->OnDestroy,但是在多个GameObject直接不能保证调用顺序,可能第一个GameObject的OnDestroy已经调用了,另一个的OnDisable才开始调用。所以当多个GameO 阅读全文

posted @ 2018-02-26 17:17 luoyikun 阅读(17) 评论(0) 推荐(0)

2018年2月25日 #

unity 资源热更新+显示进度条:根据uri下资源

摘要: 实现传入uri,下载对应的资源,并且能支持多个uri的下载 例如: List<string> listUri = new List<string>(); List<string> listToPath = new List<string>(); listUri.Add(AppConst.WebUrl 阅读全文

posted @ 2018-02-25 00:58 luoyikun 阅读(107) 评论(0) 推荐(0)

2018年2月23日 #

zSpace实现点击任意键(笔或者键盘)响应

摘要: 有些时候要出现“点击任意键进入”,既要有响应键盘,又要响应笔上的按钮 挂载脚本 using UnityEngine; using System.Collections; using zSpace.Core; public class AnyKeyPassMgr : MonoBehaviour { Z 阅读全文

posted @ 2018-02-23 14:12 luoyikun 阅读(18) 评论(0) 推荐(0)

2018年2月22日 #

unity3d shader控制渲染顺序,Queue,ZWrite,ZTest

摘要: Queue渲染队列: 按照渲染顺序,从先到后进行排序,队列数越小的,越先渲染,队列数越大的,越后渲染。 Background(1000) 最早被渲染的物体的队列。 Geometry (2000) 不透明物体的渲染队列。大多数物体都应该使用该队列进行渲染,也是Unity Shader中默认的渲染队列。 阅读全文

posted @ 2018-02-22 14:31 luoyikun 阅读(230) 评论(0) 推荐(0)

2018年1月17日 #

c#字符串中文汉字转拼音

摘要: using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespac 阅读全文

posted @ 2018-01-17 01:04 luoyikun 阅读(19) 评论(0) 推荐(0)

2018年1月16日 #

unity+InputField事件,按enter确定,监听变化

摘要: 编辑结束 m_inputSearch.onEndEdit.AddListener(delegate { InputEnd(m_inputSearch); }); 监听变化 m_inputYzm.onValueChanged.AddListener((param)=> { OnInputYzmChan 阅读全文

posted @ 2018-01-16 15:13 luoyikun 阅读(84) 评论(0) 推荐(0)

2018年1月11日 #

c#RSA加密字符串

摘要: rsa加密是非对称加密,即公钥与私钥是成对的,使用公匙加密,使用私匙解密 1.得到公匙私匙 public static void RSAGenerateKey(ref string privateKey, ref string publicKey) { RSACryptoServiceProvide 阅读全文

posted @ 2018-01-11 00:27 luoyikun 阅读(46) 评论(0) 推荐(0)

2017年12月27日 #

unity+AssetBundle字节数组加密

摘要: 1.加密:对assetbundle的字节数组每位进行与key的异或处理(相同为0,不同为1) using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; 阅读全文

posted @ 2017-12-27 00:30 luoyikun 阅读(36) 评论(0) 推荐(0)

2017年12月25日 #

C#扫描文件夹中中文文件

摘要: using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Text.RegularExpressions; namespace CheckChinese { cla 阅读全文

posted @ 2017-12-25 13:25 luoyikun 阅读(10) 评论(0) 推荐(0)

上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 31 下一页