Skip to main content

IAnimationEventMethods

Trait IAnimationEventMethods 

Source
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§

Source

fn ctor(self)

.ctor() overload

Source

fn get_string_parameter(self) -> Il2CppString

get_stringParameter() overload

Source

fn set_string_parameter(self, value: impl Into<Il2CppString>)

set_stringParameter(::unity::Il2CppString) overload

Source

fn get_float_parameter(self) -> f32

get_floatParameter() overload

Source

fn set_float_parameter(self, value: impl Into<f32>)

set_floatParameter(f32) overload

Source

fn get_int_parameter(self) -> i32

get_intParameter() overload

Source

fn set_int_parameter(self, value: impl Into<i32>)

set_intParameter(i32) overload

Source

fn get_object_reference_parameter(self) -> Object_2

get_objectReferenceParameter() overload

Source

fn set_object_reference_parameter(self, value: impl Into<Object_2>)

set_objectReferenceParameter(crate::unity_engine::object_2::Object_2) overload

Source

fn get_function_name(self) -> Il2CppString

get_functionName() overload

Source

fn set_function_name(self, value: impl Into<Il2CppString>)

set_functionName(::unity::Il2CppString) overload

Source

fn get_time(self) -> f32

get_time() overload

Source

fn set_time(self, value: impl Into<f32>)

set_time(f32) overload

Source

fn get_message_options(self) -> SendMessageOptions

get_messageOptions() overload

Source

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§

Source§

impl<__T: IAnimationEvent> IAnimationEventMethods for __T

Available on crate feature unity_engine-animationevent only.