Skip to main content

IAkRoomMethods

Trait IAkRoomMethods 

Source
pub trait IAkRoomMethods: IAkRoom {
    // Provided methods
    fn try_enter(self, room_aware_object: impl Into<AkRoomAwareObject>) -> bool { ... }
    fn exit(self, room_aware_object: impl Into<AkRoomAwareObject>) { ... }
    fn get_id(self) -> u64 { ... }
    fn on_enable(self) { ... }
    fn on_disable(self) { ... }
    fn on_trigger_enter(self, in_other: impl Into<Collider>) { ... }
    fn on_trigger_exit(self, in_other: impl Into<Collider>) { ... }
    fn post_room_tone(self) { ... }
    fn handle_event(self, in_game_object: impl Into<GameObject>) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn try_enter(self, room_aware_object: impl Into<AkRoomAwareObject>) -> bool

TryEnter(crate::root::akroomawareobject::AkRoomAwareObject) overload

Source

fn exit(self, room_aware_object: impl Into<AkRoomAwareObject>)

Exit(crate::root::akroomawareobject::AkRoomAwareObject) overload

Source

fn get_id(self) -> u64

GetID() overload

Source

fn on_enable(self)

OnEnable() overload

Source

fn on_disable(self)

OnDisable() overload

Source

fn on_trigger_enter(self, in_other: impl Into<Collider>)

OnTriggerEnter(crate::unity_engine::collider::Collider) overload

Source

fn on_trigger_exit(self, in_other: impl Into<Collider>)

OnTriggerExit(crate::unity_engine::collider::Collider) overload

Source

fn post_room_tone(self)

PostRoomTone() overload

Source

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

HandleEvent(crate::unity_engine::gameobject::GameObject) 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: IAkRoom> IAkRoomMethods for __T

Available on crate feature root-akroom only.