Skip to content

Commit

Permalink
Absolutely no reason to handle it like this
Browse files Browse the repository at this point in the history
  • Loading branch information
jacklul committed Apr 24, 2022
1 parent 55d2882 commit c207978
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public void SetPlaceholder(bool state)
public void MoveOverlay(GameObject screen)
{
gameObject.name = "SubtitlesOverlay";
gameObject.transform.SetParent(screen.gameObject.transform);
gameObject.transform.SetParent(screen.transform);
gameObject.transform.localPosition = Vector3.zero;
gameObject.transform.localRotation = Quaternion.identity;
gameObject.transform.localScale = new Vector3(1f, 1f, 1f);
Expand Down

0 comments on commit c207978

Please sign in to comment.