Skip to content

Commit

Permalink
カメラのRotationがidentitiyじゃないかつScreenScape-Cameraのときの表示崩れを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
Haruma-K committed Jan 24, 2025
1 parent ef09a36 commit 25f5700
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public static void FillParent(this RectTransform self, RectTransform parent)
self.offsetMin = Vector2.zero;
self.offsetMax = Vector2.zero;
self.pivot = new Vector2(0.5f, 0.5f);
self.rotation = Quaternion.identity;
self.localRotation = Quaternion.identity;
self.localScale = Vector3.one;
}
}
Expand Down

0 comments on commit 25f5700

Please sign in to comment.