摘要:https://www.pianshen.com/article/763090525/ https://blog.csdn.net/qq_29242649/article/details/105772034 一: using System.Collections; using System.Coll
阅读全文
摘要:/// <summary> /// 多边形点集排序 /// </summary> /// <param name="vPoints"></param> /// <returns></returns> public List<Point> SortPolyPoints(List<Point> vPoi
阅读全文
摘要:Plane.distance:指从原点到平面的距离。假设平面法线为(0,1,0),需要将平面向上平移0.5,distance应为-0.5。 Plane.Translate(Vector3 translation):平移方向与法线相反
阅读全文
摘要:https://www.cnblogs.com/suoluo/p/5695362.html
阅读全文
摘要:using UnityEngine; using UnityEngine.UI; public class Test:MonoBehaviour{ public RawImage rawImage; public Camera cam; private RenderTexture m_renderT
阅读全文
摘要:spine-unity 3.8 下载地址与 unity 版本兼容: http://zh.esotericsoftware.com/spine-unity-download/ 说明: http://zh.esotericsoftware.com/spine-unity http://zh.esoter
阅读全文
摘要:public static ScreenOrientation orientation ; Project Settings → Player → Resolution and Presentation → Default Orientation,设置为:Auto Rotation 时,在进入应用且
阅读全文
摘要:using UnityEngine; using System.Collections; using System; public class Math3d { private static Transform tempChild = null; private static Transform t
阅读全文
摘要:#####透视相机 Field of View: //设置FOV Axis=Vertical时,fieldOfView的值为45f。 m_camera.fieldOfView=45f;//m_camera.fieldOfView 永远指的都是竖直方向上展开角度(水平方向的展开角度是根据camera.
阅读全文