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§
Sourcefn try_enter(self, room_aware_object: impl Into<AkRoomAwareObject>) -> bool
fn try_enter(self, room_aware_object: impl Into<AkRoomAwareObject>) -> bool
TryEnter(crate::root::akroomawareobject::AkRoomAwareObject) overload
Sourcefn exit(self, room_aware_object: impl Into<AkRoomAwareObject>)
fn exit(self, room_aware_object: impl Into<AkRoomAwareObject>)
Exit(crate::root::akroomawareobject::AkRoomAwareObject) overload
Sourcefn on_disable(self)
fn on_disable(self)
OnDisable() overload
Sourcefn on_trigger_enter(self, in_other: impl Into<Collider>)
fn on_trigger_enter(self, in_other: impl Into<Collider>)
OnTriggerEnter(crate::unity_engine::collider::Collider) overload
Sourcefn on_trigger_exit(self, in_other: impl Into<Collider>)
fn on_trigger_exit(self, in_other: impl Into<Collider>)
OnTriggerExit(crate::unity_engine::collider::Collider) overload
Sourcefn post_room_tone(self)
fn post_room_tone(self)
PostRoomTone() overload
Sourcefn handle_event(self, in_game_object: impl Into<GameObject>)
fn handle_event(self, in_game_object: impl Into<GameObject>)
HandleEvent(crate::unity_engine::gameobject::GameObject) 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: IAkRoom> IAkRoomMethods for __T
Available on crate feature
root-akroom only.