摘要:
[RequireComponent(typeof(PolygonCollider2D))] public class IrregularImage : Image { private PolygonCollider2D m_polygon; private PolygonCollider2D Pol 阅读全文
摘要:
using System.Collections.Generic; using UnityEngine; using UnityEngine.Sprites; using UnityEngine.UI; //保证图片的宽高比与Image的宽高比一致,方便图像uv与物体的对应关系,否则图片会变形 pu 阅读全文
摘要:
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Antialiasing : MonoBehaviour { private static GameObject r 阅读全文