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...
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...