File tree Expand file tree Collapse file tree
Plugins/AssetUsageDetector/Editor Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010using System . IO ;
1111using System . Text ;
1212using Object = UnityEngine . Object ;
13- #if UNITY_2018_3_OR_NEWER
13+ #if UNITY_2018_3_OR_NEWER && ! UNITY_2021_2_OR_NEWER
1414using PrefabStage = UnityEditor . Experimental . SceneManagement . PrefabStage ;
1515using PrefabStageUtility = UnityEditor . Experimental . SceneManagement . PrefabStageUtility ;
1616#endif
Original file line number Diff line number Diff line change 55using System . Collections . Generic ;
66using System . Reflection ;
77using Object = UnityEngine . Object ;
8- #if UNITY_2018_3_OR_NEWER
8+ #if UNITY_2021_2_OR_NEWER
9+ using PrefabStage = UnityEditor . SceneManagement . PrefabStage ;
10+ using PrefabStageUtility = UnityEditor . SceneManagement . PrefabStageUtility ;
11+ #elif UNITY_2018_3_OR_NEWER
912using PrefabStage = UnityEditor . Experimental . SceneManagement . PrefabStage ;
1013using PrefabStageUtility = UnityEditor . Experimental . SceneManagement . PrefabStageUtility ;
1114#endif
Original file line number Diff line number Diff line change 55using UnityEditor ;
66using UnityEditor . IMGUI . Controls ;
77using UnityEngine ;
8- #if UNITY_2018_3_OR_NEWER
8+ #if UNITY_2021_2_OR_NEWER
9+ using PrefabStage = UnityEditor . SceneManagement . PrefabStage ;
10+ using PrefabStageUtility = UnityEditor . SceneManagement . PrefabStageUtility ;
11+ #elif UNITY_2018_3_OR_NEWER
912using PrefabStage = UnityEditor . Experimental . SceneManagement . PrefabStage ;
1013using PrefabStageUtility = UnityEditor . Experimental . SceneManagement . PrefabStageUtility ;
1114#endif
Original file line number Diff line number Diff line change 1010using UnityEngine ;
1111using UnityEngine . SceneManagement ;
1212using Object = UnityEngine . Object ;
13- #if UNITY_2018_3_OR_NEWER
13+ #if UNITY_2018_3_OR_NEWER && ! UNITY_2021_2_OR_NEWER
1414using PrefabStage = UnityEditor . Experimental . SceneManagement . PrefabStage ;
1515using PrefabStageUtility = UnityEditor . Experimental . SceneManagement . PrefabStageUtility ;
1616#endif
Original file line number Diff line number Diff line change 11{
22 "name" : " com.yasirkula.assetusagedetector" ,
33 "displayName" : " Asset Usage Detector" ,
4- "version" : " 2.2.0 " ,
4+ "version" : " 2.2.1 " ,
55 "documentationUrl" : " https://github.com/yasirkula/UnityAssetUsageDetector" ,
66 "changelogUrl" : " https://github.com/yasirkula/UnityAssetUsageDetector/releases" ,
77 "licensesUrl" : " https://github.com/yasirkula/UnityAssetUsageDetector/blob/master/LICENSE.txt" ,
You can’t perform that action at this time.
0 commit comments