public void OnClickCharacter() { GetFlatmateAndmakeitSelected(); if (ScreenManager.Instance.OpenedCustomizationScreen.Contains("CatWalkEventDressUp")) { if (IsBusy || IsOnCoolDown) { return; } if (IsActive && EventManagment.Instance.SelectedRoommates.Count < 3) { IsActive = false; EventManagment.Instance.SelectedRoommates.Add(RoommateManager.Instance.SelectedRoommate); } else { IsActive = true; EventManagment.Instance.SelectedRoommates.Remove(RoommateManager.Instance.SelectedRoommate); } GetComponent <Image>().color = IsActive ? NormalColor : DisabledColor; return; } else if (IsActive) { DressManager.Instance.SelectedCharacter = selection; if (ScreenManager.Instance.OpenedCustomizationScreen.Contains("WardRobe")) { ScreenAndPopupCall.Instance.ShowWardrobeForCharacter(); PurchaseDressManager.Instance.IntializeDressesforWardrobe(0); var Tut = GameManager.Instance.GetComponent <Tutorial>(); if (Tut.enabled && !Tut._DressPurchased) { Tut.DressPurchasing(); } } else if (ScreenManager.Instance.OpenedCustomizationScreen.Contains("Boutique")) { ScreenAndPopupCall.Instance.Boutique(); PurchaseSaloonManager.Instance.IntializeItemsforBoutique(0); var Tut = GameManager.Instance.GetComponent <Tutorial>(); if (Tut.enabled && !Tut._SaloonPurchased) { Tut.SaloonPurchasing(); } } else if (ScreenManager.Instance.OpenedCustomizationScreen.Contains("FashionEventDressUp") || ScreenManager.Instance.OpenedCustomizationScreen.Contains("SocietyEventDressUp")) { ScreenAndPopupCall.Instance.CloseCharacterCamera(); ScreenAndPopupCall.Instance.CloseScreen(); ScreenAndPopupCall.Instance.FashionEventScreenSelection(); PurchaseDressManager.Instance.IntializeDressesforFashionAndCatwalk(0); var Tut = GameManager.Instance.GetComponent <Tutorial>(); if (!Tut._FashionEventCompleate && Tut._SaloonPurchased) { Tut.FashionEventStart(); } } else if (ScreenManager.Instance.OpenedCustomizationScreen.Contains("CoOpEvent")) { // ScreenAndPopupCall.Instance.CloseCharacterCamera (); // ScreenAndPopupCall.Instance.ShowCoOpPanel (); // ScreenAndPopupCall.Instance.ShowWardRobeForCoOp (); // PurchaseDressManager.Instance.IntializeDressesforFashionEvent (0, PurchaseDressManager.Instance.CoOpEventContainer.transform); if (MultiplayerManager.Instance._isReciever) { ScreenAndPopupCall.Instance.ShowCoOpPanel(); MultiplayerManager.Instance.JoinorCreateRoomForCoOp(MultiplayerManager.Instance.RoomName); } else { ScreenAndPopupCall.Instance.ShowCoOpPanel(); if (CoOpEventController.Instance.playerCount == 2) { ScreenAndPopupCall.Instance.ShowReadyScreen(false);/*Done Here*/ CoOpEventController.Instance.StartTimer(10f); } else { // ScreenAndPopupCall.Instance.ShowCoOpWaiting(); CoOpEventController.Instance.StartTimer(5f); } } } GetComponent <Image>().color = IsActive ? NormalColor : DisabledColor; thisController.ThisCamera.enabled = false; thisController.DeleteAllChars(); } }