add define

This commit is contained in:
Hubert Mattusch 2023-05-22 20:33:17 +02:00
parent 1e66136bfc
commit c0dd3dfdc5

View File

@ -1,4 +1,5 @@
using System.Collections;
#if ADDRESSABLES && UI_ELEMENTS
using System.Collections;
using UnityEngine;
using UnityEngine.UIElements;
@ -21,4 +22,5 @@ namespace NEG.Utils.UiToolkits
visualElement.Q<Button>("RemoveBtn").clicked += () => parent.TryRemoveItem(element);
}
}
}
}
#endif