Skip to main content

IAkTriggerHandlerMethods

Trait IAkTriggerHandlerMethods 

Source
pub trait IAkTriggerHandlerMethods: IAkTriggerHandler {
    // Provided methods
    fn handle_event(self, in_game_object: impl Into<GameObject>) { ... }
    fn awake(self) { ... }
    fn start(self) { ... }
    fn on_destroy(self) { ... }
    fn do_destroy(self) { ... }
    fn on_enable(self) { ... }
    fn register_triggers(
        self,
        in_trigger_list: impl Into<List_1<i32>>,
        in_delegate: impl Into<AkTriggerBase_Trigger>,
    ) { ... }
    fn unregister_triggers(
        self,
        in_trigger_list: impl Into<List_1<i32>>,
        in_delegate: impl Into<AkTriggerBase_Trigger>,
    ) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn handle_event(self, in_game_object: impl Into<GameObject>)

HandleEvent(crate::unity_engine::gameobject::GameObject) overload

Source

fn awake(self)

Awake() overload

Source

fn start(self)

Start() overload

Source

fn on_destroy(self)

OnDestroy() overload

Source

fn do_destroy(self)

DoDestroy() overload

Source

fn on_enable(self)

OnEnable() overload

Source

fn register_triggers( self, in_trigger_list: impl Into<List_1<i32>>, in_delegate: impl Into<AkTriggerBase_Trigger>, )

RegisterTriggers(crate::system::collections::generic::list_1::List_1<i32>, crate::root::aktriggerbase::AkTriggerBase_Trigger) overload

Source

fn unregister_triggers( self, in_trigger_list: impl Into<List_1<i32>>, in_delegate: impl Into<AkTriggerBase_Trigger>, )

UnregisterTriggers(crate::system::collections::generic::list_1::List_1<i32>, crate::root::aktriggerbase::AkTriggerBase_Trigger) 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: IAkTriggerHandler> IAkTriggerHandlerMethods for __T

Available on crate feature root-aktriggerhandler only.