「毎日Unity」の技術ブログ

開発で役立つ情報を発信する

2022-07-22から1日間の記事一覧

【UnityC#】RectTransformのWidthとHeightの変更方法

RectTransformのWidthとHeightの変更方法をメモすることにしました。 [ 変更方法 ] using System.Collections; using System.Collections.Generic; using UnityEngine; public class ScriptTest : MonoBehaviour { private void Start() { float Width = 100…