engage/generated/root/
akspatialaudiodebugdraw.rs1#[cfg(feature = "root-akspatialaudiodebugdraw-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 system::object::{IObject, Object},
10 unity_engine::{
11 behaviour::{Behaviour, IBehaviour},
12 component::{Component, IComponent},
13 monobehaviour::{IMonoBehaviour, MonoBehaviour},
14 object_2::{IObject_2, Object_2},
15 },
16 };
17
18 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root/akspatialaudiodebugdraw/AkSpatialAudioDebugDraw.md"))]
19 #[::unity::class(namespace = "", name = "AkSpatialAudioDebugDraw")]
20 #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21 pub struct AkSpatialAudioDebugDraw {}
22}
23
24#[cfg(feature = "root-akspatialaudiodebugdraw-types")]
25pub use __types::*;
26
27#[cfg(feature = "root-akspatialaudiodebugdraw")]
28pub trait IAkSpatialAudioDebugDrawMethods: IAkSpatialAudioDebugDraw {
29 #[doc = "`.ctor()` overload"]
30 fn ctor(self) -> () {
31 unsafe {
32 let __receiver =
33 <AkSpatialAudioDebugDraw as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
34 ::unity::il2cpp_call!((::unity::module_base()+0x1d21da0usize)as*mut u8,();
35(AkSpatialAudioDebugDraw)__receiver)
36 }
37 }
38}
39
40#[cfg(feature = "root-akspatialaudiodebugdraw")]
41impl<__T: IAkSpatialAudioDebugDraw> IAkSpatialAudioDebugDrawMethods for __T {}
42
43#[cfg(feature = "root-akspatialaudiodebugdraw")]
44impl AkSpatialAudioDebugDraw {
45 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
46 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
47 }
48}
49
50#[cfg(feature = "root-akspatialaudiodebugdraw")]
51impl AkSpatialAudioDebugDraw {
52 #[doc = "`.ctor()` — no args"]
53 pub fn new() -> Self {
54 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
55 panic!(
56 "{}
57::{}
58 failed to instantiate",
59 ::core::stringify!(AkSpatialAudioDebugDraw),
60 ::core::stringify!(new),
61 )
62 });
63 <Self as IAkSpatialAudioDebugDrawMethods>::ctor(this);
64 this
65 }
66}
67
68#[cfg(feature = "root-akspatialaudiodebugdraw")]
69#[doc(hidden)]
70pub mod prelude {
71 pub use super::{AkSpatialAudioDebugDraw, IAkSpatialAudioDebugDraw, IAkSpatialAudioDebugDrawMethods};
72 #[cfg(feature = "system-object")]
73 pub use crate::system::object::IObjectMethods;
74 #[cfg(feature = "unity_engine-behaviour")]
75 pub use crate::unity_engine::behaviour::IBehaviourMethods;
76 #[cfg(feature = "unity_engine-component")]
77 pub use crate::unity_engine::component::IComponentMethods;
78 #[cfg(feature = "unity_engine-monobehaviour")]
79 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
80 #[cfg(feature = "unity_engine-object_2")]
81 pub use crate::unity_engine::object_2::IObject_2Methods;
82 pub use crate::{
83 system::object::IObject,
84 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
85 };
86}