上一页 1 2 3 4 5 6 7 8 ··· 18 下一页
摘要: public class L6 : MonoBehaviour { // Start is called before the first frame update void Start() { //相关参数 //Raycast Target 是否作为射线检测目标 //Maskable 是否能被遮罩 阅读全文
posted @ 2025-04-04 16:58 cannedmint 阅读(13) 评论(0) 推荐(0)
摘要: public class L5 : MonoBehaviour { // Start is called before the first frame update void Start() { //RectTransform继承Transform //Anchors 相对父矩形的锚点 //Blue 阅读全文
posted @ 2025-04-04 16:37 cannedmint 阅读(23) 评论(0) 推荐(0)
摘要: public class L4 : MonoBehaviour { // Start is called before the first frame update void Start() { //Event System相关参数 //First Selected 默认选择对象 //Send Na 阅读全文
posted @ 2025-04-04 11:27 cannedmint 阅读(6) 评论(0) 推荐(0)
摘要: public class L3 : MonoBehaviour { // Start is called before the first frame update void Start() { //Blocking Objects 射线被哪些类型的碰撞器阻挡(覆盖模式下无效) //Blocking 阅读全文
posted @ 2025-04-04 11:11 cannedmint 阅读(11) 评论(0) 推荐(0)
摘要: public class L2 : MonoBehaviour { // Start is called before the first frame update void Start() { //CanvasScaler 用于分辨率自适应,负责控制不同分辨率下UI控件的大小,并不负责控制位置,位 阅读全文
posted @ 2025-04-04 10:56 cannedmint 阅读(49) 评论(0) 推荐(0)
摘要: public class L1 : MonoBehaviour { // Start is called before the first frame update void Start() { //Canvas负责渲染自己所有UI子对象 //场景中允许存在多个Canvas,但如果没有特殊需求,场景 阅读全文
posted @ 2025-04-04 09:51 cannedmint 阅读(40) 评论(0) 推荐(0)
摘要: public class L36 : MonoBehaviour { private SkeletonAnimation sa; // Start is called before the first frame update void Start() { sa = GetComponent<Ske 阅读全文
posted @ 2025-04-02 19:10 cannedmint 阅读(74) 评论(0) 推荐(0)
摘要: public class L9 : MonoBehaviour { // Start is called before the first frame update void Start() { //相关参数 #region Draw Mode 绘制模式下,尺寸变化时的缩放方式 //Simple 缩 阅读全文
posted @ 2025-04-02 17:38 cannedmint 阅读(30) 评论(0) 推荐(0)
摘要: public class L35 : MonoBehaviour { // Start is called before the first frame update void Start() { //使用Spine导出的骨骼动画 //方法一.直接将_SkeletonData文件拖入场景中,选择创建 阅读全文
posted @ 2025-04-02 17:27 cannedmint 阅读(122) 评论(0) 推荐(0)
摘要: public class L34 : MonoBehaviour { // Start is called before the first frame update void Start() { //保证各部位位置在ps文件中的统一 //基础部位可以选择性隐藏 //不同文件的骨骼信息必须统一,所以 阅读全文
posted @ 2025-04-02 16:49 cannedmint 阅读(25) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 18 下一页