Solution:
add this script to Response Button Template in template
using UnityEngine;
public class UISchemeChanger : MonoBehaviour
{
private void OnEnable()
{
(GameCanvasInstance.Instance as GameCanvas).SetCurrent(gameObject);
}
private void OnDisable()
{
(GameCanvasInstance.Instance as ...
Search found 5 matches
- Wed Feb 12, 2025 12:57 pm
- Forum: Dialogue System for Unity
- Topic: Switching action map disables interaction
- Replies: 13
- Views: 6710
- Fri Feb 07, 2025 4:13 pm
- Forum: Dialogue System for Unity
- Topic: Switching action map disables interaction
- Replies: 13
- Views: 6710
Re: Switching action map disables interaction
I found out exactly what stops working if you use PlayerInputWrapper.PlayerInput.SwitchCurrentActionMap("UI");
Unfortunately, I was not given permission to send the project files.
DialogueUI stops working if this code is triggered. Regardless of whether the dialogues were turned on before or not ...
Unfortunately, I was not given permission to send the project files.
DialogueUI stops working if this code is triggered. Regardless of whether the dialogues were turned on before or not ...
- Fri Feb 07, 2025 4:14 am
- Forum: Dialogue System for Unity
- Topic: Switching action map disables interaction
- Replies: 13
- Views: 6710
Re: Switching action map disables interaction
I found out exactly what stops working if you use PlayerInputWrapper.PlayerInput.SwitchCurrentActionMap("UI");
- Thu Feb 06, 2025 10:55 am
- Forum: Dialogue System for Unity
- Topic: Switching action map disables interaction
- Replies: 13
- Views: 6710
Re: Switching action map disables interaction
I will describe the situation in more detail.
I'm using EventSystem UI InputModul with my custom Actions Asset.
В скрипте меняю ActionMap when any ui menu turns on or off.
private IEnumerator SwitchInputAction(GameObject gameObject)
{
yield return new WaitForSecondsRealtime(0.1f);
if ...
I'm using EventSystem UI InputModul with my custom Actions Asset.
В скрипте меняю ActionMap when any ui menu turns on or off.
private IEnumerator SwitchInputAction(GameObject gameObject)
{
yield return new WaitForSecondsRealtime(0.1f);
if ...
- Thu Feb 06, 2025 7:50 am
- Forum: Dialogue System for Unity
- Topic: Switching action map disables interaction
- Replies: 13
- Views: 6710
Re: Switching action map disables interaction
Hi.
Has anyone found a solution?
I have the same problem. I can't solve it in any way.blakey wrote: Thu Feb 08, 2024 11:18 am
Also the issue of switching the action maps from player, to ui, and then back to player stopping input to the continue button still persists regardless. Do you have any idea on a fix for this?
Thank you
Has anyone found a solution?