ContinueUI and resetasync

Posted: 16 Mar 2022 07:03
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


Re: ContinueUI and resetasync

Posted: 16 Mar 2022 11:04
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.