Skip to main content

IMapEffectMethods

Trait IMapEffectMethods 

Source
pub trait IMapEffectMethods: IMapEffect {
    // Provided methods
    fn on_create(self) { ... }
    fn on_dispose(self) { ... }
    fn on_update(self) { ... }
    fn create_impl(
        self,
        name: impl Into<Il2CppString>,
        position: impl Into<Vector3>,
        rotation: impl Into<Quaternion>,
    ) { ... }
    fn delete_impl(
        self,
        name: impl Into<Il2CppString>,
        position: impl Into<Vector3>,
    ) { ... }
    fn is_exist_impl(
        self,
        name: impl Into<Il2CppString>,
        position: impl Into<Vector3>,
    ) -> bool { ... }
    fn get_version(self) -> i32 { ... }
    fn on_serialize(self, stream: impl Into<Stream_2>) { ... }
    fn on_deserialize(
        self,
        stream: impl Into<Stream_2>,
        version: impl Into<i32>,
    ) { ... }
    fn resume(self) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn on_create(self)

OnCreate() overload

Source

fn on_dispose(self)

OnDispose() overload

Source

fn on_update(self)

OnUpdate() overload

Source

fn create_impl( self, name: impl Into<Il2CppString>, position: impl Into<Vector3>, rotation: impl Into<Quaternion>, )

CreateImpl(::unity::Il2CppString, crate::unity_engine::vector3::Vector3, crate::unity_engine::quaternion::Quaternion) overload

Source

fn delete_impl( self, name: impl Into<Il2CppString>, position: impl Into<Vector3>, )

DeleteImpl(::unity::Il2CppString, crate::unity_engine::vector3::Vector3) overload

Source

fn is_exist_impl( self, name: impl Into<Il2CppString>, position: impl Into<Vector3>, ) -> bool

IsExistImpl(::unity::Il2CppString, crate::unity_engine::vector3::Vector3) overload

Source

fn get_version(self) -> i32

get_Version() overload

Source

fn on_serialize(self, stream: impl Into<Stream_2>)

OnSerialize(crate::app::stream_2::Stream_2) overload

Source

fn on_deserialize(self, stream: impl Into<Stream_2>, version: impl Into<i32>)

OnDeserialize(crate::app::stream_2::Stream_2, i32) overload

Source

fn resume(self)

Resume() overload

Source

fn ctor(self)

.ctor() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IMapEffect> IMapEffectMethods for __T

Available on crate feature app-mapeffect only.