Skip to main content

engage/generated/app/
hubplaycamera.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-hubplaycamera-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        app::procinst::{IProcInst, ProcInst},
10        system::{
11            object::{IObject, Object},
12            r#enum::{Enum, IEnum},
13            valuetype::{IValueType, ValueType},
14        },
15    };
16
17    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/hubplaycamera/HubPlayCamera_DemoTelop.md"))]
18    #[::unity::class(namespace = "App", name = "HubPlayCamera.DemoTelop")]
19    #[parent(crate::app::procinst::ProcInst)]
20    pub struct HubPlayCamera_DemoTelop {
21        #[offset(120)]
22        #[rename(name = "Root")]
23        pub root: crate::unity_engine::gameobject::GameObject,
24        #[offset(128)]
25        #[rename(name = "UIObject")]
26        pub ui_object: crate::unity_engine::gameobject::GameObject,
27        #[static_field]
28        #[rename(name = "UIAssetPath")]
29        pub ui_asset_path: ::unity::Il2CppString,
30        #[offset(144)]
31        #[rename(name = "m_animator")]
32        pub m_animator: crate::unity_engine::animator::Animator,
33    }
34
35    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/hubplaycamera/HubPlayCamera.md"))]
36    #[::unity::class(namespace = "App", name = "HubPlayCamera")]
37    #[parent(crate::app::procinst::ProcInst)]
38    pub struct HubPlayCamera {
39        #[offset(120)]
40        #[rename(name = "CameraObject")]
41        pub camera_object: crate::unity_engine::gameobject::GameObject,
42        #[offset(128)]
43        #[rename(name = "MainCamera")]
44        pub main_camera: crate::unity_engine::gameobject::GameObject,
45        #[static_field]
46        #[rename(name = "AssetPath")]
47        pub asset_path: ::unity::Il2CppString,
48        #[static_field]
49        #[rename(name = "DisableLodCrossFadeTag")]
50        pub disable_lod_cross_fade_tag: ::unity::Il2CppString,
51        #[offset(144)]
52        #[rename(name = "m_distance")]
53        pub m_distance: crate::system::collections::generic::list_1::List_1<f32>,
54    }
55
56    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/hubplaycamera/HubPlayCamera_Label.md"))]
57    #[repr(C)]
58    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
59    pub struct HubPlayCamera_Label {
60        pub value: i32,
61    }
62    impl ::unity::ClassIdentity for HubPlayCamera_Label {
63        const NAME: &'static str = "HubPlayCamera.Label";
64        const NAMESPACE: &'static str = "App";
65
66        fn class() -> ::unity::Class {
67            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
68            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
69        }
70    }
71    impl ::unity::IlType for HubPlayCamera_Label {
72        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
73            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
74        }
75    }
76    impl HubPlayCamera_Label {
77        pub fn none() -> Self {
78            Self { value: 0 }
79        }
80
81        pub fn init() -> Self {
82            Self { value: 1 }
83        }
84
85        pub fn main() -> Self {
86            Self { value: 2 }
87        }
88
89        pub fn exit() -> Self {
90            Self { value: 3 }
91        }
92    }
93}
94
95#[cfg(feature = "app-hubplaycamera-types")]
96pub use __types::*;
97
98#[cfg(feature = "app-hubplaycamera")]
99impl HubPlayCamera_DemoTelop {
100    #[doc = "`CreateBind(crate::app::procinst::ProcInst, crate::app::hubdemodata::HubDemoData)` overload"]
101    pub fn create_bind(
102        super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
103        data: impl ::core::convert::Into<crate::app::hubdemodata::HubDemoData>,
104    ) -> () {
105        unsafe {
106            ::unity::il2cpp_call!((::unity::module_base()+0x2ae2310usize)as*mut u8,();
107(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::hubdemodata::HubDemoData)::core::convert::Into::into(data))
108        }
109    }
110}
111
112#[cfg(feature = "app-hubplaycamera")]
113pub trait IHubPlayCamera_DemoTelopMethods: IHubPlayCamera_DemoTelop {
114    #[doc = "`get_Data()` overload"]
115    fn get_data(self) -> crate::app::hubdemodata::HubDemoData {
116        unsafe {
117            let __receiver =
118                <HubPlayCamera_DemoTelop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
119            ::unity::il2cpp_call!((::unity::module_base()+0x2ae1860usize)as*mut u8,crate::app::hubdemodata::HubDemoData;
120(HubPlayCamera_DemoTelop)__receiver)
121        }
122    }
123    #[doc = "`get_UIHandle()` overload"]
124    fn get_ui_handle(self) -> crate::app::resourcehandle_2::ResourceHandle_2 {
125        unsafe {
126            let __receiver =
127                <HubPlayCamera_DemoTelop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
128            ::unity::il2cpp_call!((::unity::module_base()+0x2ae1870usize)as*mut u8,crate::app::resourcehandle_2::ResourceHandle_2;
129(HubPlayCamera_DemoTelop)__receiver)
130        }
131    }
132    #[doc = "`set_UIHandle(crate::app::resourcehandle_2::ResourceHandle_2)` overload"]
133    fn set_ui_handle(self, value: impl ::core::convert::Into<crate::app::resourcehandle_2::ResourceHandle_2>) -> () {
134        unsafe {
135            let __receiver =
136                <HubPlayCamera_DemoTelop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
137            ::unity::il2cpp_call!((::unity::module_base()+0x2ae1880usize)as*mut u8,();
138(HubPlayCamera_DemoTelop)__receiver,(crate::app::resourcehandle_2::ResourceHandle_2)::core::convert::Into::into(value))
139        }
140    }
141    #[doc = "`.ctor(crate::app::hubdemodata::HubDemoData)` overload"]
142    fn ctor(self, data: impl ::core::convert::Into<crate::app::hubdemodata::HubDemoData>) -> () {
143        unsafe {
144            let __receiver =
145                <HubPlayCamera_DemoTelop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
146            ::unity::il2cpp_call!((::unity::module_base()+0x2ae1890usize)as*mut u8,();
147(HubPlayCamera_DemoTelop)__receiver,(crate::app::hubdemodata::HubDemoData)::core::convert::Into::into(data))
148        }
149    }
150    #[doc = "`IsLoading()` overload"]
151    fn is_loading(self) -> bool {
152        unsafe {
153            let __receiver =
154                <HubPlayCamera_DemoTelop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
155            ::unity::il2cpp_call!((::unity::module_base()+0x2ae1920usize)as*mut u8,bool;
156(HubPlayCamera_DemoTelop)__receiver)
157        }
158    }
159    #[doc = "`IsClosing()` overload"]
160    fn is_closing(self) -> bool {
161        unsafe {
162            let __receiver =
163                <HubPlayCamera_DemoTelop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
164            ::unity::il2cpp_call!((::unity::module_base()+0x2ae1950usize)as*mut u8,bool;
165(HubPlayCamera_DemoTelop)__receiver)
166        }
167    }
168    #[doc = "`Build()` overload"]
169    fn build(self) -> () {
170        unsafe {
171            let __receiver =
172                <HubPlayCamera_DemoTelop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
173            ::unity::il2cpp_call!((::unity::module_base()+0x2ae19b0usize)as*mut u8,();
174(HubPlayCamera_DemoTelop)__receiver)
175        }
176    }
177    #[doc = "`Open()` overload"]
178    fn open(self) -> () {
179        unsafe {
180            let __receiver =
181                <HubPlayCamera_DemoTelop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
182            ::unity::il2cpp_call!((::unity::module_base()+0x2ae1a90usize)as*mut u8,();
183(HubPlayCamera_DemoTelop)__receiver)
184        }
185    }
186    #[doc = "`Tick()` overload"]
187    fn tick(self) -> () {
188        unsafe {
189            let __receiver =
190                <HubPlayCamera_DemoTelop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
191            ::unity::il2cpp_call!((::unity::module_base()+0x2ae1b50usize)as*mut u8,();
192(HubPlayCamera_DemoTelop)__receiver)
193        }
194    }
195    #[doc = "`Close()` overload"]
196    fn close(self) -> () {
197        unsafe {
198            let __receiver =
199                <HubPlayCamera_DemoTelop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
200            ::unity::il2cpp_call!((::unity::module_base()+0x2ae1d90usize)as*mut u8,();
201(HubPlayCamera_DemoTelop)__receiver)
202        }
203    }
204    #[doc = "`Exit()` overload"]
205    fn exit(self) -> () {
206        unsafe {
207            let __receiver =
208                <HubPlayCamera_DemoTelop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
209            ::unity::il2cpp_call!((::unity::module_base()+0x2ae1e40usize)as*mut u8,();
210(HubPlayCamera_DemoTelop)__receiver)
211        }
212    }
213    #[doc = "`CreateDefaultDesc()` overload"]
214    fn create_default_desc(self) -> ::unity::Array<crate::app::procdesc::ProcDesc> {
215        unsafe {
216            let __receiver =
217                <HubPlayCamera_DemoTelop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
218            ::unity::il2cpp_call!((::unity::module_base()+0x2ae1ed0usize)as*mut u8, ::unity::Array<crate::app::procdesc::ProcDesc> ;
219(HubPlayCamera_DemoTelop)__receiver)
220        }
221    }
222}
223
224#[cfg(feature = "app-hubplaycamera")]
225impl<__T: IHubPlayCamera_DemoTelop> IHubPlayCamera_DemoTelopMethods for __T {}
226
227#[cfg(feature = "app-hubplaycamera")]
228impl HubPlayCamera_DemoTelop {
229    pub fn get_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
230        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
231    }
232
233    pub fn get_ui_handle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
234        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
235    }
236
237    pub fn set_ui_handle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
238        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
239    }
240
241    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
242        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
243    }
244
245    pub fn is_loading_method_info() -> &'static ::unity::il2cpp::MethodInfo {
246        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
247    }
248
249    pub fn is_closing_method_info() -> &'static ::unity::il2cpp::MethodInfo {
250        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
251    }
252
253    pub fn build_method_info() -> &'static ::unity::il2cpp::MethodInfo {
254        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
255    }
256
257    pub fn open_method_info() -> &'static ::unity::il2cpp::MethodInfo {
258        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
259    }
260
261    pub fn tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
262        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
263    }
264
265    pub fn close_method_info() -> &'static ::unity::il2cpp::MethodInfo {
266        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
267    }
268
269    pub fn exit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
270        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
271    }
272
273    pub fn create_default_desc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
274        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
275    }
276
277    pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
278        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
279    }
280}
281
282#[cfg(feature = "app-hubplaycamera")]
283impl HubPlayCamera_DemoTelop {
284    #[doc = "`.ctor(crate::app::hubdemodata::HubDemoData)` — overload selector"]
285    pub fn new(data: crate::app::hubdemodata::HubDemoData) -> Self {
286        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
287            panic!(
288                "{}
289::{}
290 failed to instantiate",
291                ::core::stringify!(HubPlayCamera_DemoTelop),
292                ::core::stringify!(new),
293            )
294        });
295        <Self as IHubPlayCamera_DemoTelopMethods>::ctor(this, data);
296        this
297    }
298}
299
300#[cfg(feature = "app-hubplaycamera")]
301impl HubPlayCamera {
302    #[doc = "`CreateBind(crate::app::procinst::ProcInst, crate::app::hubdemodata::HubDemoData)` overload"]
303    pub fn create_bind(
304        super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
305        data: impl ::core::convert::Into<crate::app::hubdemodata::HubDemoData>,
306    ) -> () {
307        unsafe {
308            ::unity::il2cpp_call!((::unity::module_base()+0x23d7430usize)as*mut u8,();
309(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::hubdemodata::HubDemoData)::core::convert::Into::into(data))
310        }
311    }
312}
313
314#[cfg(feature = "app-hubplaycamera")]
315pub trait IHubPlayCameraMethods: IHubPlayCamera {
316    #[doc = "`get_Data()` overload"]
317    fn get_data(self) -> crate::app::hubdemodata::HubDemoData {
318        unsafe {
319            let __receiver = <HubPlayCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
320            ::unity::il2cpp_call!((::unity::module_base()+0x23d60a0usize)as*mut u8,crate::app::hubdemodata::HubDemoData;
321(HubPlayCamera)__receiver)
322        }
323    }
324    #[doc = "`get_CameraHandle()` overload"]
325    fn get_camera_handle(self) -> crate::app::resourcehandle_2::ResourceHandle_2 {
326        unsafe {
327            let __receiver = <HubPlayCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
328            ::unity::il2cpp_call!((::unity::module_base()+0x23d60b0usize)as*mut u8,crate::app::resourcehandle_2::ResourceHandle_2;
329(HubPlayCamera)__receiver)
330        }
331    }
332    #[doc = "`set_CameraHandle(crate::app::resourcehandle_2::ResourceHandle_2)` overload"]
333    fn set_camera_handle(self, value: impl ::core::convert::Into<crate::app::resourcehandle_2::ResourceHandle_2>) -> () {
334        unsafe {
335            let __receiver = <HubPlayCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
336            ::unity::il2cpp_call!((::unity::module_base()+0x23d60c0usize)as*mut u8,();
337(HubPlayCamera)__receiver,(crate::app::resourcehandle_2::ResourceHandle_2)::core::convert::Into::into(value))
338        }
339    }
340    #[doc = "`get_Player()` overload"]
341    fn get_player(self) -> crate::app::hubplayercontroller::HubPlayerController {
342        unsafe {
343            let __receiver = <HubPlayCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
344            ::unity::il2cpp_call!((::unity::module_base()+0x23d60d0usize)as*mut u8,crate::app::hubplayercontroller::HubPlayerController;
345(HubPlayCamera)__receiver)
346        }
347    }
348    #[doc = "`.ctor(crate::app::hubdemodata::HubDemoData)` overload"]
349    fn ctor(self, data: impl ::core::convert::Into<crate::app::hubdemodata::HubDemoData>) -> () {
350        unsafe {
351            let __receiver = <HubPlayCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
352            ::unity::il2cpp_call!((::unity::module_base()+0x23d61f0usize)as*mut u8,();
353(HubPlayCamera)__receiver,(crate::app::hubdemodata::HubDemoData)::core::convert::Into::into(data))
354        }
355    }
356    #[doc = "`Init()` overload"]
357    fn init(self) -> () {
358        unsafe {
359            let __receiver = <HubPlayCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
360            ::unity::il2cpp_call!((::unity::module_base()+0x23d62d0usize)as*mut u8,();
361(HubPlayCamera)__receiver)
362        }
363    }
364    #[doc = "`IsLoading()` overload"]
365    fn is_loading(self) -> bool {
366        unsafe {
367            let __receiver = <HubPlayCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
368            ::unity::il2cpp_call!((::unity::module_base()+0x23d6aa0usize)as*mut u8,bool;
369(HubPlayCamera)__receiver)
370        }
371    }
372    #[doc = "`Main()` overload"]
373    fn main(self) -> crate::system::collections::ienumerator::IEnumerator {
374        unsafe {
375            let __receiver = <HubPlayCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
376            ::unity::il2cpp_call!((::unity::module_base()+0x23d6ad0usize)as*mut u8,crate::system::collections::ienumerator::IEnumerator;
377(HubPlayCamera)__receiver)
378        }
379    }
380    #[doc = "`Exit()` overload"]
381    fn exit(self) -> () {
382        unsafe {
383            let __receiver = <HubPlayCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
384            ::unity::il2cpp_call!((::unity::module_base()+0x23d6b50usize)as*mut u8,();
385(HubPlayCamera)__receiver)
386        }
387    }
388    #[doc = "`OpenMessage()` overload"]
389    fn open_message(self) -> () {
390        unsafe {
391            let __receiver = <HubPlayCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
392            ::unity::il2cpp_call!((::unity::module_base()+0x23d72d0usize)as*mut u8,();
393(HubPlayCamera)__receiver)
394        }
395    }
396    #[doc = "`OpenTutorial()` overload"]
397    fn open_tutorial(self) -> () {
398        unsafe {
399            let __receiver = <HubPlayCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
400            ::unity::il2cpp_call!((::unity::module_base()+0x23d72e0usize)as*mut u8,();
401(HubPlayCamera)__receiver)
402        }
403    }
404    #[doc = "`End()` overload"]
405    fn end(self) -> () {
406        unsafe {
407            let __receiver = <HubPlayCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
408            ::unity::il2cpp_call!((::unity::module_base()+0x23d7370usize)as*mut u8,();
409(HubPlayCamera)__receiver)
410        }
411    }
412}
413
414#[cfg(feature = "app-hubplaycamera")]
415impl<__T: IHubPlayCamera> IHubPlayCameraMethods for __T {}
416
417#[cfg(feature = "app-hubplaycamera")]
418impl HubPlayCamera {
419    pub fn get_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
420        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
421    }
422
423    pub fn get_camera_handle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
424        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
425    }
426
427    pub fn set_camera_handle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
428        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
429    }
430
431    pub fn get_player_method_info() -> &'static ::unity::il2cpp::MethodInfo {
432        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
433    }
434
435    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
436        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
437    }
438
439    pub fn init_method_info() -> &'static ::unity::il2cpp::MethodInfo {
440        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
441    }
442
443    pub fn is_loading_method_info() -> &'static ::unity::il2cpp::MethodInfo {
444        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
445    }
446
447    pub fn main_method_info() -> &'static ::unity::il2cpp::MethodInfo {
448        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
449    }
450
451    pub fn exit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
452        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
453    }
454
455    pub fn open_message_method_info() -> &'static ::unity::il2cpp::MethodInfo {
456        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
457    }
458
459    pub fn open_tutorial_method_info() -> &'static ::unity::il2cpp::MethodInfo {
460        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
461    }
462
463    pub fn end_method_info() -> &'static ::unity::il2cpp::MethodInfo {
464        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
465    }
466
467    pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
468        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
469    }
470}
471
472#[cfg(feature = "app-hubplaycamera")]
473impl HubPlayCamera {
474    #[doc = "`.ctor(crate::app::hubdemodata::HubDemoData)` — overload selector"]
475    pub fn new(data: crate::app::hubdemodata::HubDemoData) -> Self {
476        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
477            panic!(
478                "{}
479::{}
480 failed to instantiate",
481                ::core::stringify!(HubPlayCamera),
482                ::core::stringify!(new),
483            )
484        });
485        <Self as IHubPlayCameraMethods>::ctor(this, data);
486        this
487    }
488}
489
490#[cfg(feature = "app-hubplaycamera")]
491#[doc(hidden)]
492pub mod prelude {
493    pub use super::{
494        HubPlayCamera, HubPlayCamera_DemoTelop, HubPlayCamera_Label, IHubPlayCamera, IHubPlayCameraMethods, IHubPlayCamera_DemoTelop,
495        IHubPlayCamera_DemoTelopMethods,
496    };
497    #[cfg(feature = "app-procinst")]
498    pub use crate::app::procinst::IProcInstMethods;
499    #[cfg(feature = "system-object")]
500    pub use crate::system::object::IObjectMethods;
501    #[cfg(feature = "system-enum")]
502    pub use crate::system::r#enum::IEnumMethods;
503    #[cfg(feature = "system-valuetype")]
504    pub use crate::system::valuetype::IValueTypeMethods;
505    pub use crate::{
506        app::procinst::IProcInst,
507        system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
508    };
509}