public void RpcYourTurn(bool isYourTurn) { // make player who is having current turn green Color c = new Color(1, 1, 1, 0.5f); if (isYourTurn) { c = Color.red; } playerPanel.GetComponent <PlayerPanel>().ColorImage(c); Debug.Log("Powinno dac kolorek"); if (isYourTurn && isLocalPlayer) { //playerPanel.GetCardStatus(); Debug.Log("MOJA TURA"); if (!isObserver) { isObserver = true; playerPanel.CreateInstances(); } //CardManager.singleton.EnablePlayHandButtons(); //playerPanel.CreateInstances(); } else { Debug.Log("TU WYPIERDALA BUGA"); //CardManager.singleton.ClientDisableAllButtons(); } }