Skip to content

Commit 1110013

Browse files
committed
fix: Hide uses of extension between preprocessors
1 parent b44918d commit 1110013

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

Runtime/Editor/Editor UI/LootLockerAdminExtension.Authentication.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
using System;
2-
using LootLocker.Extension.Responses;
32
using UnityEngine;
43
using UnityEngine.UIElements;
54
using UnityEditor;
65

76
#if UNITY_EDITOR && UNITY_2021_3_OR_NEWER && !LOOTLOCKER_DISABLE_EDITOR_EXTENSION
7+
using LootLocker.Extension.Responses;
8+
89
namespace LootLocker.Extension
910
{
1011
public partial class LootLockerAdminExtension : EditorWindow

Runtime/Editor/Editor UI/LootLockerAdminExtension.GameManagement.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
using System;
2-
using LootLocker.Extension.Responses;
32
using UnityEngine;
43
using UnityEngine.UIElements;
54
using UnityEditor;
65

76
#if UNITY_EDITOR && UNITY_2021_3_OR_NEWER && !LOOTLOCKER_DISABLE_EDITOR_EXTENSION
7+
using LootLocker.Extension.Responses;
8+
89
namespace LootLocker.Extension
910
{
1011
public partial class LootLockerAdminExtension : EditorWindow

Runtime/Editor/LootLockerExtensionCalls.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System;
22
using UnityEngine;
33

4-
#if UNITY_EDITOR && UNITY_2021_3_OR_NEWER
4+
#if UNITY_EDITOR && UNITY_2021_3_OR_NEWER && !LOOTLOCKER_DISABLE_EDITOR_EXTENSION
55
using LootLocker.Extension.Requests;
66
using LootLocker.Extension.Responses;
77

Runtime/Editor/LootLockerExtensionResponses.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
using System;
22
using System.Collections.Generic;
33

4-
#if UNITY_EDITOR && UNITY_2021_3_OR_NEWER
4+
#if UNITY_EDITOR && UNITY_2021_3_OR_NEWER && !LOOTLOCKER_DISABLE_EDITOR_EXTENSION
55
using LootLocker.Extension.DataTypes;
6+
67
namespace LootLocker.Extension.Requests
78
{
89
public class MfaAdminLoginRequest

0 commit comments

Comments
 (0)