Forum rules - please read before posting.

Reset Objective Description when closing Objectives menu?

Hi all!

I'm using Unity Prefab to have an objectives menu,. I noticed that when I close out of the menu, the last selected objective is still showing up as part of the description for some reason, even though it seems that the button itself isn't selected.

Is there a way to make it empty?
Thanks!

Comments

  • The selected Objective - and any Menu that displays it - are independent.

    You can de-select the Objective by calling:

    AC.KickStarter.runtimeObjectives.DeselectObjective ();
    

    Alternatively, you can use the Menu: Change state Action to hide the element by default, and then show it when the player clicks on an objective from the list.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.