luoyikun

导航

上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 31 下一页

2019年3月5日 #

unity3d+VRTK:强制传送,主动传送到场景中预设的点(位置与摄像机角度)

摘要: 不用射线触发,主动传送到场景中预设的点 新版本的强制传送 public virtual void ForceTeleport(Vector3 destinationPosition, Quaternion? destinationRotation = null) { DestinationMarke 阅读全文

posted @ 2019-03-05 09:35 luoyikun 阅读(32) 评论(0) 推荐(0)

2019年2月28日 #

unity3d:遍历查找,输出子物体在父物体下的路径

摘要: [MenuItem("SaveTransInfo/GetUIChildPath #`")] static void GetUIChildPath() { GameObject obj = Selection.activeGameObject; Transform trans = obj.transf 阅读全文

posted @ 2019-02-28 15:13 luoyikun 阅读(26) 评论(0) 推荐(0)

2019年2月16日 #

winform:datagridview筛选与选择

摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System. 阅读全文

posted @ 2019-02-16 10:49 luoyikun 阅读(53) 评论(0) 推荐(0)

2019年1月17日 #

Mac+unity一些操作

摘要: Mac下双开unity open -n /Applications/Unity/Unity.app symbol(s) not found for architecture arm64 一般是缺少.a包导致,svn提交时有些缺少.a包 阅读全文

posted @ 2019-01-17 15:13 luoyikun 阅读(8) 评论(0) 推荐(0)

2018年12月30日 #

unity3d:向量计算,摄像机与目标位置

摘要: 目标与摄像头,摄像头重新出现在两者连线方向的距离目标10m处 Vector3 oldPos = transform.position; Vector3 dir = oldPos - pos; Vector3 newPos = pos + dir.normalized * 10; transform. 阅读全文

posted @ 2018-12-30 14:03 luoyikun 阅读(31) 评论(0) 推荐(0)

2018年12月27日 #

unity3d:url下载头像保存在本地(微信头像)

摘要: using UnityEngine; using UnityEngine.UI; using System.Collections; using System.IO; using System.Collections.Generic; public class AsyncImageDownload 阅读全文

posted @ 2018-12-27 17:20 luoyikun 阅读(56) 评论(0) 推荐(0)

2018年12月20日 #

unity3d:折线图,读取csv数据,每s生成一段线

摘要: 1.读取csv表数据,点的数据随机,在3000以上 2.x方向,y方向的最大值根据表读取 3.每1s显示当前的点的数据 using System.Collections; using System.Collections.Generic; using SpringGUI; using UnityEn 阅读全文

posted @ 2018-12-20 10:48 luoyikun 阅读(27) 评论(0) 推荐(0)

2018年12月12日 #

unity3d:物体出现在摄像机后

摘要: using Framework.Event; using System.Collections; using System.Collections.Generic; using UnityEngine; public class ModelVisible : MonoBehaviour { publ 阅读全文

posted @ 2018-12-12 11:07 luoyikun 阅读(8) 评论(0) 推荐(0)

2018年12月7日 #

c#正则表达式,电话号码,密码字母与数字组合

摘要: 1.是否是电话号码 public static bool IsPhoneOK(string num) { if (num.Length < 11) { return false; } //电信手机号码正则 string dianxin = @"^1[3578][01379]\d{8}$"; Rege 阅读全文

posted @ 2018-12-07 13:39 luoyikun 阅读(46) 评论(0) 推荐(0)

unity3d:时间管理(1):服务器时间同步

摘要: using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class SyncTime : MonoBehaviour { public static Dat 阅读全文

posted @ 2018-12-07 09:52 luoyikun 阅读(75) 评论(0) 推荐(0)

上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 31 下一页