pub trait IDebugActionStateMethods: IDebugActionState {
// Provided methods
fn get_running_action(self) -> bool { ... }
fn set_running_action(self, value: impl Into<bool>) { ... }
fn get_action_state(self) -> f32 { ... }
fn set_action_state(self, value: impl Into<f32>) { ... }
fn trigger(self, trigger_count: impl Into<i32>, state: impl Into<f32>) { ... }
fn trigger_with_button(
self,
buttons: impl Into<Array<Il2CppString>>,
state: impl Into<f32>,
) { ... }
fn trigger_with_axis(
self,
axis: impl Into<Il2CppString>,
state: impl Into<f32>,
) { ... }
fn trigger_with_key(
self,
keys: impl Into<Array<KeyCode>>,
state: impl Into<f32>,
) { ... }
fn reset(self) { ... }
fn update(self, desc: impl Into<DebugActionDesc>) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_running_action(self) -> bool
fn get_running_action(self) -> bool
get_runningAction() overload
Sourcefn set_running_action(self, value: impl Into<bool>)
fn set_running_action(self, value: impl Into<bool>)
set_runningAction(bool) overload
Sourcefn get_action_state(self) -> f32
fn get_action_state(self) -> f32
get_actionState() overload
Sourcefn set_action_state(self, value: impl Into<f32>)
fn set_action_state(self, value: impl Into<f32>)
set_actionState(f32) overload
Sourcefn trigger(self, trigger_count: impl Into<i32>, state: impl Into<f32>)
fn trigger(self, trigger_count: impl Into<i32>, state: impl Into<f32>)
Trigger(i32, f32) overload
TriggerWithButton(::unity::Array<::unity::Il2CppString>, f32) overload
Sourcefn trigger_with_axis(self, axis: impl Into<Il2CppString>, state: impl Into<f32>)
fn trigger_with_axis(self, axis: impl Into<Il2CppString>, state: impl Into<f32>)
TriggerWithAxis(::unity::Il2CppString, f32) overload
Sourcefn trigger_with_key(
self,
keys: impl Into<Array<KeyCode>>,
state: impl Into<f32>,
)
fn trigger_with_key( self, keys: impl Into<Array<KeyCode>>, state: impl Into<f32>, )
TriggerWithKey(::unity::Array<crate::unity_engine::keycode::KeyCode>, f32) overload
Sourcefn update(self, desc: impl Into<DebugActionDesc>)
fn update(self, desc: impl Into<DebugActionDesc>)
Update(crate::unity_engine::rendering::debugactiondesc::DebugActionDesc) 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: IDebugActionState> IDebugActionStateMethods for __T
Available on crate feature
unity_engine-rendering-debugactionstate only.