Skip to content

Commit c0e4f5e

Browse files
committed
Rename define
1 parent 5de08a6 commit c0e4f5e

File tree

11 files changed

+14
-14
lines changed

11 files changed

+14
-14
lines changed

src/ControllersTree/Core/Controllers/ControllerBase.Profiler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if UNITY_CONTROLLERS_PROFILER
1+
#if CONTROLLERS_PROFILER
22
using System.Collections.Generic;
33
using System.Diagnostics;
44
using System.Linq;

src/ControllersTree/Core/Controllers/RootController.Profiler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if UNITY_CONTROLLERS_PROFILER
1+
#if CONTROLLERS_PROFILER
22
using System.Collections.Generic;
33
using System.Diagnostics;
44
using System.Threading;

src/ControllersTree/Core/Profiler/FixedString.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if UNITY_CONTROLLERS_PROFILER
1+
#if CONTROLLERS_PROFILER
22
using System;
33
using System.Runtime.InteropServices;
44

src/ControllersTree/Core/Profiler/Helper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if UNITY_CONTROLLERS_PROFILER
1+
#if CONTROLLERS_PROFILER
22
using System;
33
using System.Runtime.InteropServices;
44
using UnityEngine;

src/ControllersTree/Editor/ControllersHierarchy/ControllersHierarchy.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ private static void ShowWindow()
1818
GetWindow<ControllersHierarchy>("Controllers Hierarchy");
1919
}
2020

21-
private const string UnityControllerProfilerDefine = "UNITY_CONTROLLERS_PROFILER";
22-
#if UNITY_CONTROLLERS_PROFILER
23-
[MenuItem("Tools/Controllers/Disable UNITY_CONTROLLERS_PROFILER define", priority = 103)]
21+
private const string UnityControllerProfilerDefine = "CONTROLLERS_PROFILER";
22+
#if CONTROLLERS_PROFILER
23+
[MenuItem("Tools/Controllers/Disable CONTROLLERS_PROFILER define", priority = 103)]
2424
public static void DisableUnityControllerProfilerDefine()
2525
{
2626
var buildTarget = EditorUserBuildSettings.selectedBuildTargetGroup;
@@ -30,7 +30,7 @@ public static void DisableUnityControllerProfilerDefine()
3030
PlayerSettings.SetScriptingDefineSymbolsForGroup(buildTarget, definesList.ToArray());
3131
}
3232
#else
33-
[MenuItem("Tools/Controllers/Enable UNITY_CONTROLLERS_PROFILER define", priority = 103)]
33+
[MenuItem("Tools/Controllers/Enable CONTROLLERS_PROFILER define", priority = 103)]
3434
public static void EnableUnityControllerProfilerDefine()
3535
{
3636
var buildTarget = EditorUserBuildSettings.selectedBuildTargetGroup;

src/ControllersTree/Editor/ControllersProfiler/ControllerData.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if UNITY_CONTROLLERS_PROFILER
1+
#if CONTROLLERS_PROFILER
22
namespace Modules.Controller.Editor
33
{
44
internal sealed class ControllerData

src/ControllersTree/Editor/ControllersProfiler/ControllerLiveData.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if UNITY_CONTROLLERS_PROFILER
1+
#if CONTROLLERS_PROFILER
22
using UnityEngine;
33

44
namespace Modules.Controller.Editor

src/ControllersTree/Editor/ControllersProfiler/ControllersProfilerModule.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if UNITY_CONTROLLERS_PROFILER
1+
#if CONTROLLERS_PROFILER
22
using Playtika.Controllers;
33
using Unity.Profiling;
44
using Unity.Profiling.Editor;

src/ControllersTree/Editor/ControllersProfiler/ControllersProfilerModuleViewController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if UNITY_CONTROLLERS_PROFILER
1+
#if CONTROLLERS_PROFILER
22
using System;
33
using System.Collections.Generic;
44
using System.Text;

src/ControllersTree/Editor/ControllersProfiler/CreatedAndDestroyedControllersListView.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if UNITY_CONTROLLERS_PROFILER
1+
#if CONTROLLERS_PROFILER
22
using System.Collections.Generic;
33
using UnityEngine.UIElements;
44

0 commit comments

Comments
 (0)