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

NetworkBehaviour constraints...

$
0
0
Right now there is a constraint where

1) NetworkIdentity must be on the root gameobject of a spawnable prefab
2) NetworkBehaviour must be on the same game object as the NetworkIdentity

I am hoping that at some point in the future, NetworkBehaviours can be associated with a NetworkIdentity in some other way.

Idea 1- by traversing up the hierarchy and find the parent NetworkIdentity,
Idea 2 - manually telling the NetworkBehaviour which NetworkIdentity to associate with. (possibly a property...

NetworkBehaviour constraints...

Viewing all articles
Browse latest Browse all 16796

Trending Articles



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