engage/generated/unity_engine/rendering/ui/
debuguihandlercanvas.rs1#[cfg(feature = "unity_engine-rendering-ui-debuguihandlercanvas-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/unity_engine/rendering/ui/debuguihandlercanvas/DebugUIHandlerCanvas.md"))]
19 #[::unity::class(namespace = "UnityEngine.Rendering.UI", name = "DebugUIHandlerCanvas")]
20 #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21 pub struct DebugUIHandlerCanvas {
22 #[offset(24)]
23 #[rename(name = "m_DebugTreeState")]
24 pub m_debug_tree_state: i32,
25 #[offset(32)]
26 #[rename(name = "m_PrefabsMap")]
27 pub m_prefabs_map:
28 crate::system::collections::generic::dictionary_2::Dictionary_2<::unity::SystemType, crate::unity_engine::transform::Transform>,
29 #[offset(40)]
30 #[rename(name = "panelPrefab")]
31 pub panel_prefab: crate::unity_engine::transform::Transform,
32 #[offset(48)]
33 #[rename(name = "prefabs")]
34 pub prefabs:
35 crate::system::collections::generic::list_1::List_1<crate::unity_engine::rendering::ui::debuguiprefabbundle::DebugUIPrefabBundle>,
36 #[offset(56)]
37 #[rename(name = "m_UIPanels")]
38 pub m_ui_panels:
39 crate::system::collections::generic::list_1::List_1<crate::unity_engine::rendering::ui::debuguihandlerpanel::DebugUIHandlerPanel>,
40 #[offset(64)]
41 #[rename(name = "m_SelectedPanel")]
42 pub m_selected_panel: i32,
43 #[offset(72)]
44 #[rename(name = "m_SelectedWidget")]
45 pub m_selected_widget: crate::unity_engine::rendering::ui::debuguihandlerwidget::DebugUIHandlerWidget,
46 #[offset(80)]
47 #[rename(name = "m_CurrentQueryPath")]
48 pub m_current_query_path: ::unity::Il2CppString,
49 }
50}
51
52#[cfg(feature = "unity_engine-rendering-ui-debuguihandlercanvas-types")]
53pub use __types::*;
54
55#[cfg(feature = "unity_engine-rendering-ui-debuguihandlercanvas")]
56pub trait IDebugUIHandlerCanvasMethods: IDebugUIHandlerCanvas {
57 #[doc = "`OnEnable()` overload"]
58 fn on_enable(self) -> () {
59 unsafe {
60 let __receiver = <DebugUIHandlerCanvas as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
61 ::unity::il2cpp_call!((::unity::module_base()+0x353c590usize)as*mut u8,();
62(DebugUIHandlerCanvas)__receiver)
63 }
64 }
65 #[doc = "`Update()` overload"]
66 fn update(self) -> () {
67 unsafe {
68 let __receiver = <DebugUIHandlerCanvas as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
69 ::unity::il2cpp_call!((::unity::module_base()+0x353c7d0usize)as*mut u8,();
70(DebugUIHandlerCanvas)__receiver)
71 }
72 }
73 #[doc = "`ResetAllHierarchy()` overload"]
74 fn reset_all_hierarchy(self) -> () {
75 unsafe {
76 let __receiver = <DebugUIHandlerCanvas as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
77 ::unity::il2cpp_call!((::unity::module_base()+0x3538840usize)as*mut u8,();
78(DebugUIHandlerCanvas)__receiver)
79 }
80 }
81 #[doc = "`Rebuild()` overload"]
82 fn rebuild(self) -> () {
83 unsafe {
84 let __receiver = <DebugUIHandlerCanvas as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
85 ::unity::il2cpp_call!((::unity::module_base()+0x353cfa0usize)as*mut u8,();
86(DebugUIHandlerCanvas)__receiver)
87 }
88 }
89 #[doc = "`Traverse(crate::unity_engine::rendering::debugui::DebugUI_IContainer, crate::unity_engine::transform::Transform, crate::unity_engine::rendering::ui::debuguihandlerwidget::DebugUIHandlerWidget)` overload"]
90 fn traverse(
91 self,
92 container: impl ::core::convert::Into<crate::unity_engine::rendering::debugui::DebugUI_IContainer>,
93 parent_transform: impl ::core::convert::Into<crate::unity_engine::transform::Transform>,
94 parent_ui_handler: impl ::core::convert::Into<crate::unity_engine::rendering::ui::debuguihandlerwidget::DebugUIHandlerWidget>,
95 ) -> () {
96 unsafe {
97 let __receiver = <DebugUIHandlerCanvas as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
98 ::unity::il2cpp_call!((::unity::module_base()+0x353d7e0usize)as*mut u8,();
99(DebugUIHandlerCanvas)__receiver,(crate::unity_engine::rendering::debugui::DebugUI_IContainer)::core::convert::Into::into(container),(crate::unity_engine::transform::Transform)::core::convert::Into::into(parent_transform),(crate::unity_engine::rendering::ui::debuguihandlerwidget::DebugUIHandlerWidget)::core::convert::Into::into(parent_ui_handler))
100 }
101 }
102 #[doc = "`GetWidgetFromPath(::unity::Il2CppString)` overload"]
103 fn get_widget_from_path(
104 self,
105 query_path: impl ::core::convert::Into<::unity::Il2CppString>,
106 ) -> crate::unity_engine::rendering::ui::debuguihandlerwidget::DebugUIHandlerWidget {
107 unsafe {
108 let __receiver = <DebugUIHandlerCanvas as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
109 ::unity::il2cpp_call!((::unity::module_base()+0x353dfc0usize)as*mut u8,crate::unity_engine::rendering::ui::debuguihandlerwidget::DebugUIHandlerWidget;
110(DebugUIHandlerCanvas)__receiver,(::unity::Il2CppString)::core::convert::Into::into(query_path))
111 }
112 }
113 #[doc = "`ActivatePanel(i32, bool)` overload"]
114 fn activate_panel(self, index: impl ::core::convert::Into<i32>, try_and_keep_selection: impl ::core::convert::Into<bool>) -> () {
115 unsafe {
116 let __receiver = <DebugUIHandlerCanvas as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
117 ::unity::il2cpp_call!((::unity::module_base()+0x353dc90usize)as*mut u8,();
118(DebugUIHandlerCanvas)__receiver,(i32)::core::convert::Into::into(index),(bool)::core::convert::Into::into(try_and_keep_selection))
119 }
120 }
121 #[doc = "`ChangeSelection(crate::unity_engine::rendering::ui::debuguihandlerwidget::DebugUIHandlerWidget, bool)` overload"]
122 fn change_selection(
123 self,
124 widget: impl ::core::convert::Into<crate::unity_engine::rendering::ui::debuguihandlerwidget::DebugUIHandlerWidget>,
125 from_next: impl ::core::convert::Into<bool>,
126 ) -> () {
127 unsafe {
128 let __receiver = <DebugUIHandlerCanvas as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
129 ::unity::il2cpp_call!((::unity::module_base()+0x3538ee0usize)as*mut u8,();
130(DebugUIHandlerCanvas)__receiver,(crate::unity_engine::rendering::ui::debuguihandlerwidget::DebugUIHandlerWidget)::core::convert::Into::into(widget),(bool)::core::convert::Into::into(from_next))
131 }
132 }
133 #[doc = "`SelectPreviousItem()` overload"]
134 fn select_previous_item(self) -> () {
135 unsafe {
136 let __receiver = <DebugUIHandlerCanvas as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
137 ::unity::il2cpp_call!((::unity::module_base()+0x353e220usize)as*mut u8,();
138(DebugUIHandlerCanvas)__receiver)
139 }
140 }
141 #[doc = "`SelectNextItem()` overload"]
142 fn select_next_item(self) -> () {
143 unsafe {
144 let __receiver = <DebugUIHandlerCanvas as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
145 ::unity::il2cpp_call!((::unity::module_base()+0x353e140usize)as*mut u8,();
146(DebugUIHandlerCanvas)__receiver)
147 }
148 }
149 #[doc = "`ChangeSelectionValue(f32)` overload"]
150 fn change_selection_value(self, multiplier: impl ::core::convert::Into<f32>) -> () {
151 unsafe {
152 let __receiver = <DebugUIHandlerCanvas as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
153 ::unity::il2cpp_call!((::unity::module_base()+0x353e300usize)as*mut u8,();
154(DebugUIHandlerCanvas)__receiver,(f32)::core::convert::Into::into(multiplier))
155 }
156 }
157 #[doc = "`ActivateSelection()` overload"]
158 fn activate_selection(self) -> () {
159 unsafe {
160 let __receiver = <DebugUIHandlerCanvas as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
161 ::unity::il2cpp_call!((::unity::module_base()+0x353e480usize)as*mut u8,();
162(DebugUIHandlerCanvas)__receiver)
163 }
164 }
165 #[doc = "`HandleInput()` overload"]
166 fn handle_input(self) -> () {
167 unsafe {
168 let __receiver = <DebugUIHandlerCanvas as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
169 ::unity::il2cpp_call!((::unity::module_base()+0x353c990usize)as*mut u8,();
170(DebugUIHandlerCanvas)__receiver)
171 }
172 }
173 #[doc = "`.ctor()` overload"]
174 fn ctor(self) -> () {
175 unsafe {
176 let __receiver = <DebugUIHandlerCanvas as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
177 ::unity::il2cpp_call!((::unity::module_base()+0x353e520usize)as*mut u8,();
178(DebugUIHandlerCanvas)__receiver)
179 }
180 }
181}
182
183#[cfg(feature = "unity_engine-rendering-ui-debuguihandlercanvas")]
184impl<__T: IDebugUIHandlerCanvas> IDebugUIHandlerCanvasMethods for __T {}
185
186#[cfg(feature = "unity_engine-rendering-ui-debuguihandlercanvas")]
187impl DebugUIHandlerCanvas {
188 pub fn on_enable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
189 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
190 }
191
192 pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
193 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
194 }
195
196 pub fn reset_all_hierarchy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
197 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
198 }
199
200 pub fn rebuild_method_info() -> &'static ::unity::il2cpp::MethodInfo {
201 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
202 }
203
204 pub fn traverse_method_info() -> &'static ::unity::il2cpp::MethodInfo {
205 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
206 }
207
208 pub fn get_widget_from_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
209 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
210 }
211
212 pub fn activate_panel_method_info() -> &'static ::unity::il2cpp::MethodInfo {
213 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
214 }
215
216 pub fn change_selection_method_info() -> &'static ::unity::il2cpp::MethodInfo {
217 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
218 }
219
220 pub fn select_previous_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
221 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
222 }
223
224 pub fn select_next_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
225 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
226 }
227
228 pub fn change_selection_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
229 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
230 }
231
232 pub fn activate_selection_method_info() -> &'static ::unity::il2cpp::MethodInfo {
233 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
234 }
235
236 pub fn handle_input_method_info() -> &'static ::unity::il2cpp::MethodInfo {
237 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
238 }
239
240 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
241 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
242 }
243}
244
245#[cfg(feature = "unity_engine-rendering-ui-debuguihandlercanvas")]
246impl DebugUIHandlerCanvas {
247 #[doc = "`.ctor()` — no args"]
248 pub fn new() -> Self {
249 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
250 panic!(
251 "{}
252::{}
253 failed to instantiate",
254 ::core::stringify!(DebugUIHandlerCanvas),
255 ::core::stringify!(new),
256 )
257 });
258 <Self as IDebugUIHandlerCanvasMethods>::ctor(this);
259 this
260 }
261}
262
263#[cfg(feature = "unity_engine-rendering-ui-debuguihandlercanvas")]
264#[doc(hidden)]
265pub mod prelude {
266 pub use super::{DebugUIHandlerCanvas, IDebugUIHandlerCanvas, IDebugUIHandlerCanvasMethods};
267 #[cfg(feature = "system-object")]
268 pub use crate::system::object::IObjectMethods;
269 #[cfg(feature = "unity_engine-behaviour")]
270 pub use crate::unity_engine::behaviour::IBehaviourMethods;
271 #[cfg(feature = "unity_engine-component")]
272 pub use crate::unity_engine::component::IComponentMethods;
273 #[cfg(feature = "unity_engine-monobehaviour")]
274 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
275 #[cfg(feature = "unity_engine-object_2")]
276 pub use crate::unity_engine::object_2::IObject_2Methods;
277 pub use crate::{
278 system::object::IObject,
279 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
280 };
281}