Quantcast
Channel: Recent Discussions — Photon Engine
Viewing all articles
Browse latest Browse all 15755

How do i PhotonNetwork.Instantiate with just a single paramter? aka with a finished gameobject

$
0
0
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!

Viewing all articles
Browse latest Browse all 15755

Trending Articles