Actions called on switch between scenes and menues

  • #1, z mulewaThursday, 03. February 2022, 19:12 hodinky 2 years ago
    Hello,
    i am using a lot of menues in my game.
    When i open a menue i don´t want to see the inventory and i want to change the cursor.
    At the moment i have in every scene and in every menue under "beginning of scene" 2 actions that sets this 2 things.
    I have the feeling there should be an easier more generic way to handle things like this.
    My solution is working but not a good programming style and i have to add it for every new scene.
    It feels somehow like a nail in my eye.
    How can i realize this in a more generic way?

    Bažant

    21 Posts


  • #2, z esmeraldaFriday, 04. February 2022, 08:59 hodinky 2 years ago
    If you want to hide all interfaces in all menus there is an option for that in the game settings.
    "auto hide interfaces in menu"

    And in every menu scene you can set the cursor in the properties.

    Zabiják klíčů

    525 Posts

  • #3, z mulewaFriday, 04. February 2022, 10:11 hodinky 2 years ago
    Thank you Esmeralda, was not aware of this 2 checkboxes.

    Bažant

    21 Posts