U3d
enjoyLife232579
仅作为学习笔记用,不喜勿喷!
展开
-
Unity3D
翻译 2016-06-25 07:07:47 · 185 阅读 · 0 评论 -
unity对任意物体截图
单例工具 using UnityEngine; public class PhotoTool : MonoBehaviour { public static PhotoTool instance; Vector3 pMax = Vector3.zero; Vector3 pMin = Vector3.zero; Vector3 center...原创 2019-08-13 12:45:59 · 584 阅读 · 0 评论 -
untiy动态生成BoxCollider
using UnityEngine; public class DynSpownCollider : MonoBehaviour { public GameObject target; Vector3 pMax = Vector3.zero; Vector3 pMin = Vector3.zero; Vector3 center = Vector3...原创 2019-08-13 12:54:15 · 2581 阅读 · 0 评论 -
连连看核心代码
using UnityEngine; public class Point { public int x; public int y; public int v; public override string ToString() { return string.Format("拐点坐标>>({0},{1})拐点坐标值&g...原创 2019-08-13 14:12:02 · 443 阅读 · 0 评论