Skip to main content

engage/generated/unity_engine/scene_management/
scenemanager.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-scene_management-scenemanager-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::object::{IObject, Object};
9
10    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/scene_management/scenemanager/SceneManager.md"))]
11    #[::unity::class(namespace = "UnityEngine.SceneManagement", name = "SceneManager")]
12    #[parent(crate::system::object::Object)]
13    pub struct SceneManager {
14        #[static_field]
15        #[rename(name = "s_AllowLoadScene")]
16        pub s_allow_load_scene: bool,
17        #[static_field]
18        #[rename(name = "sceneLoaded")]
19        pub scene_loaded: crate::unity_engine::events::unityaction_2::UnityAction_2<
20            crate::unity_engine::scene_management::scene::Scene,
21            crate::unity_engine::scene_management::loadscenemode::LoadSceneMode,
22        >,
23        #[static_field]
24        #[rename(name = "sceneUnloaded")]
25        pub scene_unloaded: crate::unity_engine::events::unityaction_1::UnityAction_1<crate::unity_engine::scene_management::scene::Scene>,
26        #[static_field]
27        #[rename(name = "activeSceneChanged")]
28        pub active_scene_changed: crate::unity_engine::events::unityaction_2::UnityAction_2<
29            crate::unity_engine::scene_management::scene::Scene,
30            crate::unity_engine::scene_management::scene::Scene,
31        >,
32    }
33}
34
35#[cfg(feature = "unity_engine-scene_management-scenemanager-types")]
36pub use __types::*;
37
38#[cfg(feature = "unity_engine-scene_management-scenemanager")]
39impl SceneManager {
40    #[doc = "`get_sceneCount()` overload"]
41    pub fn get_scene_count() -> i32 {
42        unsafe {
43            ::unity::il2cpp_call!((::unity::module_base()+0x2f8a3d0usize)as*mut u8,i32;
44            )
45        }
46    }
47
48    #[doc = "`GetActiveScene()` overload"]
49    pub fn get_active_scene() -> crate::unity_engine::scene_management::scene::Scene {
50        unsafe {
51            ::unity::il2cpp_call!((::unity::module_base()+0x2f8a410usize)as*mut u8,crate::unity_engine::scene_management::scene::Scene;
52            )
53        }
54    }
55
56    #[doc = "`SetActiveScene(crate::unity_engine::scene_management::scene::Scene)` overload"]
57    pub fn set_active_scene(scene: impl ::core::convert::Into<crate::unity_engine::scene_management::scene::Scene>) -> bool {
58        unsafe {
59            ::unity::il2cpp_call!((::unity::module_base()+0x2f8a500usize)as*mut u8,bool;
60(crate::unity_engine::scene_management::scene::Scene)::core::convert::Into::into(scene))
61        }
62    }
63
64    #[doc = "`GetSceneByName(::unity::Il2CppString)` overload"]
65    pub fn get_scene_by_name(name: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::unity_engine::scene_management::scene::Scene {
66        unsafe {
67            ::unity::il2cpp_call!((::unity::module_base()+0x2f8a5f0usize)as*mut u8,crate::unity_engine::scene_management::scene::Scene;
68(::unity::Il2CppString)::core::convert::Into::into(name))
69        }
70    }
71
72    #[doc = "`GetSceneAt(i32)` overload"]
73    pub fn get_scene_at(index: impl ::core::convert::Into<i32>) -> crate::unity_engine::scene_management::scene::Scene {
74        unsafe {
75            ::unity::il2cpp_call!((::unity::module_base()+0x2f8a6f0usize)as*mut u8,crate::unity_engine::scene_management::scene::Scene;
76(i32)::core::convert::Into::into(index))
77        }
78    }
79
80    #[doc = "`UnloadSceneAsyncInternal(crate::unity_engine::scene_management::scene::Scene, crate::unity_engine::scene_management::unloadsceneoptions::UnloadSceneOptions)` overload"]
81    pub fn unload_scene_async_internal(
82        scene: impl ::core::convert::Into<crate::unity_engine::scene_management::scene::Scene>,
83        options: impl ::core::convert::Into<crate::unity_engine::scene_management::unloadsceneoptions::UnloadSceneOptions>,
84    ) -> crate::unity_engine::asyncoperation::AsyncOperation {
85        unsafe {
86            ::unity::il2cpp_call!((::unity::module_base()+0x2f8a7f0usize)as*mut u8,crate::unity_engine::asyncoperation::AsyncOperation;
87(crate::unity_engine::scene_management::scene::Scene)::core::convert::Into::into(scene),(crate::unity_engine::scene_management::unloadsceneoptions::UnloadSceneOptions)::core::convert::Into::into(options))
88        }
89    }
90
91    #[doc = "`LoadSceneAsyncNameIndexInternal(::unity::Il2CppString, i32, crate::unity_engine::scene_management::loadsceneparameters::LoadSceneParameters, bool)` overload"]
92    pub fn load_scene_async_name_index_internal(
93        scene_name: impl ::core::convert::Into<::unity::Il2CppString>,
94        scene_build_index: impl ::core::convert::Into<i32>,
95        parameters: impl ::core::convert::Into<crate::unity_engine::scene_management::loadsceneparameters::LoadSceneParameters>,
96        must_complete_next_frame: impl ::core::convert::Into<bool>,
97    ) -> crate::unity_engine::asyncoperation::AsyncOperation {
98        unsafe {
99            ::unity::il2cpp_call!((::unity::module_base()+0x2f8a8f0usize)as*mut u8,crate::unity_engine::asyncoperation::AsyncOperation;
100(::unity::Il2CppString)::core::convert::Into::into(scene_name),(i32)::core::convert::Into::into(scene_build_index),(crate::unity_engine::scene_management::loadsceneparameters::LoadSceneParameters)::core::convert::Into::into(parameters),(bool)::core::convert::Into::into(must_complete_next_frame))
101        }
102    }
103
104    #[doc = "`MoveGameObjectToScene(crate::unity_engine::gameobject::GameObject, crate::unity_engine::scene_management::scene::Scene)` overload"]
105    pub fn move_game_object_to_scene(
106        go: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
107        scene: impl ::core::convert::Into<crate::unity_engine::scene_management::scene::Scene>,
108    ) -> () {
109        unsafe {
110            ::unity::il2cpp_call!((::unity::module_base()+0x2f8ab00usize)as*mut u8,();
111(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(go),(crate::unity_engine::scene_management::scene::Scene)::core::convert::Into::into(scene))
112        }
113    }
114
115    #[doc = "`LoadFirstScene_Internal(bool)` overload"]
116    pub fn load_first_scene_internal(r#async: impl ::core::convert::Into<bool>) -> crate::unity_engine::asyncoperation::AsyncOperation {
117        unsafe {
118            ::unity::il2cpp_call!((::unity::module_base()+0x2f8ac00usize)as*mut u8,crate::unity_engine::asyncoperation::AsyncOperation;
119(bool)::core::convert::Into::into(r#async))
120        }
121    }
122
123    #[doc = "`add_sceneLoaded(crate::unity_engine::events::unityaction_2::UnityAction_2<crate::unity_engine::scene_management::scene::Scene,crate::unity_engine::scene_management::loadscenemode::LoadSceneMode>)` overload"]
124    pub fn add_scene_loaded(
125        value: impl ::core::convert::Into<
126            crate::unity_engine::events::unityaction_2::UnityAction_2<
127                crate::unity_engine::scene_management::scene::Scene,
128                crate::unity_engine::scene_management::loadscenemode::LoadSceneMode,
129            >,
130        >,
131    ) -> () {
132        unsafe {
133            ::unity::il2cpp_call!((::unity::module_base()+0x2f8ac80usize)as*mut u8,();
134(crate::unity_engine::events::unityaction_2::UnityAction_2<crate::unity_engine::scene_management::scene::Scene,crate::unity_engine::scene_management::loadscenemode::LoadSceneMode>)::core::convert::Into::into(value))
135        }
136    }
137
138    #[doc = "`remove_sceneLoaded(crate::unity_engine::events::unityaction_2::UnityAction_2<crate::unity_engine::scene_management::scene::Scene,crate::unity_engine::scene_management::loadscenemode::LoadSceneMode>)` overload"]
139    pub fn remove_scene_loaded(
140        value: impl ::core::convert::Into<
141            crate::unity_engine::events::unityaction_2::UnityAction_2<
142                crate::unity_engine::scene_management::scene::Scene,
143                crate::unity_engine::scene_management::loadscenemode::LoadSceneMode,
144            >,
145        >,
146    ) -> () {
147        unsafe {
148            ::unity::il2cpp_call!((::unity::module_base()+0x2f8ad80usize)as*mut u8,();
149(crate::unity_engine::events::unityaction_2::UnityAction_2<crate::unity_engine::scene_management::scene::Scene,crate::unity_engine::scene_management::loadscenemode::LoadSceneMode>)::core::convert::Into::into(value))
150        }
151    }
152
153    #[doc = "`add_sceneUnloaded(crate::unity_engine::events::unityaction_1::UnityAction_1<crate::unity_engine::scene_management::scene::Scene>)` overload"]
154    pub fn add_scene_unloaded(
155        value: impl ::core::convert::Into<crate::unity_engine::events::unityaction_1::UnityAction_1<crate::unity_engine::scene_management::scene::Scene>>,
156    ) -> () {
157        unsafe {
158            ::unity::il2cpp_call!((::unity::module_base()+0x2f8ae80usize)as*mut u8,();
159(crate::unity_engine::events::unityaction_1::UnityAction_1<crate::unity_engine::scene_management::scene::Scene>)::core::convert::Into::into(value))
160        }
161    }
162
163    #[doc = "`remove_sceneUnloaded(crate::unity_engine::events::unityaction_1::UnityAction_1<crate::unity_engine::scene_management::scene::Scene>)` overload"]
164    pub fn remove_scene_unloaded(
165        value: impl ::core::convert::Into<crate::unity_engine::events::unityaction_1::UnityAction_1<crate::unity_engine::scene_management::scene::Scene>>,
166    ) -> () {
167        unsafe {
168            ::unity::il2cpp_call!((::unity::module_base()+0x2f8af80usize)as*mut u8,();
169(crate::unity_engine::events::unityaction_1::UnityAction_1<crate::unity_engine::scene_management::scene::Scene>)::core::convert::Into::into(value))
170        }
171    }
172
173    #[doc = "`add_activeSceneChanged(crate::unity_engine::events::unityaction_2::UnityAction_2<crate::unity_engine::scene_management::scene::Scene,crate::unity_engine::scene_management::scene::Scene>)` overload"]
174    pub fn add_active_scene_changed(
175        value: impl ::core::convert::Into<
176            crate::unity_engine::events::unityaction_2::UnityAction_2<
177                crate::unity_engine::scene_management::scene::Scene,
178                crate::unity_engine::scene_management::scene::Scene,
179            >,
180        >,
181    ) -> () {
182        unsafe {
183            ::unity::il2cpp_call!((::unity::module_base()+0x2f8b080usize)as*mut u8,();
184(crate::unity_engine::events::unityaction_2::UnityAction_2<crate::unity_engine::scene_management::scene::Scene,crate::unity_engine::scene_management::scene::Scene>)::core::convert::Into::into(value))
185        }
186    }
187
188    #[doc = "`remove_activeSceneChanged(crate::unity_engine::events::unityaction_2::UnityAction_2<crate::unity_engine::scene_management::scene::Scene,crate::unity_engine::scene_management::scene::Scene>)` overload"]
189    pub fn remove_active_scene_changed(
190        value: impl ::core::convert::Into<
191            crate::unity_engine::events::unityaction_2::UnityAction_2<
192                crate::unity_engine::scene_management::scene::Scene,
193                crate::unity_engine::scene_management::scene::Scene,
194            >,
195        >,
196    ) -> () {
197        unsafe {
198            ::unity::il2cpp_call!((::unity::module_base()+0x2f8b180usize)as*mut u8,();
199(crate::unity_engine::events::unityaction_2::UnityAction_2<crate::unity_engine::scene_management::scene::Scene,crate::unity_engine::scene_management::scene::Scene>)::core::convert::Into::into(value))
200        }
201    }
202
203    #[doc = "`LoadSceneAsync(::unity::Il2CppString, crate::unity_engine::scene_management::loadsceneparameters::LoadSceneParameters)` overload"]
204    pub fn load_scene_async(
205        scene_name: impl ::core::convert::Into<::unity::Il2CppString>,
206        parameters: impl ::core::convert::Into<crate::unity_engine::scene_management::loadsceneparameters::LoadSceneParameters>,
207    ) -> crate::unity_engine::asyncoperation::AsyncOperation {
208        unsafe {
209            ::unity::il2cpp_call!((::unity::module_base()+0x2f8b280usize)as*mut u8,crate::unity_engine::asyncoperation::AsyncOperation;
210(::unity::Il2CppString)::core::convert::Into::into(scene_name),(crate::unity_engine::scene_management::loadsceneparameters::LoadSceneParameters)::core::convert::Into::into(parameters))
211        }
212    }
213
214    #[doc = "`UnloadSceneAsync(crate::unity_engine::scene_management::scene::Scene)` overload"]
215    pub fn unload_scene_async(
216        scene: impl ::core::convert::Into<crate::unity_engine::scene_management::scene::Scene>,
217    ) -> crate::unity_engine::asyncoperation::AsyncOperation {
218        unsafe {
219            ::unity::il2cpp_call!((::unity::module_base()+0x2f8b300usize)as*mut u8,crate::unity_engine::asyncoperation::AsyncOperation;
220(crate::unity_engine::scene_management::scene::Scene)::core::convert::Into::into(scene))
221        }
222    }
223
224    #[doc = "`Internal_SceneLoaded(crate::unity_engine::scene_management::scene::Scene, crate::unity_engine::scene_management::loadscenemode::LoadSceneMode)` overload"]
225    pub fn internal_scene_loaded(
226        scene: impl ::core::convert::Into<crate::unity_engine::scene_management::scene::Scene>,
227        mode: impl ::core::convert::Into<crate::unity_engine::scene_management::loadscenemode::LoadSceneMode>,
228    ) -> () {
229        unsafe {
230            ::unity::il2cpp_call!((::unity::module_base()+0x2f8b3f0usize)as*mut u8,();
231(crate::unity_engine::scene_management::scene::Scene)::core::convert::Into::into(scene),(crate::unity_engine::scene_management::loadscenemode::LoadSceneMode)::core::convert::Into::into(mode))
232        }
233    }
234
235    #[doc = "`Internal_SceneUnloaded(crate::unity_engine::scene_management::scene::Scene)` overload"]
236    pub fn internal_scene_unloaded(scene: impl ::core::convert::Into<crate::unity_engine::scene_management::scene::Scene>) -> () {
237        unsafe {
238            ::unity::il2cpp_call!((::unity::module_base()+0x2f8b4d0usize)as*mut u8,();
239(crate::unity_engine::scene_management::scene::Scene)::core::convert::Into::into(scene))
240        }
241    }
242
243    #[doc = "`Internal_ActiveSceneChanged(crate::unity_engine::scene_management::scene::Scene, crate::unity_engine::scene_management::scene::Scene)` overload"]
244    pub fn internal_active_scene_changed(
245        previous_active_scene: impl ::core::convert::Into<crate::unity_engine::scene_management::scene::Scene>,
246        new_active_scene: impl ::core::convert::Into<crate::unity_engine::scene_management::scene::Scene>,
247    ) -> () {
248        unsafe {
249            ::unity::il2cpp_call!((::unity::module_base()+0x2f8b5a0usize)as*mut u8,();
250(crate::unity_engine::scene_management::scene::Scene)::core::convert::Into::into(previous_active_scene),(crate::unity_engine::scene_management::scene::Scene)::core::convert::Into::into(new_active_scene))
251        }
252    }
253
254    #[doc = "`.cctor()` overload"]
255    pub fn cctor() -> () {
256        unsafe {
257            ::unity::il2cpp_call!((::unity::module_base()+0x2f8b680usize)as*mut u8,();
258            )
259        }
260    }
261
262    #[doc = "`GetActiveScene_Injected(*mutcrate::unity_engine::scene_management::scene::Scene)` overload"]
263    pub fn get_active_scene_injected() -> crate::unity_engine::scene_management::scene::Scene {
264        unsafe {
265            let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::scene_management::scene::Scene>::uninit();
266            ::unity::il2cpp_call!((::unity::module_base()+0x2f8a4b0usize)as*mut u8,();
267(*mut crate::unity_engine::scene_management::scene::Scene)__out_0.as_mut_ptr());
268            __out_0.assume_init()
269        }
270    }
271
272    #[doc = "`SetActiveScene_Injected(*mutcrate::unity_engine::scene_management::scene::Scene)` overload"]
273    pub fn set_active_scene_injected() -> (bool, crate::unity_engine::scene_management::scene::Scene) {
274        unsafe {
275            let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::scene_management::scene::Scene>::uninit();
276            let __ret = {
277                ::unity::il2cpp_call!((::unity::module_base()+0x2f8a5a0usize)as*mut u8,bool;
278(*mut crate::unity_engine::scene_management::scene::Scene)__out_0.as_mut_ptr())
279            };
280            (__ret, __out_0.assume_init())
281        }
282    }
283
284    #[doc = "`GetSceneByName_Injected(::unity::Il2CppString, *mutcrate::unity_engine::scene_management::scene::Scene)` overload"]
285    pub fn get_scene_by_name_injected(
286        name: impl ::core::convert::Into<::unity::Il2CppString>,
287    ) -> crate::unity_engine::scene_management::scene::Scene {
288        unsafe {
289            let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::scene_management::scene::Scene>::uninit();
290            ::unity::il2cpp_call!((::unity::module_base()+0x2f8a6a0usize)as*mut u8,();
291(::unity::Il2CppString)::core::convert::Into::into(name),(*mut crate::unity_engine::scene_management::scene::Scene)__out_0.as_mut_ptr());
292            __out_0.assume_init()
293        }
294    }
295
296    #[doc = "`GetSceneAt_Injected(i32, *mutcrate::unity_engine::scene_management::scene::Scene)` overload"]
297    pub fn get_scene_at_injected(index: impl ::core::convert::Into<i32>) -> crate::unity_engine::scene_management::scene::Scene {
298        unsafe {
299            let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::scene_management::scene::Scene>::uninit();
300            ::unity::il2cpp_call!((::unity::module_base()+0x2f8a7a0usize)as*mut u8,();
301(i32)::core::convert::Into::into(index),(*mut crate::unity_engine::scene_management::scene::Scene)__out_0.as_mut_ptr());
302            __out_0.assume_init()
303        }
304    }
305
306    #[doc = "`UnloadSceneAsyncInternal_Injected(*mutcrate::unity_engine::scene_management::scene::Scene, crate::unity_engine::scene_management::unloadsceneoptions::UnloadSceneOptions)` overload"]
307    pub fn unload_scene_async_internal_injected(
308        options: impl ::core::convert::Into<crate::unity_engine::scene_management::unloadsceneoptions::UnloadSceneOptions>,
309    ) -> (
310        crate::unity_engine::asyncoperation::AsyncOperation,
311        crate::unity_engine::scene_management::scene::Scene,
312    ) {
313        unsafe {
314            let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::scene_management::scene::Scene>::uninit();
315            let __ret = {
316                ::unity::il2cpp_call!((::unity::module_base()+0x2f8a8a0usize)as*mut u8,crate::unity_engine::asyncoperation::AsyncOperation;
317(*mut crate::unity_engine::scene_management::scene::Scene)__out_0.as_mut_ptr(),(crate::unity_engine::scene_management::unloadsceneoptions::UnloadSceneOptions)::core::convert::Into::into(options))
318            };
319            (__ret, __out_0.assume_init())
320        }
321    }
322
323    #[doc = "`MoveGameObjectToScene_Injected(crate::unity_engine::gameobject::GameObject, *mutcrate::unity_engine::scene_management::scene::Scene)` overload"]
324    pub fn move_game_object_to_scene_injected(
325        go: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
326    ) -> crate::unity_engine::scene_management::scene::Scene {
327        unsafe {
328            let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::scene_management::scene::Scene>::uninit();
329            ::unity::il2cpp_call!((::unity::module_base()+0x2f8abb0usize)as*mut u8,();
330(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(go),(*mut crate::unity_engine::scene_management::scene::Scene)__out_0.as_mut_ptr());
331            __out_0.assume_init()
332        }
333    }
334}
335
336#[cfg(feature = "unity_engine-scene_management-scenemanager")]
337impl SceneManager {
338    pub fn get_scene_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
339        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
340    }
341
342    pub fn get_active_scene_method_info() -> &'static ::unity::il2cpp::MethodInfo {
343        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
344    }
345
346    pub fn set_active_scene_method_info() -> &'static ::unity::il2cpp::MethodInfo {
347        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
348    }
349
350    pub fn get_scene_by_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
351        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
352    }
353
354    pub fn get_scene_at_method_info() -> &'static ::unity::il2cpp::MethodInfo {
355        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
356    }
357
358    pub fn unload_scene_async_internal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
359        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
360    }
361
362    pub fn load_scene_async_name_index_internal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
363        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
364    }
365
366    pub fn move_game_object_to_scene_method_info() -> &'static ::unity::il2cpp::MethodInfo {
367        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
368    }
369
370    pub fn load_first_scene_internal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
371        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
372    }
373
374    pub fn add_scene_loaded_method_info() -> &'static ::unity::il2cpp::MethodInfo {
375        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
376    }
377
378    pub fn remove_scene_loaded_method_info() -> &'static ::unity::il2cpp::MethodInfo {
379        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
380    }
381
382    pub fn add_scene_unloaded_method_info() -> &'static ::unity::il2cpp::MethodInfo {
383        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
384    }
385
386    pub fn remove_scene_unloaded_method_info() -> &'static ::unity::il2cpp::MethodInfo {
387        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
388    }
389
390    pub fn add_active_scene_changed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
391        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
392    }
393
394    pub fn remove_active_scene_changed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
395        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
396    }
397
398    pub fn load_scene_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
399        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
400    }
401
402    pub fn unload_scene_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
403        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
404    }
405
406    pub fn internal_scene_loaded_method_info() -> &'static ::unity::il2cpp::MethodInfo {
407        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
408    }
409
410    pub fn internal_scene_unloaded_method_info() -> &'static ::unity::il2cpp::MethodInfo {
411        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
412    }
413
414    pub fn internal_active_scene_changed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
415        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
416    }
417
418    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
419        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
420    }
421
422    pub fn get_active_scene_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
423        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
424    }
425
426    pub fn set_active_scene_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
427        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
428    }
429
430    pub fn get_scene_by_name_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
431        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
432    }
433
434    pub fn get_scene_at_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
435        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
436    }
437
438    pub fn unload_scene_async_internal_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
439        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
440    }
441
442    pub fn move_game_object_to_scene_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
443        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
444    }
445}
446
447#[cfg(feature = "unity_engine-scene_management-scenemanager")]
448#[doc(hidden)]
449pub mod prelude {
450    pub use super::{ISceneManager, SceneManager};
451    pub use crate::system::object::IObject;
452    #[cfg(feature = "system-object")]
453    pub use crate::system::object::IObjectMethods;
454}