摘要:
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)

浙公网安备 33010602011771号