Network Behaviour
ObjectNet provides the facility to create custom behavior that will apply to custom NetworkObjects.
This structure is a class that needs to implement NetworkEntity base class. ObjectNet has already the following types :
- PositionNetwork
- RotationNetwork
- ScaleNetwork
- AnimationNetwork
- ParticlesNetwork
- VariablesNetwork
- InputNetwork
The main idea of custom behavior is to keep objects synchronized without the need to manually send and receive each value at different points of the code.
To implement your own DataStream you can check the API document on NetworkEntity class ( see Custom Behaviour ).