File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Packages/com.mygamedevtools.scene-loader/Tests/Runtime Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 11using System . Collections ;
22using System . Threading . Tasks ;
33using NUnit . Framework ;
4+ #if ENABLE_ADDRESSABLES
45using UnityEngine . AddressableAssets ;
56using UnityEngine . ResourceManagement . AsyncOperations ;
7+ #endif
68using UnityEngine . TestTools ;
79
810namespace MyGameDevTools . SceneLoading . Tests
@@ -11,6 +13,7 @@ public partial class StaticSceneManager_Tests
1113 {
1214 int [ ] _buildIndexes = new [ ] { 1 , 2 , 3 } ;
1315
16+ #if ENABLE_ADDRESSABLES
1417 AssetReference [ ] _assetReferences ;
1518
1619 [ OneTimeSetUp ]
@@ -24,6 +27,7 @@ public void AssetReferenceSetup()
2427
2528 Addressables . Release ( operationHandle ) ;
2629 }
30+ #endif
2731
2832 [ UnityTest ]
2933 public IEnumerator Load_Extension_ByIndex ( )
You can’t perform that action at this time.
0 commit comments