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§
Sourcefn unity_engine_i_serialization_callback_receiver_on_before_serialize(self)
fn unity_engine_i_serialization_callback_receiver_on_before_serialize(self)
UnityEngine.ISerializationCallbackReceiver.OnBeforeSerialize() overload
Sourcefn unity_engine_i_serialization_callback_receiver_on_after_deserialize(self)
fn unity_engine_i_serialization_callback_receiver_on_after_deserialize(self)
UnityEngine.ISerializationCallbackReceiver.OnAfterDeserialize() overload
Sourcefn find_method_impl(
self,
name: impl Into<Il2CppString>,
target_obj_type: impl Into<SystemType>,
) -> MethodInfo
fn find_method_impl( self, name: impl Into<Il2CppString>, target_obj_type: impl Into<SystemType>, ) -> MethodInfo
FindMethod_Impl(::unity::Il2CppString, ::unity::SystemType) overload
Sourcefn get_delegate(
self,
target: impl Into<Object>,
the_function: impl Into<MethodInfo>,
) -> BaseInvokableCall
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
Sourcefn find_method(self, call: impl Into<PersistentCall>) -> MethodInfo
fn find_method(self, call: impl Into<PersistentCall>) -> MethodInfo
FindMethod(crate::unity_engine::events::persistentcall::PersistentCall) overload
Sourcefn find_method_2(
self,
name: impl Into<Il2CppString>,
listener_type: impl Into<SystemType>,
mode: impl Into<PersistentListenerMode>,
argument_type: impl Into<SystemType>,
) -> 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
FindMethod(::unity::Il2CppString, ::unity::SystemType, crate::unity_engine::events::persistentlistenermode::PersistentListenerMode, ::unity::SystemType) overload
Sourcefn dirty_persistent_calls(self)
fn dirty_persistent_calls(self)
DirtyPersistentCalls() overload
Sourcefn rebuild_persistent_calls_if_needed(self)
fn rebuild_persistent_calls_if_needed(self)
RebuildPersistentCallsIfNeeded() overload
Sourcefn add_call(self, call: impl Into<BaseInvokableCall>)
fn add_call(self, call: impl Into<BaseInvokableCall>)
AddCall(crate::unity_engine::events::baseinvokablecall::BaseInvokableCall) overload
Sourcefn remove_listener(
self,
target_obj: impl Into<Object>,
method: impl Into<MethodInfo>,
)
fn remove_listener( self, target_obj: impl Into<Object>, method: impl Into<MethodInfo>, )
RemoveListener(crate::system::object::Object, crate::system::reflection::methodinfo::MethodInfo) overload
Sourcefn prepare_invoke(self) -> List_1<BaseInvokableCall>
fn prepare_invoke(self) -> List_1<BaseInvokableCall>
PrepareInvoke() overload
Sourcefn to_string(self) -> Il2CppString
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§
impl<__T: IUnityEventBase> IUnityEventBaseMethods for __T
unity_engine-events-unityeventbase only.