Customize Unlockable UI not able to unlock item
Hello,
I have several customized Unlockables, which I would like to display similar as CG Gallery, something like Achievement Gallery, Collection Gallery.
I used customized CGGalleryUI, the CGGalleryUI is fine, and is able to unlock CG. So I use similar UI to set up Achievement Gallery. I could see the Achievement Gallery UI displaying fine, which has exact the number of slots I added to Unlockables list ( to be exact 6 ). But when I use @unlock, it is not able to unlock and display the picture in the slot. For CG Gallery all works fine.
Here is how I setup
Unlockables:
NAME Object
CG/smoke smoke.png
Achievement/win win.png
UI
CGGalleryUI myCGUI (prefab)
AchievementUI myAchievementUI(prefab)
and in the Achievement UI
Cg Sources:
Path Prefix: Unlockables/Achievement
@showUI CGGalleryUI. ---- work fine
@unlock CG/smoke. ----- work fine
@showUI AchievementUI --- work fine
@unlock Achievement/win -- NOT WORKING, not able to unlock
Could you please help me figure out what I am missing or if I am doing something wrong? Let me know if you need more info
Thanks!