Skip to content

Commit

Permalink
Rename DrawUpgradeControls to IMGUI_DrawUpgradeControls
Browse files Browse the repository at this point in the history
  • Loading branch information
glabute committed Apr 11, 2024
1 parent d2d77c7 commit b34ec16
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class CinemachineDollyCartEditor : BaseEditor<CinemachineDollyCart>
public override void OnInspectorGUI()
{
BeginInspector();
UpgradeManagerInspectorHelpers.DrawUpgradeControls(this, "CinemachineSplineCart");
UpgradeManagerInspectorHelpers.IMGUI_DrawUpgradeControls(this, "CinemachineSplineCart");
DrawRemainingPropertiesInInspector();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public override void OnInspectorGUI()

// Ordinary properties
BeginInspector();
UpgradeManagerInspectorHelpers.DrawUpgradeControls(this, "CinemachineCamera");
UpgradeManagerInspectorHelpers.IMGUI_DrawUpgradeControls(this, "CinemachineCamera");
DrawCameraStatusInInspector();
DrawGlobalControlsInInspector();
DrawInputProviderButtonInInspector();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public Bounds OnGetFrameBounds()
public override void OnInspectorGUI()
{
BeginInspector();
UpgradeManagerInspectorHelpers.DrawUpgradeControls(this, "Spline");
UpgradeManagerInspectorHelpers.IMGUI_DrawUpgradeControls(this, "Spline");

if (mWaypointList == null)
SetupWaypointList();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public Bounds OnGetFrameBounds()
public override void OnInspectorGUI()
{
BeginInspector();
UpgradeManagerInspectorHelpers.DrawUpgradeControls(this, "Spline");
UpgradeManagerInspectorHelpers.IMGUI_DrawUpgradeControls(this, "Spline");

if (mWaypointList == null)
SetupWaypointList();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ void DrawNonExcludedHeaderInInspector()
{
if (!IsPropertyExcluded("Header"))
{
UpgradeManagerInspectorHelpers.DrawUpgradeControls(this, "CinemachineCamera");
UpgradeManagerInspectorHelpers.IMGUI_DrawUpgradeControls(this, "CinemachineCamera");
DrawCameraStatusInInspector();
DrawGlobalControlsInInspector();
DrawInputProviderButtonInInspector();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Unity.Cinemachine.Editor
{
static class UpgradeManagerInspectorHelpers
{
public static void DrawUpgradeControls(UnityEditor.Editor editor, string className)
public static void IMGUI_DrawUpgradeControls(UnityEditor.Editor editor, string className)
{
var attrs = editor.serializedObject.targetObject.GetType()
.GetCustomAttributes(typeof(ObsoleteAttribute), true);
Expand Down

0 comments on commit b34ec16

Please sign in to comment.