top of page

TOSHICHAN
Unityでスクリプト&簡単な実装サイト
UI位置変更
//UIの位置取得の場合TransfromではなくRectTransformを使う
public RectTransform UI;
void Update () {
UI.anchoredPosition = new Vector3 (0,0,0);
}
bottom of page
//UIの位置取得の場合TransfromではなくRectTransformを使う
public RectTransform UI;
void Update () {
UI.anchoredPosition = new Vector3 (0,0,0);
}