Fixed button issue

This commit is contained in:
2025-11-07 17:21:38 +01:00
parent 41c71f07fd
commit ea12766cf7
3 changed files with 101 additions and 2 deletions

View File

@@ -26,10 +26,13 @@ public class AppSwitcher : MonoBehaviour
iconPlayer = icon.GetComponentInChildren<SkottiePlayerV2>();
rainbowPlayer = rainbow.GetComponentInChildren<SkottiePlayerV2>();
animator = GetComponent<Animator>();
rainbow.SetActive(false);
}
public void OpenAppSwitcher()
{
rainbow.SetActive(true);
//Activate players
rainbow.SetActive(true);
gameLayoutContainer.SetActive(true);