ViewsΒΆ

In MassiveNet, like in Unity Networking, a NetView is representative of a communication channel reserved for a network object. A NetView provides a unique network identifier, concept of ownership, and facilities for synchronizing the state of the object. A NetView component must be attached to each object which has a state that must be synchronized.

NetViews are managed by the ViewManager component. A ViewManager component should be attached to the same GameObject as the NetSocket component for which it operates. While a ViewManager is required when utilizing NetViews, it is not a requirement for using MassiveNet.

It is important to note that NetView creation must be handled by the ViewManager. The way to utilize NetView functionality is to attach a NetView component to a prefab, and then instantiate the prefab using the ViewManager.