通常のオブジェクトなどはTransformで座標やスケールを管理しますがUI系の座標などはRectTransformが使用されています。 RectTransform使用時にスクリプトを使ってオブジェクト移動などをさせる時はRectTransformを取得して値を変更させれば可能です。
The RectTransform is the cornerstone of Unity's UI system. It defines how UI elements are positioned, sized, and anchored within a canvas. Understanding the RectTransform is crucial for creating ...
混乱しますよね。 こんにちは「つけらっとゲームス」プログラム担当のとちです。 もう長らくUnityに触れていますけど、たまーに混乱するので自分のためにも一旦まとめておきますね。っていうお話です。 ってのがありますよね。 「これらが何なのかを ...
【Unity】RectTransform のパラメータを四捨五入するコマンドをコンテキストメニューに追加するエディタ拡張 - baba-s/UniRectTransformRounder ...