How I Can Work With Check Unlock & Set Unlock ?

Discussion in 'How Can I...?' started by Taxus baccata, Jun 19, 2023.

  1. Taxus baccata

    Taxus baccata Boxer

    Joined:
    Mar 20, 2020
    Messages:
    51
    Likes Received:
    11
    I want that after the success of the purchase causes the unlocking of lock button. is it possible ?

    set unlockq.png
     
  2. Taxus baccata

    Taxus baccata Boxer

    Joined:
    Mar 20, 2020
    Messages:
    51
    Likes Received:
    11
  3. Vlad-NY

    Vlad-NY Serious Boxer

    Joined:
    Jul 21, 2018
    Messages:
    613
    Likes Received:
    362
    Can you please fix your image and rephrase what you want to achieve so I can help?
     
  4. Taxus baccata

    Taxus baccata Boxer

    Joined:
    Mar 20, 2020
    Messages:
    51
    Likes Received:
    11
     

    Attached Files:

  5. Vlad-NY

    Vlad-NY Serious Boxer

    Joined:
    Jul 21, 2018
    Messages:
    613
    Likes Received:
    362
    OK so set unlock is used to set lock or unlock a button from the UI (lock buttons)

    Get lock is used to check if the specified button is unlocked or locked

    To do what you wish you can link the purchase node to set unlock nodes and some locked buttons in the UI but that's for menu jumps like new worlds or scenes if you wish to unlock characters you need to play with custom code and settings class thats not restored on a reinstall of the app


    Check more details here
    https://discord.com/channels/441096670722260992/441301023282167809/1122846414054113361
     
    Taxus baccata likes this.

Share This Page