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§
Sourcefn on_dispose(self)
fn on_dispose(self)
OnDispose() overload
Sourcefn create_impl(
self,
name: impl Into<Il2CppString>,
position: impl Into<Vector3>,
rotation: impl Into<Quaternion>,
)
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
Sourcefn delete_impl(
self,
name: impl Into<Il2CppString>,
position: impl Into<Vector3>,
)
fn delete_impl( self, name: impl Into<Il2CppString>, position: impl Into<Vector3>, )
DeleteImpl(::unity::Il2CppString, crate::unity_engine::vector3::Vector3) overload
Sourcefn is_exist_impl(
self,
name: impl Into<Il2CppString>,
position: impl Into<Vector3>,
) -> bool
fn is_exist_impl( self, name: impl Into<Il2CppString>, position: impl Into<Vector3>, ) -> bool
IsExistImpl(::unity::Il2CppString, crate::unity_engine::vector3::Vector3) overload
Sourcefn get_version(self) -> i32
fn get_version(self) -> i32
get_Version() overload
Sourcefn on_serialize(self, stream: impl Into<Stream_2>)
fn on_serialize(self, stream: impl Into<Stream_2>)
OnSerialize(crate::app::stream_2::Stream_2) overload
Sourcefn on_deserialize(self, stream: impl Into<Stream_2>, version: impl Into<i32>)
fn on_deserialize(self, stream: impl Into<Stream_2>, version: impl Into<i32>)
OnDeserialize(crate::app::stream_2::Stream_2, i32) 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§
impl<__T: IMapEffect> IMapEffectMethods for __T
Available on crate feature
app-mapeffect only.