What im trying to do is basicly this:
PhotonNetwork.Instantiate(myDotList.Add((GameObject)Instantiate(myDotPrefab, mousePoint, Quaternion.identity)));
I have a list of gos that needs to be in a list to work properly. It works perfectly like this in my offline version but im now trying to network these objects and im not sure how to do it since PhotonNetwork.Instantiate dont work when i do above.
Thanks in advance!
PhotonNetwork.Instantiate(myDotList.Add((GameObject)Instantiate(myDotPrefab, mousePoint, Quaternion.identity)));
I have a list of gos that needs to be in a list to work properly. It works perfectly like this in my offline version but im now trying to network these objects and im not sure how to do it since PhotonNetwork.Instantiate dont work when i do above.
Thanks in advance!