add define
This commit is contained in:
parent
1e66136bfc
commit
c0dd3dfdc5
@ -1,4 +1,5 @@
|
|||||||
using System.Collections;
|
#if ADDRESSABLES && UI_ELEMENTS
|
||||||
|
using System.Collections;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.UIElements;
|
using UnityEngine.UIElements;
|
||||||
|
|
||||||
@ -21,4 +22,5 @@ namespace NEG.Utils.UiToolkits
|
|||||||
visualElement.Q<Button>("RemoveBtn").clicked += () => parent.TryRemoveItem(element);
|
visualElement.Q<Button>("RemoveBtn").clicked += () => parent.TryRemoveItem(element);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
Loading…
x
Reference in New Issue
Block a user