Type Alias IsInteractor

Source
pub type IsInteractor = Is<Interactor>;

Aliased Type§

struct IsInteractor { /* private fields */ }

Trait Implementations§

Source§

impl NetSync for IsInteractor

Source§

const SYNC_FROM: SyncFrom = SyncFrom::ClientEntity

Determines what for entities this component is synced to the client. Read more
Source§

fn pre_insert(&mut self, world: &World)

Allows making modifications before the synced component is inserted on the client.
Source§

fn pre_modify(&mut self, world: &World)

Allows making modifications before the synced component is overwritten with this version on the client.
Source§

impl TryFrom<EcsCompPacket> for IsInteractor

Source§

type Error = InvalidType

The type returned in the event of a conversion error.
Source§

fn try_from(other: EcsCompPacket) -> Result<IsInteractor, Self::Error>

Performs the conversion.