Skip to main content

IDebugActionStateMethods

Trait IDebugActionStateMethods 

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

Source

fn get_running_action(self) -> bool

get_runningAction() overload

Source

fn set_running_action(self, value: impl Into<bool>)

set_runningAction(bool) overload

Source

fn get_action_state(self) -> f32

get_actionState() overload

Source

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

set_actionState(f32) overload

Source

fn trigger(self, trigger_count: impl Into<i32>, state: impl Into<f32>)

Trigger(i32, f32) overload

Source

fn trigger_with_button( self, buttons: impl Into<Array<Il2CppString>>, state: impl Into<f32>, )

TriggerWithButton(::unity::Array<::unity::Il2CppString>, f32) overload

Source

fn trigger_with_axis(self, axis: impl Into<Il2CppString>, state: impl Into<f32>)

TriggerWithAxis(::unity::Il2CppString, f32) overload

Source

fn trigger_with_key( self, keys: impl Into<Array<KeyCode>>, state: impl Into<f32>, )

TriggerWithKey(::unity::Array<crate::unity_engine::keycode::KeyCode>, f32) overload

Source

fn reset(self)

Reset() overload

Source

fn update(self, desc: impl Into<DebugActionDesc>)

Update(crate::unity_engine::rendering::debugactiondesc::DebugActionDesc) overload

Source

fn ctor(self)

.ctor() 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: IDebugActionState> IDebugActionStateMethods for __T

Available on crate feature unity_engine-rendering-debugactionstate only.