|
Post by william618 on Sept 18, 2019 21:51:19 GMT
Hi Everyone,
Each time I desactivate and then reactivate the LeftAnalog (UI Mobile) it becomes unusable.. For example if I do allCanvas.gameObject.SetActive(false) => allCanvas.gameObject.SetActive(true)... then it doesn't respond anymore after activation.
I have the same issue if I desactivate it and then reactivate it on runtime from the editor. Does anyone have an idea about what could I do? I just want to hide it while I pause the game.
On the Demo I have the same issue.
|
|
|
Post by Invector on Sept 19, 2019 14:26:04 GMT
You could fade/disable the image instead of disabling the component
|
|
|
Post by william618 on Sept 19, 2019 19:30:31 GMT
You could fade/disable the image instead of disabling the component Thanks for your reply! Your answer gave me the idea to use => allCanvas .gameObject.GetComponent<Canvas>().enabled = true/false;
Like this it won't make go wrong the Joystick. hehe one problem less.
|
|