pub trait IAnimationEventMethods: IAnimationEvent {
Show 15 methods
// Provided methods
fn ctor(self) { ... }
fn get_string_parameter(self) -> Il2CppString { ... }
fn set_string_parameter(self, value: impl Into<Il2CppString>) { ... }
fn get_float_parameter(self) -> f32 { ... }
fn set_float_parameter(self, value: impl Into<f32>) { ... }
fn get_int_parameter(self) -> i32 { ... }
fn set_int_parameter(self, value: impl Into<i32>) { ... }
fn get_object_reference_parameter(self) -> Object_2 { ... }
fn set_object_reference_parameter(self, value: impl Into<Object_2>) { ... }
fn get_function_name(self) -> Il2CppString { ... }
fn set_function_name(self, value: impl Into<Il2CppString>) { ... }
fn get_time(self) -> f32 { ... }
fn set_time(self, value: impl Into<f32>) { ... }
fn get_message_options(self) -> SendMessageOptions { ... }
fn set_message_options(self, value: impl Into<SendMessageOptions>) { ... }
}Provided Methods§
Sourcefn get_string_parameter(self) -> Il2CppString
fn get_string_parameter(self) -> Il2CppString
get_stringParameter() overload
Sourcefn set_string_parameter(self, value: impl Into<Il2CppString>)
fn set_string_parameter(self, value: impl Into<Il2CppString>)
set_stringParameter(::unity::Il2CppString) overload
Sourcefn get_float_parameter(self) -> f32
fn get_float_parameter(self) -> f32
get_floatParameter() overload
Sourcefn set_float_parameter(self, value: impl Into<f32>)
fn set_float_parameter(self, value: impl Into<f32>)
set_floatParameter(f32) overload
Sourcefn get_int_parameter(self) -> i32
fn get_int_parameter(self) -> i32
get_intParameter() overload
Sourcefn set_int_parameter(self, value: impl Into<i32>)
fn set_int_parameter(self, value: impl Into<i32>)
set_intParameter(i32) overload
Sourcefn get_object_reference_parameter(self) -> Object_2
fn get_object_reference_parameter(self) -> Object_2
get_objectReferenceParameter() overload
Sourcefn set_object_reference_parameter(self, value: impl Into<Object_2>)
fn set_object_reference_parameter(self, value: impl Into<Object_2>)
set_objectReferenceParameter(crate::unity_engine::object_2::Object_2) overload
Sourcefn get_function_name(self) -> Il2CppString
fn get_function_name(self) -> Il2CppString
get_functionName() overload
Sourcefn set_function_name(self, value: impl Into<Il2CppString>)
fn set_function_name(self, value: impl Into<Il2CppString>)
set_functionName(::unity::Il2CppString) overload
Sourcefn get_message_options(self) -> SendMessageOptions
fn get_message_options(self) -> SendMessageOptions
get_messageOptions() overload
Sourcefn set_message_options(self, value: impl Into<SendMessageOptions>)
fn set_message_options(self, value: impl Into<SendMessageOptions>)
set_messageOptions(crate::unity_engine::sendmessageoptions::SendMessageOptions) 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: IAnimationEvent> IAnimationEventMethods for __T
Available on crate feature
unity_engine-animationevent only.