Merge branch 'main' into handTracking
commit
d8dcc075d0
|
|
@ -69,7 +69,6 @@ namespace VelNet
|
||||||
public void ReceiveBytes(string identifier, byte[] message, string str_message = "")
|
public void ReceiveBytes(string identifier, byte[] message, string str_message = "")
|
||||||
{
|
{
|
||||||
// send the message to the right component
|
// send the message to the right component
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
syncedComponents[int.Parse(identifier)].ReceiveBytes(message);
|
syncedComponents[int.Parse(identifier)].ReceiveBytes(message);
|
||||||
|
|
@ -125,4 +124,4 @@ namespace VelNet
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -657,7 +657,6 @@ namespace VelNet
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public static NetworkObject InstantiateNetworkObject(string prefabName)
|
public static NetworkObject InstantiateNetworkObject(string prefabName)
|
||||||
{
|
{
|
||||||
VelNetPlayer localPlayer = LocalPlayer;
|
VelNetPlayer localPlayer = LocalPlayer;
|
||||||
|
|
@ -745,4 +744,4 @@ namespace VelNet
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue