Skip to main content

IUnityEventBaseMethods

Trait IUnityEventBaseMethods 

Source
pub trait IUnityEventBaseMethods: IUnityEventBase {
Show 13 methods // Provided methods fn ctor(self) { ... } fn unity_engine_i_serialization_callback_receiver_on_before_serialize(self) { ... } fn unity_engine_i_serialization_callback_receiver_on_after_deserialize(self) { ... } fn find_method_impl( self, name: impl Into<Il2CppString>, target_obj_type: impl Into<SystemType>, ) -> MethodInfo { ... } fn get_delegate( self, target: impl Into<Object>, the_function: impl Into<MethodInfo>, ) -> BaseInvokableCall { ... } fn find_method(self, call: impl Into<PersistentCall>) -> MethodInfo { ... } fn find_method_2( self, name: impl Into<Il2CppString>, listener_type: impl Into<SystemType>, mode: impl Into<PersistentListenerMode>, argument_type: impl Into<SystemType>, ) -> MethodInfo { ... } fn dirty_persistent_calls(self) { ... } fn rebuild_persistent_calls_if_needed(self) { ... } fn add_call(self, call: impl Into<BaseInvokableCall>) { ... } fn remove_listener( self, target_obj: impl Into<Object>, method: impl Into<MethodInfo>, ) { ... } fn prepare_invoke(self) -> List_1<BaseInvokableCall> { ... } fn to_string(self) -> Il2CppString { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn unity_engine_i_serialization_callback_receiver_on_before_serialize(self)

UnityEngine.ISerializationCallbackReceiver.OnBeforeSerialize() overload

Source

fn unity_engine_i_serialization_callback_receiver_on_after_deserialize(self)

UnityEngine.ISerializationCallbackReceiver.OnAfterDeserialize() overload

Source

fn find_method_impl( self, name: impl Into<Il2CppString>, target_obj_type: impl Into<SystemType>, ) -> MethodInfo

FindMethod_Impl(::unity::Il2CppString, ::unity::SystemType) overload

Source

fn get_delegate( self, target: impl Into<Object>, the_function: impl Into<MethodInfo>, ) -> BaseInvokableCall

GetDelegate(crate::system::object::Object, crate::system::reflection::methodinfo::MethodInfo) overload

Source

fn find_method(self, call: impl Into<PersistentCall>) -> MethodInfo

FindMethod(crate::unity_engine::events::persistentcall::PersistentCall) overload

Source

fn find_method_2( self, name: impl Into<Il2CppString>, listener_type: impl Into<SystemType>, mode: impl Into<PersistentListenerMode>, argument_type: impl Into<SystemType>, ) -> MethodInfo

FindMethod(::unity::Il2CppString, ::unity::SystemType, crate::unity_engine::events::persistentlistenermode::PersistentListenerMode, ::unity::SystemType) overload

Source

fn dirty_persistent_calls(self)

DirtyPersistentCalls() overload

Source

fn rebuild_persistent_calls_if_needed(self)

RebuildPersistentCallsIfNeeded() overload

Source

fn add_call(self, call: impl Into<BaseInvokableCall>)

AddCall(crate::unity_engine::events::baseinvokablecall::BaseInvokableCall) overload

Source

fn remove_listener( self, target_obj: impl Into<Object>, method: impl Into<MethodInfo>, )

RemoveListener(crate::system::object::Object, crate::system::reflection::methodinfo::MethodInfo) overload

Source

fn prepare_invoke(self) -> List_1<BaseInvokableCall>

PrepareInvoke() overload

Source

fn to_string(self) -> Il2CppString

ToString() 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: IUnityEventBase> IUnityEventBaseMethods for __T

Available on crate feature unity_engine-events-unityeventbase only.