pub struct NetworkView {
pub m_Enabled: u8,
pub m_GameObject: PPtr,
pub m_Observed: PPtr,
pub m_StateSynchronization: i32,
pub m_ViewID: NetworkViewID,
}Expand description
NetworkView is a class of the Unity engine since version 3.4.0. Exert from Unity’s scripting documentation: The network view is the binding material of multiplayer games. With this you can define exactly what is to be synchronized over the network and how it should be done. Game objects can have NetworkView components which can be configured to watch other components for the object. For more information see the Network View manual page and the component reference page.
Fields§
§m_Enabled: u8Enabled Behaviours are Updated, disabled Behaviours are not.
m_GameObject: PPtrThe game object this component is attached to. A component is always attached to a game object.
PPtr<GameObject>: (3.4.0 - 2018.1.9f2)
m_Observed: PPtrPPtr<Component>: (3.4.0 - 2018.1.9f2)
m_StateSynchronization: i32§m_ViewID: NetworkViewIDTrait Implementations§
Source§impl Debug for NetworkView
impl Debug for NetworkView
Source§impl<'de> Deserialize<'de> for NetworkView
impl<'de> Deserialize<'de> for NetworkView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for NetworkView
impl RefUnwindSafe for NetworkView
impl Send for NetworkView
impl Sync for NetworkView
impl Unpin for NetworkView
impl UnwindSafe for NetworkView
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more