Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if UNITY_CONTROLLERS_PROFILER
#if CONTROLLERS_PROFILER
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if UNITY_CONTROLLERS_PROFILER
#if CONTROLLERS_PROFILER
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
Expand Down
2 changes: 1 addition & 1 deletion src/ControllersTree/Core/Profiler/FixedString.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if UNITY_CONTROLLERS_PROFILER
#if CONTROLLERS_PROFILER
using System;
using System.Runtime.InteropServices;

Expand Down
2 changes: 1 addition & 1 deletion src/ControllersTree/Core/Profiler/Helper.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if UNITY_CONTROLLERS_PROFILER
#if CONTROLLERS_PROFILER
using System;
using System.Runtime.InteropServices;
using UnityEngine;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ private static void ShowWindow()
GetWindow<ControllersHierarchy>("Controllers Hierarchy");
}

private const string UnityControllerProfilerDefine = "UNITY_CONTROLLERS_PROFILER";
#if UNITY_CONTROLLERS_PROFILER
[MenuItem("Tools/Controllers/Disable UNITY_CONTROLLERS_PROFILER define", priority = 103)]
private const string UnityControllerProfilerDefine = "CONTROLLERS_PROFILER";
#if CONTROLLERS_PROFILER
[MenuItem("Tools/Controllers/Disable CONTROLLERS_PROFILER define", priority = 103)]
public static void DisableUnityControllerProfilerDefine()
{
var buildTarget = EditorUserBuildSettings.selectedBuildTargetGroup;
Expand All @@ -30,7 +30,7 @@ public static void DisableUnityControllerProfilerDefine()
PlayerSettings.SetScriptingDefineSymbolsForGroup(buildTarget, definesList.ToArray());
}
#else
[MenuItem("Tools/Controllers/Enable UNITY_CONTROLLERS_PROFILER define", priority = 103)]
[MenuItem("Tools/Controllers/Enable CONTROLLERS_PROFILER define", priority = 103)]
public static void EnableUnityControllerProfilerDefine()
{
var buildTarget = EditorUserBuildSettings.selectedBuildTargetGroup;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if UNITY_CONTROLLERS_PROFILER
#if CONTROLLERS_PROFILER
namespace Modules.Controller.Editor
{
internal sealed class ControllerData
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if UNITY_CONTROLLERS_PROFILER
#if CONTROLLERS_PROFILER
using UnityEngine;

namespace Modules.Controller.Editor
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if UNITY_CONTROLLERS_PROFILER
#if CONTROLLERS_PROFILER
using Playtika.Controllers;
using Unity.Profiling;
using Unity.Profiling.Editor;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if UNITY_CONTROLLERS_PROFILER
#if CONTROLLERS_PROFILER
using System;
using System.Collections.Generic;
using System.Text;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if UNITY_CONTROLLERS_PROFILER
#if CONTROLLERS_PROFILER
using System.Collections.Generic;
using UnityEngine.UIElements;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if UNITY_CONTROLLERS_PROFILER
#if CONTROLLERS_PROFILER
using System;
using System.Collections.Generic;
using UnityEngine.UIElements;
Expand Down