public void Natalya1Skin() { colorFedor1.SetActive(false); colorNatalya1.SetActive(true); colorMarcus1.SetActive(false); FedorP1.SetActive(false); FedorP1Skin.SetActive(false); MarcusP1.SetActive(false); MarcusP1Skin.SetActive(false); EventP1.SetActive(false); }
public void CancelPlayer1() { if (Input.GetButtonDown("B1") || Input.GetKeyDown(KeyCode.E)) { if (!checkPlayer1 && !checkPlayer2) { press(); } else { checkPlayer1 = false; confirmButton.SetActive(false); FedorP1.SetActive(false); NatalyaP1.SetActive(false); EventP1.SetActive(true); colorFedor1.SetActive(false); colorNatalya1.SetActive(false); FedorP1.SetActive(false); NatalyaP1.SetActive(false); FedorP1Skin.SetActive(false); NatalyaP1Skin.SetActive(false); if (NumPlayer1 == 0 || NumPlayer1 == 3) { Fedor2Pink.interactable = true; Fedor2Green.interactable = true; } else { Natalya2Yellow.interactable = true; Natalya2Orange.interactable = true; } } } }