One of them was including DontDestroyOnLoad(.). There were also two other scripts attached to it. But it still was not working after loading my current problem scene from another scene.įinally was the problem that "MyOnClick" public callback method was implemented in a "MySceneMainScript" which was just attached to an empty game object "MySceneMain".īut "MySceneMain" was not only attaching this script. Was deleting the EventSystem and add it again. Then did set the PLAYER to make use of both as described above. Was first only using the new input system. Was confronted with the issue that my UI Button was not clickable anymore after loading another scene, too. I am working on my first serious 2d afterwork unity project.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |