Skip to main content

engage/generated/unity_engine/rendering/
debugmanager.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-rendering-debugmanager-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/rendering/debugmanager/DebugManager.md"))]
11    #[::unity::class(namespace = "UnityEngine.Rendering", name = "DebugManager")]
12    #[parent(crate::system::object::Object)]
13    pub struct DebugManager {
14        #[static_field]
15        #[rename(name = "kEnableDebugBtn1")]
16        pub k_enable_debug_btn1: ::unity::Il2CppString,
17        #[static_field]
18        #[rename(name = "kEnableDebugBtn2")]
19        pub k_enable_debug_btn2: ::unity::Il2CppString,
20        #[static_field]
21        #[rename(name = "kDebugPreviousBtn")]
22        pub k_debug_previous_btn: ::unity::Il2CppString,
23        #[static_field]
24        #[rename(name = "kDebugNextBtn")]
25        pub k_debug_next_btn: ::unity::Il2CppString,
26        #[static_field]
27        #[rename(name = "kValidateBtn")]
28        pub k_validate_btn: ::unity::Il2CppString,
29        #[static_field]
30        #[rename(name = "kPersistentBtn")]
31        pub k_persistent_btn: ::unity::Il2CppString,
32        #[static_field]
33        #[rename(name = "kDPadVertical")]
34        pub k_d_pad_vertical: ::unity::Il2CppString,
35        #[static_field]
36        #[rename(name = "kDPadHorizontal")]
37        pub k_d_pad_horizontal: ::unity::Il2CppString,
38        #[static_field]
39        #[rename(name = "kMultiplierBtn")]
40        pub k_multiplier_btn: ::unity::Il2CppString,
41        #[static_field]
42        #[rename(name = "kResetBtn")]
43        pub k_reset_btn: ::unity::Il2CppString,
44        #[static_field]
45        #[rename(name = "kEnableDebug")]
46        pub k_enable_debug: ::unity::Il2CppString,
47        #[offset(16)]
48        #[rename(name = "m_DebugActions")]
49        pub m_debug_actions: ::unity::Array<crate::unity_engine::rendering::debugactiondesc::DebugActionDesc>,
50        #[offset(24)]
51        #[rename(name = "m_DebugActionStates")]
52        pub m_debug_action_states: ::unity::Array<crate::unity_engine::rendering::debugactionstate::DebugActionState>,
53        #[static_field]
54        #[rename(name = "s_Instance")]
55        pub s_instance: ::unity::IlInstance,
56        #[offset(32)]
57        #[rename(name = "m_ReadOnlyPanels")]
58        pub m_read_only_panels: crate::system::collections::object_model::readonlycollection_1::ReadOnlyCollection_1<
59            crate::unity_engine::rendering::debugui::DebugUI_Panel,
60        >,
61        #[offset(40)]
62        #[rename(name = "m_Panels")]
63        pub m_panels: crate::system::collections::generic::list_1::List_1<crate::unity_engine::rendering::debugui::DebugUI_Panel>,
64        #[offset(48)]
65        #[rename(name = "onDisplayRuntimeUIChanged")]
66        pub on_display_runtime_ui_changed: crate::system::action_1::Action_1<bool>,
67        #[offset(56)]
68        #[rename(name = "onSetDirty")]
69        pub on_set_dirty: crate::system::action::Action,
70        #[offset(64)]
71        #[rename(name = "resetData")]
72        pub reset_data: crate::system::action::Action,
73        #[offset(72)]
74        #[rename(name = "refreshEditorRequested")]
75        pub refresh_editor_requested: bool,
76        #[offset(80)]
77        #[rename(name = "m_Root")]
78        pub m_root: crate::unity_engine::gameobject::GameObject,
79        #[offset(88)]
80        #[rename(name = "m_RootUICanvas")]
81        pub m_root_ui_canvas: crate::unity_engine::rendering::ui::debuguihandlercanvas::DebugUIHandlerCanvas,
82        #[offset(96)]
83        #[rename(name = "m_PersistentRoot")]
84        pub m_persistent_root: crate::unity_engine::gameobject::GameObject,
85        #[offset(104)]
86        #[rename(name = "m_RootUIPersistentCanvas")]
87        pub m_root_ui_persistent_canvas: crate::unity_engine::rendering::ui::debuguihandlerpersistentcanvas::DebugUIHandlerPersistentCanvas,
88        #[offset(112)]
89        #[rename(name = "m_EditorOpen")]
90        pub m_editor_open: bool,
91    }
92}
93
94#[cfg(feature = "unity_engine-rendering-debugmanager-types")]
95pub use __types::*;
96
97#[cfg(feature = "unity_engine-rendering-debugmanager")]
98impl DebugManager {
99    #[doc = "`get_instance()` overload"]
100    pub fn get_instance() -> crate::unity_engine::rendering::debugmanager::DebugManager {
101        unsafe {
102            ::unity::il2cpp_call!((::unity::module_base()+0x352eea0usize)as*mut u8,crate::unity_engine::rendering::debugmanager::DebugManager;
103            )
104        }
105    }
106
107    #[doc = "`.cctor()` overload"]
108    pub fn cctor() -> () {
109        unsafe {
110            ::unity::il2cpp_call!((::unity::module_base()+0x35398e0usize)as*mut u8,();
111            )
112        }
113    }
114}
115
116#[cfg(feature = "unity_engine-rendering-debugmanager")]
117pub trait IDebugManagerMethods: IDebugManager {
118    #[doc = "`RegisterActions()` overload"]
119    fn register_actions(self) -> () {
120        unsafe {
121            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
122            ::unity::il2cpp_call!((::unity::module_base()+0x3536c60usize)as*mut u8,();
123(DebugManager)__receiver)
124        }
125    }
126    #[doc = "`AddAction(crate::unity_engine::rendering::debugaction::DebugAction, crate::unity_engine::rendering::debugactiondesc::DebugActionDesc)` overload"]
127    fn add_action(
128        self,
129        action: impl ::core::convert::Into<crate::unity_engine::rendering::debugaction::DebugAction>,
130        desc: impl ::core::convert::Into<crate::unity_engine::rendering::debugactiondesc::DebugActionDesc>,
131    ) -> () {
132        unsafe {
133            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
134            ::unity::il2cpp_call!((::unity::module_base()+0x35373a0usize)as*mut u8,();
135(DebugManager)__receiver,(crate::unity_engine::rendering::debugaction::DebugAction)::core::convert::Into::into(action),(crate::unity_engine::rendering::debugactiondesc::DebugActionDesc)::core::convert::Into::into(desc))
136        }
137    }
138    #[doc = "`SampleAction(i32)` overload"]
139    fn sample_action(self, action_index: impl ::core::convert::Into<i32>) -> () {
140        unsafe {
141            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
142            ::unity::il2cpp_call!((::unity::module_base()+0x35374e0usize)as*mut u8,();
143(DebugManager)__receiver,(i32)::core::convert::Into::into(action_index))
144        }
145    }
146    #[doc = "`UpdateAction(i32)` overload"]
147    fn update_action(self, action_index: impl ::core::convert::Into<i32>) -> () {
148        unsafe {
149            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
150            ::unity::il2cpp_call!((::unity::module_base()+0x3537800usize)as*mut u8,();
151(DebugManager)__receiver,(i32)::core::convert::Into::into(action_index))
152        }
153    }
154    #[doc = "`UpdateActions()` overload"]
155    fn update_actions(self) -> () {
156        unsafe {
157            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
158            ::unity::il2cpp_call!((::unity::module_base()+0x3537860usize)as*mut u8,();
159(DebugManager)__receiver)
160        }
161    }
162    #[doc = "`GetAction(crate::unity_engine::rendering::debugaction::DebugAction)` overload"]
163    fn get_action(self, action: impl ::core::convert::Into<crate::unity_engine::rendering::debugaction::DebugAction>) -> f32 {
164        unsafe {
165            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
166            ::unity::il2cpp_call!((::unity::module_base()+0x3537900usize)as*mut u8,f32;
167(DebugManager)__receiver,(crate::unity_engine::rendering::debugaction::DebugAction)::core::convert::Into::into(action))
168        }
169    }
170    #[doc = "`RegisterInputs()` overload"]
171    fn register_inputs(self) -> () {
172        unsafe {
173            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
174            ::unity::il2cpp_call!((::unity::module_base()+0x3537940usize)as*mut u8,();
175(DebugManager)__receiver)
176        }
177    }
178    #[doc = "`UpdateReadOnlyCollection()` overload"]
179    fn update_read_only_collection(self) -> () {
180        unsafe {
181            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
182            ::unity::il2cpp_call!((::unity::module_base()+0x3537950usize)as*mut u8,();
183(DebugManager)__receiver)
184        }
185    }
186    #[doc = "`get_panels()` overload"]
187    fn get_panels(
188        self,
189    ) -> crate::system::collections::object_model::readonlycollection_1::ReadOnlyCollection_1<crate::unity_engine::rendering::debugui::DebugUI_Panel>
190    {
191        unsafe {
192            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
193            ::unity::il2cpp_call!((::unity::module_base()+0x35379e0usize)as*mut u8,crate::system::collections::object_model::readonlycollection_1::ReadOnlyCollection_1<crate::unity_engine::rendering::debugui::DebugUI_Panel> ;
194(DebugManager)__receiver)
195        }
196    }
197    #[doc = "`add_onDisplayRuntimeUIChanged(crate::system::action_1::Action_1<bool>)` overload"]
198    fn add_on_display_runtime_ui_changed(self, value: impl ::core::convert::Into<crate::system::action_1::Action_1<bool>>) -> () {
199        unsafe {
200            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
201            ::unity::il2cpp_call!((::unity::module_base()+0x3537a80usize)as*mut u8,();
202(DebugManager)__receiver,(crate::system::action_1::Action_1<bool>)::core::convert::Into::into(value))
203        }
204    }
205    #[doc = "`remove_onDisplayRuntimeUIChanged(crate::system::action_1::Action_1<bool>)` overload"]
206    fn remove_on_display_runtime_ui_changed(self, value: impl ::core::convert::Into<crate::system::action_1::Action_1<bool>>) -> () {
207        unsafe {
208            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
209            ::unity::il2cpp_call!((::unity::module_base()+0x3537b30usize)as*mut u8,();
210(DebugManager)__receiver,(crate::system::action_1::Action_1<bool>)::core::convert::Into::into(value))
211        }
212    }
213    #[doc = "`add_onSetDirty(crate::system::action::Action)` overload"]
214    fn add_on_set_dirty(self, value: impl ::core::convert::Into<crate::system::action::Action>) -> () {
215        unsafe {
216            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
217            ::unity::il2cpp_call!((::unity::module_base()+0x3537be0usize)as*mut u8,();
218(DebugManager)__receiver,(crate::system::action::Action)::core::convert::Into::into(value))
219        }
220    }
221    #[doc = "`remove_onSetDirty(crate::system::action::Action)` overload"]
222    fn remove_on_set_dirty(self, value: impl ::core::convert::Into<crate::system::action::Action>) -> () {
223        unsafe {
224            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
225            ::unity::il2cpp_call!((::unity::module_base()+0x3537c90usize)as*mut u8,();
226(DebugManager)__receiver,(crate::system::action::Action)::core::convert::Into::into(value))
227        }
228    }
229    #[doc = "`add_resetData(crate::system::action::Action)` overload"]
230    fn add_reset_data(self, value: impl ::core::convert::Into<crate::system::action::Action>) -> () {
231        unsafe {
232            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
233            ::unity::il2cpp_call!((::unity::module_base()+0x3537d40usize)as*mut u8,();
234(DebugManager)__receiver,(crate::system::action::Action)::core::convert::Into::into(value))
235        }
236    }
237    #[doc = "`remove_resetData(crate::system::action::Action)` overload"]
238    fn remove_reset_data(self, value: impl ::core::convert::Into<crate::system::action::Action>) -> () {
239        unsafe {
240            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
241            ::unity::il2cpp_call!((::unity::module_base()+0x3537df0usize)as*mut u8,();
242(DebugManager)__receiver,(crate::system::action::Action)::core::convert::Into::into(value))
243        }
244    }
245    #[doc = "`get_displayEditorUI()` overload"]
246    fn get_display_editor_ui(self) -> bool {
247        unsafe {
248            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
249            ::unity::il2cpp_call!((::unity::module_base()+0x3537ea0usize)as*mut u8,bool;
250(DebugManager)__receiver)
251        }
252    }
253    #[doc = "`ToggleEditorUI(bool)` overload"]
254    fn toggle_editor_ui(self, open: impl ::core::convert::Into<bool>) -> () {
255        unsafe {
256            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
257            ::unity::il2cpp_call!((::unity::module_base()+0x3537eb0usize)as*mut u8,();
258(DebugManager)__receiver,(bool)::core::convert::Into::into(open))
259        }
260    }
261    #[doc = "`get_displayRuntimeUI()` overload"]
262    fn get_display_runtime_ui(self) -> bool {
263        unsafe {
264            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
265            ::unity::il2cpp_call!((::unity::module_base()+0x3537ec0usize)as*mut u8,bool;
266(DebugManager)__receiver)
267        }
268    }
269    #[doc = "`set_displayRuntimeUI(bool)` overload"]
270    fn set_display_runtime_ui(self, value: impl ::core::convert::Into<bool>) -> () {
271        unsafe {
272            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
273            ::unity::il2cpp_call!((::unity::module_base()+0x3537f60usize)as*mut u8,();
274(DebugManager)__receiver,(bool)::core::convert::Into::into(value))
275        }
276    }
277    #[doc = "`get_displayPersistentRuntimeUI()` overload"]
278    fn get_display_persistent_runtime_ui(self) -> bool {
279        unsafe {
280            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
281            ::unity::il2cpp_call!((::unity::module_base()+0x3538150usize)as*mut u8,bool;
282(DebugManager)__receiver)
283        }
284    }
285    #[doc = "`set_displayPersistentRuntimeUI(bool)` overload"]
286    fn set_display_persistent_runtime_ui(self, value: impl ::core::convert::Into<bool>) -> () {
287        unsafe {
288            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
289            ::unity::il2cpp_call!((::unity::module_base()+0x35381f0usize)as*mut u8,();
290(DebugManager)__receiver,(bool)::core::convert::Into::into(value))
291        }
292    }
293    #[doc = "`.ctor()` overload"]
294    fn ctor(self) -> () {
295        unsafe {
296            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
297            ::unity::il2cpp_call!((::unity::module_base()+0x3538430usize)as*mut u8,();
298(DebugManager)__receiver)
299        }
300    }
301    #[doc = "`RefreshEditor()` overload"]
302    fn refresh_editor(self) -> () {
303        unsafe {
304            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
305            ::unity::il2cpp_call!((::unity::module_base()+0x35386c0usize)as*mut u8,();
306(DebugManager)__receiver)
307        }
308    }
309    #[doc = "`Reset()` overload"]
310    fn reset(self) -> () {
311        unsafe {
312            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
313            ::unity::il2cpp_call!((::unity::module_base()+0x35386d0usize)as*mut u8,();
314(DebugManager)__receiver)
315        }
316    }
317    #[doc = "`ReDrawOnScreenDebug()` overload"]
318    fn re_draw_on_screen_debug(self) -> () {
319        unsafe {
320            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
321            ::unity::il2cpp_call!((::unity::module_base()+0x3538790usize)as*mut u8,();
322(DebugManager)__receiver)
323        }
324    }
325    #[doc = "`RegisterData(crate::unity_engine::rendering::idebugdata::IDebugData)` overload"]
326    fn register_data(self, data: impl ::core::convert::Into<crate::unity_engine::rendering::idebugdata::IDebugData>) -> () {
327        unsafe {
328            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
329            ::unity::il2cpp_call!((::unity::module_base()+0x3538b00usize)as*mut u8,();
330(DebugManager)__receiver,(crate::unity_engine::rendering::idebugdata::IDebugData)::core::convert::Into::into(data))
331        }
332    }
333    #[doc = "`UnregisterData(crate::unity_engine::rendering::idebugdata::IDebugData)` overload"]
334    fn unregister_data(self, data: impl ::core::convert::Into<crate::unity_engine::rendering::idebugdata::IDebugData>) -> () {
335        unsafe {
336            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
337            ::unity::il2cpp_call!((::unity::module_base()+0x3538c30usize)as*mut u8,();
338(DebugManager)__receiver,(crate::unity_engine::rendering::idebugdata::IDebugData)::core::convert::Into::into(data))
339        }
340    }
341    #[doc = "`GetState()` overload"]
342    fn get_state(self) -> i32 {
343        unsafe {
344            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
345            ::unity::il2cpp_call!((::unity::module_base()+0x3538d60usize)as*mut u8,i32;
346(DebugManager)__receiver)
347        }
348    }
349    #[doc = "`RegisterRootCanvas(crate::unity_engine::rendering::ui::debuguihandlercanvas::DebugUIHandlerCanvas)` overload"]
350    fn register_root_canvas(
351        self,
352        root: impl ::core::convert::Into<crate::unity_engine::rendering::ui::debuguihandlercanvas::DebugUIHandlerCanvas>,
353    ) -> () {
354        unsafe {
355            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
356            ::unity::il2cpp_call!((::unity::module_base()+0x3538e80usize)as*mut u8,();
357(DebugManager)__receiver,(crate::unity_engine::rendering::ui::debuguihandlercanvas::DebugUIHandlerCanvas)::core::convert::Into::into(root))
358        }
359    }
360    #[doc = "`ChangeSelection(crate::unity_engine::rendering::ui::debuguihandlerwidget::DebugUIHandlerWidget, bool)` overload"]
361    fn change_selection(
362        self,
363        widget: impl ::core::convert::Into<crate::unity_engine::rendering::ui::debuguihandlerwidget::DebugUIHandlerWidget>,
364        from_next: impl ::core::convert::Into<bool>,
365    ) -> () {
366        unsafe {
367            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
368            ::unity::il2cpp_call!((::unity::module_base()+0x3538ed0usize)as*mut u8,();
369(DebugManager)__receiver,(crate::unity_engine::rendering::ui::debuguihandlerwidget::DebugUIHandlerWidget)::core::convert::Into::into(widget),(bool)::core::convert::Into::into(from_next))
370        }
371    }
372    #[doc = "`CheckPersistentCanvas()` overload"]
373    fn check_persistent_canvas(self) -> () {
374        unsafe {
375            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
376            ::unity::il2cpp_call!((::unity::module_base()+0x3538220usize)as*mut u8,();
377(DebugManager)__receiver)
378        }
379    }
380    #[doc = "`TogglePersistent(crate::unity_engine::rendering::debugui::DebugUI_Widget)` overload"]
381    fn toggle_persistent(self, widget: impl ::core::convert::Into<crate::unity_engine::rendering::debugui::DebugUI_Widget>) -> () {
382        unsafe {
383            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
384            ::unity::il2cpp_call!((::unity::module_base()+0x3539090usize)as*mut u8,();
385(DebugManager)__receiver,(crate::unity_engine::rendering::debugui::DebugUI_Widget)::core::convert::Into::into(widget))
386        }
387    }
388    #[doc = "`OnPanelDirty(crate::unity_engine::rendering::debugui::DebugUI_Panel)` overload"]
389    fn on_panel_dirty(self, panel: impl ::core::convert::Into<crate::unity_engine::rendering::debugui::DebugUI_Panel>) -> () {
390        unsafe {
391            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
392            ::unity::il2cpp_call!((::unity::module_base()+0x3539190usize)as*mut u8,();
393(DebugManager)__receiver,(crate::unity_engine::rendering::debugui::DebugUI_Panel)::core::convert::Into::into(panel))
394        }
395    }
396    #[doc = "`GetPanel(::unity::Il2CppString, bool, i32, bool)` overload"]
397    fn get_panel(
398        self,
399        display_name: impl ::core::convert::Into<::unity::Il2CppString>,
400        create_if_null: impl ::core::convert::Into<bool>,
401        group_index: impl ::core::convert::Into<i32>,
402        override_if_exist: impl ::core::convert::Into<bool>,
403    ) -> crate::unity_engine::rendering::debugui::DebugUI_Panel {
404        unsafe {
405            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
406            ::unity::il2cpp_call!((::unity::module_base()+0x352ef20usize)as*mut u8,crate::unity_engine::rendering::debugui::DebugUI_Panel;
407(DebugManager)__receiver,(::unity::Il2CppString)::core::convert::Into::into(display_name),(bool)::core::convert::Into::into(create_if_null),(i32)::core::convert::Into::into(group_index),(bool)::core::convert::Into::into(override_if_exist))
408        }
409    }
410    #[doc = "`RemovePanel(::unity::Il2CppString)` overload"]
411    fn remove_panel(self, display_name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
412        unsafe {
413            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
414            ::unity::il2cpp_call!((::unity::module_base()+0x3539280usize)as*mut u8,();
415(DebugManager)__receiver,(::unity::Il2CppString)::core::convert::Into::into(display_name))
416        }
417    }
418    #[doc = "`RemovePanel(crate::unity_engine::rendering::debugui::DebugUI_Panel)` overload"]
419    fn remove_panel_2(self, panel: impl ::core::convert::Into<crate::unity_engine::rendering::debugui::DebugUI_Panel>) -> () {
420        unsafe {
421            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
422            ::unity::il2cpp_call!((::unity::module_base()+0x35391a0usize)as*mut u8,();
423(DebugManager)__receiver,(crate::unity_engine::rendering::debugui::DebugUI_Panel)::core::convert::Into::into(panel))
424        }
425    }
426    #[doc = "`GetItem(::unity::Il2CppString)` overload"]
427    fn get_item(self, query_path: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::unity_engine::rendering::debugui::DebugUI_Widget {
428        unsafe {
429            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
430            ::unity::il2cpp_call!((::unity::module_base()+0x3539450usize)as*mut u8,crate::unity_engine::rendering::debugui::DebugUI_Widget;
431(DebugManager)__receiver,(::unity::Il2CppString)::core::convert::Into::into(query_path))
432        }
433    }
434    #[doc = "`GetItem(::unity::Il2CppString, crate::unity_engine::rendering::debugui::DebugUI_IContainer)` overload"]
435    fn get_item_2(
436        self,
437        query_path: impl ::core::convert::Into<::unity::Il2CppString>,
438        container: impl ::core::convert::Into<crate::unity_engine::rendering::debugui::DebugUI_IContainer>,
439    ) -> crate::unity_engine::rendering::debugui::DebugUI_Widget {
440        unsafe {
441            let __receiver = <DebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
442            ::unity::il2cpp_call!((::unity::module_base()+0x35395b0usize)as*mut u8,crate::unity_engine::rendering::debugui::DebugUI_Widget;
443(DebugManager)__receiver,(::unity::Il2CppString)::core::convert::Into::into(query_path),(crate::unity_engine::rendering::debugui::DebugUI_IContainer)::core::convert::Into::into(container))
444        }
445    }
446}
447
448#[cfg(feature = "unity_engine-rendering-debugmanager")]
449impl<__T: IDebugManager> IDebugManagerMethods for __T {}
450
451#[cfg(feature = "unity_engine-rendering-debugmanager")]
452impl DebugManager {
453    pub fn register_actions_method_info() -> &'static ::unity::il2cpp::MethodInfo {
454        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
455    }
456
457    pub fn add_action_method_info() -> &'static ::unity::il2cpp::MethodInfo {
458        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
459    }
460
461    pub fn sample_action_method_info() -> &'static ::unity::il2cpp::MethodInfo {
462        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
463    }
464
465    pub fn update_action_method_info() -> &'static ::unity::il2cpp::MethodInfo {
466        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
467    }
468
469    pub fn update_actions_method_info() -> &'static ::unity::il2cpp::MethodInfo {
470        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
471    }
472
473    pub fn get_action_method_info() -> &'static ::unity::il2cpp::MethodInfo {
474        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
475    }
476
477    pub fn register_inputs_method_info() -> &'static ::unity::il2cpp::MethodInfo {
478        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
479    }
480
481    pub fn get_instance_method_info() -> &'static ::unity::il2cpp::MethodInfo {
482        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
483    }
484
485    pub fn update_read_only_collection_method_info() -> &'static ::unity::il2cpp::MethodInfo {
486        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
487    }
488
489    pub fn get_panels_method_info() -> &'static ::unity::il2cpp::MethodInfo {
490        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
491    }
492
493    pub fn add_on_display_runtime_ui_changed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
494        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
495    }
496
497    pub fn remove_on_display_runtime_ui_changed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
498        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
499    }
500
501    pub fn add_on_set_dirty_method_info() -> &'static ::unity::il2cpp::MethodInfo {
502        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
503    }
504
505    pub fn remove_on_set_dirty_method_info() -> &'static ::unity::il2cpp::MethodInfo {
506        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
507    }
508
509    pub fn add_reset_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
510        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
511    }
512
513    pub fn remove_reset_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
514        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
515    }
516
517    pub fn get_display_editor_ui_method_info() -> &'static ::unity::il2cpp::MethodInfo {
518        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
519    }
520
521    pub fn toggle_editor_ui_method_info() -> &'static ::unity::il2cpp::MethodInfo {
522        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
523    }
524
525    pub fn get_display_runtime_ui_method_info() -> &'static ::unity::il2cpp::MethodInfo {
526        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
527    }
528
529    pub fn set_display_runtime_ui_method_info() -> &'static ::unity::il2cpp::MethodInfo {
530        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
531    }
532
533    pub fn get_display_persistent_runtime_ui_method_info() -> &'static ::unity::il2cpp::MethodInfo {
534        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
535    }
536
537    pub fn set_display_persistent_runtime_ui_method_info() -> &'static ::unity::il2cpp::MethodInfo {
538        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
539    }
540
541    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
542        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
543    }
544
545    pub fn refresh_editor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
546        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
547    }
548
549    pub fn reset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
550        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
551    }
552
553    pub fn re_draw_on_screen_debug_method_info() -> &'static ::unity::il2cpp::MethodInfo {
554        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
555    }
556
557    pub fn register_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
558        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
559    }
560
561    pub fn unregister_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
562        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
563    }
564
565    pub fn get_state_method_info() -> &'static ::unity::il2cpp::MethodInfo {
566        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
567    }
568
569    pub fn register_root_canvas_method_info() -> &'static ::unity::il2cpp::MethodInfo {
570        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
571    }
572
573    pub fn change_selection_method_info() -> &'static ::unity::il2cpp::MethodInfo {
574        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
575    }
576
577    pub fn check_persistent_canvas_method_info() -> &'static ::unity::il2cpp::MethodInfo {
578        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
579    }
580
581    pub fn toggle_persistent_method_info() -> &'static ::unity::il2cpp::MethodInfo {
582        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
583    }
584
585    pub fn on_panel_dirty_method_info() -> &'static ::unity::il2cpp::MethodInfo {
586        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
587    }
588
589    pub fn get_panel_method_info() -> &'static ::unity::il2cpp::MethodInfo {
590        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
591    }
592
593    pub fn remove_panel_method_info() -> &'static ::unity::il2cpp::MethodInfo {
594        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
595    }
596
597    pub fn remove_panel_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
598        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
599    }
600
601    pub fn get_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
602        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
603    }
604
605    pub fn get_item_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
606        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
607    }
608
609    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
610        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
611    }
612}
613
614#[cfg(feature = "unity_engine-rendering-debugmanager")]
615impl DebugManager {
616    #[doc = "`.ctor()` — no args"]
617    pub fn new() -> Self {
618        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
619            panic!(
620                "{}
621::{}
622 failed to instantiate",
623                ::core::stringify!(DebugManager),
624                ::core::stringify!(new),
625            )
626        });
627        <Self as IDebugManagerMethods>::ctor(this);
628        this
629    }
630}
631
632#[cfg(feature = "unity_engine-rendering-debugmanager")]
633#[doc(hidden)]
634pub mod prelude {
635    pub use super::{DebugManager, IDebugManager, IDebugManagerMethods};
636    pub use crate::system::object::IObject;
637    #[cfg(feature = "system-object")]
638    pub use crate::system::object::IObjectMethods;
639}