From 55b83568cecf4fb35183bad846b832b973c748fc Mon Sep 17 00:00:00 2001 From: RasmusAlgoryx Date: Tue, 12 Nov 2024 09:44:59 +0100 Subject: [PATCH] Added full namespace to "Obsolete" usages to avoid error using Unity 6 --- Editor/AGXUnityEditor/BuildTools/DefineSymbols.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Editor/AGXUnityEditor/BuildTools/DefineSymbols.cs b/Editor/AGXUnityEditor/BuildTools/DefineSymbols.cs index 554b5bb0..8dfde8a0 100644 --- a/Editor/AGXUnityEditor/BuildTools/DefineSymbols.cs +++ b/Editor/AGXUnityEditor/BuildTools/DefineSymbols.cs @@ -87,7 +87,7 @@ private static void SetSymbols( List symbols, NamedBuildTarget target ) #region BuildTargetGroup API #if UNITY_6000_0_OR_NEWER - [Obsolete( "The BuildTargetGroup API has been deprecated in favor of the NamedBuildTarget API as of Unity 6.0" )] + [System.Obsolete( "The BuildTargetGroup API has been deprecated in favor of the NamedBuildTarget API as of Unity 6.0" )] #endif public static void Add( string symbol, BuildTargetGroup group ) { @@ -100,7 +100,7 @@ public static void Add( string symbol, BuildTargetGroup group ) } #if UNITY_6000_0_OR_NEWER - [Obsolete( "The BuildTargetGroup API has been deprecated in favor of the NamedBuildTarget API as of Unity 6.0" )] + [System.Obsolete( "The BuildTargetGroup API has been deprecated in favor of the NamedBuildTarget API as of Unity 6.0" )] #endif public static void Remove( string symbol, BuildTargetGroup group ) { @@ -113,7 +113,7 @@ public static void Remove( string symbol, BuildTargetGroup group ) } #if UNITY_6000_0_OR_NEWER - [Obsolete( "The BuildTargetGroup API has been deprecated in favor of the NamedBuildTarget API as of Unity 6.0" )] + [System.Obsolete( "The BuildTargetGroup API has been deprecated in favor of the NamedBuildTarget API as of Unity 6.0" )] #endif public static bool Contains( string symbol, BuildTargetGroup group ) { @@ -121,7 +121,7 @@ public static bool Contains( string symbol, BuildTargetGroup group ) } #if UNITY_6000_0_OR_NEWER - [Obsolete( "The BuildTargetGroup API has been deprecated in favor of the NamedBuildTarget API as of Unity 6.0" )] + [System.Obsolete( "The BuildTargetGroup API has been deprecated in favor of the NamedBuildTarget API as of Unity 6.0" )] #endif private static List GetSymbolsList( BuildTargetGroup group ) { @@ -129,7 +129,7 @@ private static List GetSymbolsList( BuildTargetGroup group ) } #if UNITY_6000_0_OR_NEWER - [Obsolete( "The BuildTargetGroup API has been deprecated in favor of the NamedBuildTarget API as of Unity 6.0" )] + [System.Obsolete( "The BuildTargetGroup API has been deprecated in favor of the NamedBuildTarget API as of Unity 6.0" )] #endif private static void SetSymbols( List symbols, BuildTargetGroup group ) {