Unity-Technologies / com.unity.netcode.gameobjects

Netcode for GameObjects is a high-level netcode SDK that provides networking capabilities to GameObject/MonoBehaviour workflows within Unity and sits on top of underlying transport layer.
MIT License
2.15k stars 435 forks source link

feat: Single player hosting in WebGL using RPC #3035

Open BenHamrick opened 3 months ago

BenHamrick commented 3 months ago

Expose the ability to use RPC especially on WebGL to allow us to easily make a single player mode while still using netcode usually as a host.

Changelog

Testing and Documentation

CodeSmile-0000011110110111 commented 2 months ago

@BenHamrick Where is the RPCNetworkInterface type defined? I tried to add this change but cannot find such a class in the entire codebase, not even in your fork, and not on the Internet at large.