Skip to content

Commit

Permalink
Update ButtonUI_TMP.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
GrayWolf52 committed Oct 6, 2023
1 parent 076f9f9 commit 79ce65a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions VirtueSky/Misc/ButtonUI_TMP.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ namespace VirtueSky.Misc
[RequireComponent(typeof(Image))]
public class ButtonUI_TMP : ButtonCustom
{
#if UNITY_EDITOR
protected override void Reset()
{
base.Reset();
Expand All @@ -24,5 +25,6 @@ protected override void Reset()
rectTransform.localScale = rectTransformParent.localScale;
rectTransform.position = rectTransformParent.position;
}
#endif
}
}

0 comments on commit 79ce65a

Please sign in to comment.