Hi, I got questing if it is a bug or my wrong code.
I got PLAYER1 on screen1 as looping and PlayOnlyInForegroung = false.
If I am on screen, my button Player1 stop is operating well
When I swap to screen2 and then back to screen1 (Music is still playing cus I have PlayOnlyInForegroung = false function is well) but than my stop button didnt do nothing and my music is still playing. When I press button play. The music will start again in second layer (Two same songs are playing with delay) and now the STOP button is working but only for the second layer.
I want tu just make a bacground music throw all screens, but when i swaping screen i cant no more controll the layer.
I try to write variable Bacgrounfmusic.IsPlayin and when I pressing stop/play it is gettign values corectry. But when I swap screen to screen2 and then back to screen1 this variable is FALSE but I still hear the sound from player1. I am ensuring, that I am trying to control this PLAYER1 only from that one screen1. I know I cant control him thro different screen.
Is it bug? Or how can I make it work please?
Thanks to all of you