Soso.Net
A Unity networking library with synced Rigidbodies, swappable transport layers, RPCs, and much more!
Soso.Net
Soso.Net is a powerful Unity networking library.
✨ Features
- Rigidbody synchronization
- Transform synchronization
- RPCs
- Synced variables
- Spawn pooling
- Time synchronization
🔨 Usage
Setting up a Prefab
- Ensure you have created a SpawnList inside your project (Create->SosoNet->Spawnables)
- Add a NetworkIdentity to the root of your prefab
- Add your prefab to your project's SpawnList
RPCs
Calling an RPC can be done from any NetworkReceiver
{
...
Rpc(CustomRpcMethod, "Hello there!");
...
}
[SosoRpc(RPC_CALL_TYPE.Client)]
private void CustomRpcMethod(string customArgs)
{
Debug.Log(customArgs);
}