I created a settings layout to deal with sound settings. When ever I click on settings button Settings layout opens and then when ever I click on keep playing button it goes back to the currentlayout that I set as currentlayout global value.
the problem is -> My Player object is somewhat reseted.
I couldnt understand the problem. If I set persistent as a behaviour it causes some other problems. If I dont set it then this happens. How Can I Oepn a layout without resetting anything on any other layout and How Can I go back to the previous layout without changing anything on that layout?
Any help is appretiated. Thank You.