public void OnInstantiateNetworkObject(ServerNetwork.IntantiateObjectData aData) { //whenever an object was instatiated this gets called }
void OnInstantiateNetworkObject(ServerNetwork.IntantiateObjectData data) { GameObject newObj = Instantiate(netObjDemo); netObjs.Add(data.netObjId, newObj); }