Skip to content

Commit 25f5700

Browse files
committed
カメラのRotationがidentitiyじゃないかつScreenScape-Cameraのときの表示崩れを修正
1 parent ef09a36 commit 25f5700

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/UnityScreenNavigator/Runtime/Foundation/RectTransformExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public static void FillParent(this RectTransform self, RectTransform parent)
1313
self.offsetMin = Vector2.zero;
1414
self.offsetMax = Vector2.zero;
1515
self.pivot = new Vector2(0.5f, 0.5f);
16-
self.rotation = Quaternion.identity;
16+
self.localRotation = Quaternion.identity;
1717
self.localScale = Vector3.one;
1818
}
1919
}

0 commit comments

Comments
 (0)