摘要:
Unity RectTransform中使用stretch模式時(shí)代碼動(dòng)態(tài)控制Left、Top、Right、Bottom 對(duì)于屏幕進(jìn)行適應(yīng)的代碼: var rect = panelObj.AddComponent<RectTransform>(); rect.anchorMin = Vector2.z 閱讀全文
posted @ 2023-10-16 16:18
威少小二orz
閱讀(1077)
評(píng)論(0)
推薦(0)

浙公網(wǎng)安備 33010602011771號(hào)