Skip to content

Commit

Permalink
Update CinemachineBrain.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
glabute committed Aug 6, 2024
1 parent 752bde8 commit d86fbd5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,6 @@ void OnPreCull()
}
}

#if CINEMACHINE_UIELEMENTS
// We don't want this in runtime because it's only for debugging and it can generate garbage
void OnGUI()
{
Expand All @@ -287,6 +286,7 @@ void OnGUI()
}
}

#if CINEMACHINE_UIELEMENTS
void OnGuiHandler(CinemachineBrain brain)
{
if (!ShowDebugText && m_DebugText != null)
Expand Down

0 comments on commit d86fbd5

Please sign in to comment.