Skip to main content

UnlockContentConfig - IsItemUnlockedAndEnabled

Check if a weapon/song/other is unlocked and enabled.

Example#

if CL.UnlockContentConfig.IsItemUnlockedAndEnabled(self.yourWeaponId) then    print("This weapon is enabled")end 

User Variables#

Componentvariable
stringself.yourWeaponId