Link Parent to Child in RPC ? or when i Instantiate ? but How ?
Options
Hello,
after i Instantiate my GameObject with PhotonNetwork.Instantiate, i link locally this GO with a Parent but i need to RPC that but i didnt find how.
Or can i link a Parent when i PhotonNetwork.Instantiate ?
Thanks you for any information.
after i Instantiate my GameObject with PhotonNetwork.Instantiate, i link locally this GO with a Parent but i need to RPC that but i didnt find how.
Or can i link a Parent when i PhotonNetwork.Instantiate ?
if (photonView.IsMine)
{
GameObject myGameObject = PhotonNetwork.Instantiate("Prefabs", Vector3.zero, Quaternion.
myGameObject.transform.parent = transform.GetChild(0); // <<<< The others clients doesnt know this line, how
can i send them this information ? With RPC i didnt figure out that.
}
Thanks you for any information.
0