ContinueUI and resetasync

All about user interface, be it customizing built-in UIs or adding new ones.
Post Reply
danielduarte
Posts: 2
Joined: 11 Mar 2022 20:01

ContinueUI and resetasync

Post by danielduarte »

Does anyone know if this actually works for resetting the UI ? It seems as though that the continueui GO does not actually get reset back to normal after calling this:

Code: Select all

    // 3. Reset state.
    var stateManager = Engine.GetService<IStateManager>();
        await stateManager.ResetStateAsync();

this is from the guide

idaot
support
Posts: 262
Joined: 01 Aug 2020 08:25

Re: ContinueUI and resetasync

Post by idaot »

ResetStateAsync has no effect on UI's apart from the visibility settings specified in the Custom/Default UI prefab and the provided script is only an abstract example that may not serve your use case. You are free to disable ContinueInputUI manually.

Post Reply