摘要:目标与摄像头,摄像头重新出现在两者连线方向的距离目标10m处 Vector3 oldPos = transform.position; Vector3 dir = oldPos - pos; Vector3 newPos = pos + dir.normalized * 10; transform.
阅读全文
摘要:using UnityEngine; using UnityEngine.UI; using System.Collections; using System.IO; using System.Collections.Generic; public class AsyncImageDownload
阅读全文
摘要:1.读取csv表数据,点的数据随机,在3000以上 2.x方向,y方向的最大值根据表读取 3.每1s显示当前的点的数据 using System.Collections; using System.Collections.Generic; using SpringGUI; using UnityEn
阅读全文
摘要:using Framework.Event; using System.Collections; using System.Collections.Generic; using UnityEngine; public class ModelVisible : MonoBehaviour { publ
阅读全文
摘要:1.是否是电话号码 public static bool IsPhoneOK(string num) { if (num.Length < 11) { return false; } //电信手机号码正则 string dianxin = @"^1[3578][01379]\d{8}$"; Rege
阅读全文
摘要:using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class SyncTime : MonoBehaviour { public static Dat
阅读全文