예제 #1
0
 public void OnInstantiateNetworkObject(ServerNetwork.IntantiateObjectData aData)
 {
     //whenever an object was instatiated this gets called
 }
예제 #2
0
    void OnInstantiateNetworkObject(ServerNetwork.IntantiateObjectData data)
    {
        GameObject newObj = Instantiate(netObjDemo);

        netObjs.Add(data.netObjId, newObj);
    }