Methods after, PhotonNetwork.Instantiate()

How can i set parent for the network clients,
//There i spawn the card
GameObject newCardGO = PhotonNetwork.Instantiate($"OtherPrefabs\\{_cardPrefab.name}",Vector3.zero,Quaternion.identity);
        
       // and that i need to change parent
        newCardGO.transform.SetParent(Rows[row]);
        newCardGO.transform.localScale = new Vector3(1, 1, 1);
        Card newCard = newCardGO.GetComponent<Card>();
       // and call this method
        newCard.ReGenerateValues(card);
Sign In or Register to comment.