Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

[UNET] Can I have a NetworkBehaviour under the NetworkIdentity instead of next to it?

$
0
0
Hey guys,

I currently have a typical player GameObject, with lots of MonoBehaviours. Some of these come from a prefab, which is being spawned in that player hierarchy. I want some of these to be NetworkBehaviours, so they can use the [Command] or [ClientRpc] functionality. Is there any way to do this without having to resort to some intermediate interface next to the NetworkIdentity, or am I perhaps misunderstanding something?

Thanks in advance.

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>