1#[cfg(feature = "app-ut-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::{
9 collections::generic::list_1::{IList_1, List_1},
10 delegate::{Delegate, IDelegate},
11 multicastdelegate::{IMulticastDelegate, MulticastDelegate},
12 object::{IObject, Object},
13 };
14
15 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/ut/Ut_EnumList.md"))]
16 #[::unity::class(namespace = "App", name = "Ut.EnumList")]
17 #[parent(crate::system::collections::generic::list_1::List_1<crate::system::object::Object>)]
18 pub struct Ut_EnumList {}
19
20 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/ut/Ut.md"))]
21 #[::unity::class(namespace = "App", name = "Ut")]
22 #[parent(crate::system::object::Object)]
23 pub struct Ut {
24 #[static_field]
25 #[rename(name = "FNV_OFFSET_BASIS_32")]
26 pub fnv_offset_basis_32: u32,
27 #[static_field]
28 #[rename(name = "FNV_PRIME_32")]
29 pub fnv_prime_32: u32,
30 #[static_field]
31 #[rename(name = "s_ValueToString")]
32 pub s_value_to_string: ::unity::Array<::unity::Il2CppString>,
33 }
34
35 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/ut/Ut_GameObjectFunction.md"))]
36 #[::unity::class(namespace = "App", name = "Ut.GameObjectFunction")]
37 #[parent(crate::system::multicastdelegate::MulticastDelegate)]
38 pub struct Ut_GameObjectFunction {}
39}
40
41#[cfg(feature = "app-ut-types")]
42pub use __types::*;
43
44#[cfg(feature = "app-ut")]
45pub trait IUt_EnumListMethods: IUt_EnumList {
46 #[doc = "`.ctor(::unity::SystemType)` overload"]
47 fn ctor(self, r#type: impl ::core::convert::Into<::unity::SystemType>) -> () {
48 unsafe {
49 let __receiver = <Ut_EnumList as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
50 ::unity::il2cpp_call!((::unity::module_base()+0x1b5c3e0usize)as*mut u8,();
51(Ut_EnumList)__receiver,(::unity::SystemType)::core::convert::Into::into(r#type))
52 }
53 }
54 #[doc = "`GetIndex(crate::system::object::Object)` overload"]
55 fn get_index(self, value: impl ::core::convert::Into<crate::system::object::Object>) -> i32 {
56 unsafe {
57 let __receiver = <Ut_EnumList as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
58 ::unity::il2cpp_call!((::unity::module_base()+0x1b5c6f0usize)as*mut u8,i32;
59(Ut_EnumList)__receiver,(crate::system::object::Object)::core::convert::Into::into(value))
60 }
61 }
62}
63
64#[cfg(feature = "app-ut")]
65impl<__T: IUt_EnumList> IUt_EnumListMethods for __T {}
66
67#[cfg(feature = "app-ut")]
68impl Ut_EnumList {
69 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
70 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
71 }
72
73 pub fn get_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
74 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
75 }
76}
77
78#[cfg(feature = "app-ut")]
79impl Ut_EnumList {
80 #[doc = "`.ctor(::unity::SystemType)` — overload selector"]
81 pub fn new(r#type: ::unity::SystemType) -> Self {
82 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
83 panic!(
84 "{}
85::{}
86 failed to instantiate",
87 ::core::stringify!(Ut_EnumList),
88 ::core::stringify!(new),
89 )
90 });
91 <Self as IUt_EnumListMethods>::ctor(this, r#type);
92 this
93 }
94}
95
96#[cfg(feature = "app-ut")]
97impl Ut {
98 #[doc = "`Mult(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3)` overload"]
99 pub fn mult(
100 a: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
101 b: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
102 ) -> crate::unity_engine::vector3::Vector3 {
103 unsafe {
104 ::unity::il2cpp_call!((::unity::module_base()+0x1c7cee0usize)as*mut u8,crate::unity_engine::vector3::Vector3;
105(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(a),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(b))
106 }
107 }
108
109 #[doc = "`Mult(crate::unity_engine::vector2::Vector2, crate::unity_engine::vector2::Vector2)` overload"]
110 pub fn mult_2(
111 a: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>,
112 b: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>,
113 ) -> crate::unity_engine::vector2::Vector2 {
114 unsafe {
115 ::unity::il2cpp_call!((::unity::module_base()+0x1c7cef0usize)as*mut u8,crate::unity_engine::vector2::Vector2;
116(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(a),(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(b))
117 }
118 }
119
120 #[doc = "`DegToRad(f32)` overload"]
121 pub fn deg_to_rad(deg: impl ::core::convert::Into<f32>) -> f32 {
122 unsafe {
123 ::unity::il2cpp_call!((::unity::module_base()+0x1c7cf00usize)as*mut u8,f32;
124(f32)::core::convert::Into::into(deg))
125 }
126 }
127
128 #[doc = "`DegToRad(crate::unity_engine::vector3::Vector3)` overload"]
129 pub fn deg_to_rad_2(rotate: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>) -> crate::unity_engine::vector3::Vector3 {
130 unsafe {
131 ::unity::il2cpp_call!((::unity::module_base()+0x1c7cf20usize)as*mut u8,crate::unity_engine::vector3::Vector3;
132(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(rotate))
133 }
134 }
135
136 #[doc = "`RoundDeg(f32)` overload"]
137 pub fn round_deg(deg: impl ::core::convert::Into<f32>) -> f32 {
138 unsafe {
139 ::unity::il2cpp_call!((::unity::module_base()+0x1c7cfc0usize)as*mut u8,f32;
140(f32)::core::convert::Into::into(deg))
141 }
142 }
143
144 #[doc = "`ClampAngle(f32, f32)` overload"]
145 pub fn clamp_angle(angle: impl ::core::convert::Into<f32>, limit: impl ::core::convert::Into<f32>) -> f32 {
146 unsafe {
147 ::unity::il2cpp_call!((::unity::module_base()+0x1c7d010usize)as*mut u8,f32;
148(f32)::core::convert::Into::into(angle),(f32)::core::convert::Into::into(limit))
149 }
150 }
151
152 #[doc = "`ClampAngle(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3)` overload"]
153 pub fn clamp_angle_2(
154 angle: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
155 limit: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
156 ) -> crate::unity_engine::vector3::Vector3 {
157 unsafe {
158 ::unity::il2cpp_call!((::unity::module_base()+0x1c7d060usize)as*mut u8,crate::unity_engine::vector3::Vector3;
159(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(angle),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(limit))
160 }
161 }
162
163 #[doc = "`ClampAngle(crate::unity_engine::quaternion::Quaternion, crate::unity_engine::vector3::Vector3)` overload"]
164 pub fn clamp_angle_3(
165 rotation: impl ::core::convert::Into<crate::unity_engine::quaternion::Quaternion>,
166 limit: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
167 ) -> crate::unity_engine::quaternion::Quaternion {
168 unsafe {
169 ::unity::il2cpp_call!((::unity::module_base()+0x1c7d210usize)as*mut u8,crate::unity_engine::quaternion::Quaternion;
170(crate::unity_engine::quaternion::Quaternion)::core::convert::Into::into(rotation),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(limit))
171 }
172 }
173
174 pub fn swap<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
175 lhs: impl ::core::convert::Into<*mut M0>,
176 rhs: impl ::core::convert::Into<*mut M0>,
177 ) -> () {
178 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
179 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<Ut as ::unity::ClassIdentity>::class(), "Swap", 2));
180 #[allow(clippy::type_complexity)]
181 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
182 ::std::sync::OnceLock::new();
183 let _ = true;
184 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
185 ::core::result::Result::Ok(mi) => *mi,
186 ::core::result::Result::Err(e) => {
187 panic!(
188 "method lookup failed: {}
189::{}
190: {}
191",
192 <Ut as ::unity::ClassIdentity>::NAME,
193 "Swap",
194 e
195 )
196 },
197 };
198 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
199 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
200 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
201 let mut __guard = __cache.lock().unwrap();
202 *__guard
203 .entry(__key)
204 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
205 };
206 unsafe {
207 let __f: extern "C" fn(*mut M0, *mut M0, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__inflated.method_ptr);
208 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
209 __f(
210 ::core::convert::Into::into(lhs),
211 ::core::convert::Into::into(rhs),
212 ::core::option::Option::Some(__mi_opaque),
213 )
214 }
215 }
216
217 #[doc = "`MSecToFrame(f32)` overload"]
218 pub fn m_sec_to_frame(msec: impl ::core::convert::Into<f32>) -> f32 {
219 unsafe {
220 ::unity::il2cpp_call!((::unity::module_base()+0x1c7d420usize)as*mut u8,f32;
221(f32)::core::convert::Into::into(msec))
222 }
223 }
224
225 #[doc = "`FrameToMSEc(f32)` overload"]
226 pub fn frame_to_ms_ec(frame: impl ::core::convert::Into<f32>) -> f32 {
227 unsafe {
228 ::unity::il2cpp_call!((::unity::module_base()+0x1c7d440usize)as*mut u8,f32;
229(f32)::core::convert::Into::into(frame))
230 }
231 }
232
233 #[doc = "`GetFrameStep()` overload"]
234 pub fn get_frame_step() -> f32 {
235 unsafe {
236 ::unity::il2cpp_call!((::unity::module_base()+0x1c7d460usize)as*mut u8,f32;
237 )
238 }
239 }
240
241 #[doc = "`IsIntercect(i32, i32, i32, i32, i32, i32, i32, i32)` overload"]
242 pub fn is_intercect(
243 min_x1: impl ::core::convert::Into<i32>,
244 min_z1: impl ::core::convert::Into<i32>,
245 max_x1: impl ::core::convert::Into<i32>,
246 max_z1: impl ::core::convert::Into<i32>,
247 min_x2: impl ::core::convert::Into<i32>,
248 min_z2: impl ::core::convert::Into<i32>,
249 max_x2: impl ::core::convert::Into<i32>,
250 max_z2: impl ::core::convert::Into<i32>,
251 ) -> bool {
252 unsafe {
253 ::unity::il2cpp_call!((::unity::module_base()+0x1c7d470usize)as*mut u8,bool;
254(i32)::core::convert::Into::into(min_x1),(i32)::core::convert::Into::into(min_z1),(i32)::core::convert::Into::into(max_x1),(i32)::core::convert::Into::into(max_z1),(i32)::core::convert::Into::into(min_x2),(i32)::core::convert::Into::into(min_z2),(i32)::core::convert::Into::into(max_x2),(i32)::core::convert::Into::into(max_z2))
255 }
256 }
257
258 #[doc = "`GetFastInputScale()` overload"]
259 pub fn get_fast_input_scale() -> i32 {
260 unsafe {
261 ::unity::il2cpp_call!((::unity::module_base()+0x1c7d4a0usize)as*mut u8,i32;
262 )
263 }
264 }
265
266 #[doc = "`ChangeKeyValue(i32, i32, i32, i32)` overload"]
267 pub fn change_key_value(
268 value: impl ::core::convert::Into<i32>,
269 min: impl ::core::convert::Into<i32>,
270 max: impl ::core::convert::Into<i32>,
271 step: impl ::core::convert::Into<i32>,
272 ) -> i32 {
273 unsafe {
274 ::unity::il2cpp_call!((::unity::module_base()+0x1c7d6a0usize)as*mut u8,i32;
275(i32)::core::convert::Into::into(value),(i32)::core::convert::Into::into(min),(i32)::core::convert::Into::into(max),(i32)::core::convert::Into::into(step))
276 }
277 }
278
279 #[doc = "`ChangeKeyValue(f32, f32, f32, f32)` overload"]
280 pub fn change_key_value_2(
281 value: impl ::core::convert::Into<f32>,
282 min: impl ::core::convert::Into<f32>,
283 max: impl ::core::convert::Into<f32>,
284 step: impl ::core::convert::Into<f32>,
285 ) -> f32 {
286 unsafe {
287 ::unity::il2cpp_call!((::unity::module_base()+0x1c7e030usize)as*mut u8,f32;
288(f32)::core::convert::Into::into(value),(f32)::core::convert::Into::into(min),(f32)::core::convert::Into::into(max),(f32)::core::convert::Into::into(step))
289 }
290 }
291
292 #[doc = "`ChangeKeyValue(bool)` overload"]
293 pub fn change_key_value_3(value: impl ::core::convert::Into<bool>) -> bool {
294 unsafe {
295 ::unity::il2cpp_call!((::unity::module_base()+0x1c7e0c0usize)as*mut u8,bool;
296(bool)::core::convert::Into::into(value))
297 }
298 }
299
300 #[doc = "`ChangeKeyValueImpl(f64, f64, f64, f64)` overload"]
301 pub fn change_key_value_impl(
302 value: impl ::core::convert::Into<f64>,
303 min: impl ::core::convert::Into<f64>,
304 max: impl ::core::convert::Into<f64>,
305 step: impl ::core::convert::Into<f64>,
306 ) -> f64 {
307 unsafe {
308 ::unity::il2cpp_call!((::unity::module_base()+0x1c7d750usize)as*mut u8,f64;
309(f64)::core::convert::Into::into(value),(f64)::core::convert::Into::into(min),(f64)::core::convert::Into::into(max),(f64)::core::convert::Into::into(step))
310 }
311 }
312
313 #[doc = "`ChangeKeyEnum(crate::system::object::Object)` overload"]
314 pub fn change_key_enum(obj: impl ::core::convert::Into<crate::system::object::Object>) -> crate::system::object::Object {
315 unsafe {
316 ::unity::il2cpp_call!((::unity::module_base()+0x1c7e160usize)as*mut u8,crate::system::object::Object;
317(crate::system::object::Object)::core::convert::Into::into(obj))
318 }
319 }
320
321 #[doc = "`FindGameObject(::unity::Il2CppString, bool)` overload"]
322 pub fn find_game_object(
323 name: impl ::core::convert::Into<::unity::Il2CppString>,
324 warning: impl ::core::convert::Into<bool>,
325 ) -> crate::unity_engine::gameobject::GameObject {
326 unsafe {
327 ::unity::il2cpp_call!((::unity::module_base()+0x1c7e840usize)as*mut u8,crate::unity_engine::gameobject::GameObject;
328(::unity::Il2CppString)::core::convert::Into::into(name),(bool)::core::convert::Into::into(warning))
329 }
330 }
331
332 #[doc = "`TryCreateGameObject(::unity::Il2CppString, crate::unity_engine::gameobject::GameObject)` overload"]
333 pub fn try_create_game_object(
334 name: impl ::core::convert::Into<::unity::Il2CppString>,
335 parent: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
336 ) -> crate::unity_engine::gameobject::GameObject {
337 unsafe {
338 ::unity::il2cpp_call!((::unity::module_base()+0x1c7e8f0usize)as*mut u8,crate::unity_engine::gameobject::GameObject;
339(::unity::Il2CppString)::core::convert::Into::into(name),(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(parent))
340 }
341 }
342
343 #[doc = "`CreateGameObject(::unity::Il2CppString, ::unity::Il2CppString)` overload"]
344 pub fn create_game_object(
345 name: impl ::core::convert::Into<::unity::Il2CppString>,
346 parent: impl ::core::convert::Into<::unity::Il2CppString>,
347 ) -> crate::unity_engine::gameobject::GameObject {
348 unsafe {
349 ::unity::il2cpp_call!((::unity::module_base()+0x1c7eaf0usize)as*mut u8,crate::unity_engine::gameobject::GameObject;
350(::unity::Il2CppString)::core::convert::Into::into(name),(::unity::Il2CppString)::core::convert::Into::into(parent))
351 }
352 }
353
354 #[doc = "`FindRootObject(::unity::Il2CppString)` overload"]
355 pub fn find_root_object(name: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::unity_engine::gameobject::GameObject {
356 unsafe {
357 ::unity::il2cpp_call!((::unity::module_base()+0x1c7ebf0usize)as*mut u8,crate::unity_engine::gameobject::GameObject;
358(::unity::Il2CppString)::core::convert::Into::into(name))
359 }
360 }
361
362 #[doc = "`TryCreateRootObject(::unity::Il2CppString)` overload"]
363 pub fn try_create_root_object(name: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::unity_engine::gameobject::GameObject {
364 unsafe {
365 ::unity::il2cpp_call!((::unity::module_base()+0x1c7ed20usize)as*mut u8,crate::unity_engine::gameobject::GameObject;
366(::unity::Il2CppString)::core::convert::Into::into(name))
367 }
368 }
369
370 pub fn create_game_object_2<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
371 parent: impl ::core::convert::Into<::unity::Il2CppString>,
372 ) -> M0 {
373 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
374 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<Ut as ::unity::ClassIdentity>::class(), "CreateGameObject", 1));
375 #[allow(clippy::type_complexity)]
376 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
377 ::std::sync::OnceLock::new();
378 let _ = true;
379 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
380 ::core::result::Result::Ok(mi) => *mi,
381 ::core::result::Result::Err(e) => {
382 panic!(
383 "method lookup failed: {}
384::{}
385: {}
386",
387 <Ut as ::unity::ClassIdentity>::NAME,
388 "CreateGameObject",
389 e
390 )
391 },
392 };
393 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
394 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
395 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
396 let mut __guard = __cache.lock().unwrap();
397 *__guard
398 .entry(__key)
399 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
400 };
401 unsafe {
402 let __f: extern "C" fn(::unity::Il2CppString, ::unity::OptionalMethod) -> M0 = ::core::mem::transmute(__inflated.method_ptr);
403 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
404 __f(::core::convert::Into::into(parent), ::core::option::Option::Some(__mi_opaque))
405 }
406 }
407
408 pub fn try_create_component<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
409 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
410 ) -> M0 {
411 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
412 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<Ut as ::unity::ClassIdentity>::class(), "TryCreateComponent", 1));
413 #[allow(clippy::type_complexity)]
414 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
415 ::std::sync::OnceLock::new();
416 let _ = true;
417 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
418 ::core::result::Result::Ok(mi) => *mi,
419 ::core::result::Result::Err(e) => {
420 panic!(
421 "method lookup failed: {}
422::{}
423: {}
424",
425 <Ut as ::unity::ClassIdentity>::NAME,
426 "TryCreateComponent",
427 e
428 )
429 },
430 };
431 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
432 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
433 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
434 let mut __guard = __cache.lock().unwrap();
435 *__guard
436 .entry(__key)
437 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
438 };
439 unsafe {
440 let __f: extern "C" fn(crate::unity_engine::gameobject::GameObject, ::unity::OptionalMethod) -> M0 =
441 ::core::mem::transmute(__inflated.method_ptr);
442 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
443 __f(::core::convert::Into::into(game_object), ::core::option::Option::Some(__mi_opaque))
444 }
445 }
446
447 #[doc = "`CreateGameObject(::unity::Il2CppString, crate::unity_engine::gameobject::GameObject)` overload"]
448 pub fn create_game_object_3(
449 name: impl ::core::convert::Into<::unity::Il2CppString>,
450 parent: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
451 ) -> crate::unity_engine::gameobject::GameObject {
452 unsafe {
453 ::unity::il2cpp_call!((::unity::module_base()+0x1c7e9d0usize)as*mut u8,crate::unity_engine::gameobject::GameObject;
454(::unity::Il2CppString)::core::convert::Into::into(name),(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(parent))
455 }
456 }
457
458 pub fn create_game_object_4<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
459 parent: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
460 ) -> M0 {
461 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
462 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<Ut as ::unity::ClassIdentity>::class(), "CreateGameObject", 1));
463 #[allow(clippy::type_complexity)]
464 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
465 ::std::sync::OnceLock::new();
466 let _ = true;
467 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
468 ::core::result::Result::Ok(mi) => *mi,
469 ::core::result::Result::Err(e) => {
470 panic!(
471 "method lookup failed: {}
472::{}
473: {}
474",
475 <Ut as ::unity::ClassIdentity>::NAME,
476 "CreateGameObject",
477 e
478 )
479 },
480 };
481 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
482 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
483 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
484 let mut __guard = __cache.lock().unwrap();
485 *__guard
486 .entry(__key)
487 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
488 };
489 unsafe {
490 let __f: extern "C" fn(crate::unity_engine::gameobject::GameObject, ::unity::OptionalMethod) -> M0 =
491 ::core::mem::transmute(__inflated.method_ptr);
492 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
493 __f(::core::convert::Into::into(parent), ::core::option::Option::Some(__mi_opaque))
494 }
495 }
496
497 #[doc = "`CreateGameObjectByAsset(crate::unity_engine::gameobject::GameObject, crate::unity_engine::gameobject::GameObject)` overload"]
498 pub fn create_game_object_by_asset(
499 original: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
500 parent: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
501 ) -> crate::unity_engine::gameobject::GameObject {
502 unsafe {
503 ::unity::il2cpp_call!((::unity::module_base()+0x1c7ee00usize)as*mut u8,crate::unity_engine::gameobject::GameObject;
504(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(original),(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(parent))
505 }
506 }
507
508 #[doc = "`DestroyGameObject(crate::unity_engine::gameobject::GameObject)` overload"]
509 pub fn destroy_game_object(game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
510 unsafe {
511 ::unity::il2cpp_call!((::unity::module_base()+0x1c7ef50usize)as*mut u8,();
512(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object))
513 }
514 }
515
516 pub fn destroy_game_object_2<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
517 component: impl ::core::convert::Into<M0>,
518 ) -> () {
519 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
520 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<Ut as ::unity::ClassIdentity>::class(), "DestroyGameObject", 1));
521 #[allow(clippy::type_complexity)]
522 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
523 ::std::sync::OnceLock::new();
524 let _ = true;
525 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
526 ::core::result::Result::Ok(mi) => *mi,
527 ::core::result::Result::Err(e) => {
528 panic!(
529 "method lookup failed: {}
530::{}
531: {}
532",
533 <Ut as ::unity::ClassIdentity>::NAME,
534 "DestroyGameObject",
535 e
536 )
537 },
538 };
539 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
540 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
541 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
542 let mut __guard = __cache.lock().unwrap();
543 *__guard
544 .entry(__key)
545 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
546 };
547 unsafe {
548 let __f: extern "C" fn(M0, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__inflated.method_ptr);
549 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
550 __f(::core::convert::Into::into(component), ::core::option::Option::Some(__mi_opaque))
551 }
552 }
553
554 pub fn destroy_game_object_3<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
555 component: impl ::core::convert::Into<*mut M0>,
556 ) -> () {
557 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
558 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<Ut as ::unity::ClassIdentity>::class(), "DestroyGameObject", 1));
559 #[allow(clippy::type_complexity)]
560 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
561 ::std::sync::OnceLock::new();
562 let _ = true;
563 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
564 ::core::result::Result::Ok(mi) => *mi,
565 ::core::result::Result::Err(e) => {
566 panic!(
567 "method lookup failed: {}
568::{}
569: {}
570",
571 <Ut as ::unity::ClassIdentity>::NAME,
572 "DestroyGameObject",
573 e
574 )
575 },
576 };
577 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
578 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
579 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
580 let mut __guard = __cache.lock().unwrap();
581 *__guard
582 .entry(__key)
583 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
584 };
585 unsafe {
586 let __f: extern "C" fn(*mut M0, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__inflated.method_ptr);
587 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
588 __f(::core::convert::Into::into(component), ::core::option::Option::Some(__mi_opaque))
589 }
590 }
591
592 #[doc = "`DestroyChildObject(crate::unity_engine::gameobject::GameObject)` overload"]
593 pub fn destroy_child_object(game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
594 unsafe {
595 ::unity::il2cpp_call!((::unity::module_base()+0x1c7f010usize)as*mut u8,();
596(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object))
597 }
598 }
599
600 #[doc = "`SetLayerRecursively(crate::unity_engine::transform::Transform, i32)` overload"]
601 pub fn set_layer_recursively(
602 transform: impl ::core::convert::Into<crate::unity_engine::transform::Transform>,
603 layer: impl ::core::convert::Into<i32>,
604 ) -> bool {
605 unsafe {
606 ::unity::il2cpp_call!((::unity::module_base()+0x1c7f160usize)as*mut u8,bool;
607(crate::unity_engine::transform::Transform)::core::convert::Into::into(transform),(i32)::core::convert::Into::into(layer))
608 }
609 }
610
611 #[doc = "`SetLayerRecursively(crate::unity_engine::gameobject::GameObject, i32)` overload"]
612 pub fn set_layer_recursively_2(
613 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
614 layer: impl ::core::convert::Into<i32>,
615 ) -> bool {
616 unsafe {
617 ::unity::il2cpp_call!((::unity::module_base()+0x1c7f280usize)as*mut u8,bool;
618(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object),(i32)::core::convert::Into::into(layer))
619 }
620 }
621
622 #[doc = "`SetLayerRecursively(crate::unity_engine::gameobject::GameObject, ::unity::Il2CppString)` overload"]
623 pub fn set_layer_recursively_3(
624 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
625 name: impl ::core::convert::Into<::unity::Il2CppString>,
626 ) -> bool {
627 unsafe {
628 ::unity::il2cpp_call!((::unity::module_base()+0x1c7f310usize)as*mut u8,bool;
629(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object),(::unity::Il2CppString)::core::convert::Into::into(name))
630 }
631 }
632
633 #[doc = "`CreateDebugTextObject(crate::unity_engine::transform::Transform, ::unity::Il2CppString, i32)` overload"]
634 pub fn create_debug_text_object(
635 parent: impl ::core::convert::Into<crate::unity_engine::transform::Transform>,
636 name: impl ::core::convert::Into<::unity::Il2CppString>,
637 size: impl ::core::convert::Into<i32>,
638 ) -> crate::unity_engine::gameobject::GameObject {
639 unsafe {
640 ::unity::il2cpp_call!((::unity::module_base()+0x1c7f410usize)as*mut u8,crate::unity_engine::gameobject::GameObject;
641(crate::unity_engine::transform::Transform)::core::convert::Into::into(parent),(::unity::Il2CppString)::core::convert::Into::into(name),(i32)::core::convert::Into::into(size))
642 }
643 }
644
645 #[doc = "`GetObjectFullPath(crate::unity_engine::gameobject::GameObject)` overload"]
646 pub fn get_object_full_path(game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> ::unity::Il2CppString {
647 unsafe {
648 ::unity::il2cpp_call!((::unity::module_base()+0x1c7f750usize)as*mut u8, ::unity::Il2CppString;
649(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object))
650 }
651 }
652
653 pub fn get_object_full_path_2<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
654 component: impl ::core::convert::Into<M0>,
655 ) -> ::unity::Il2CppString {
656 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
657 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<Ut as ::unity::ClassIdentity>::class(), "GetObjectFullPath", 1));
658 #[allow(clippy::type_complexity)]
659 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
660 ::std::sync::OnceLock::new();
661 let _ = true;
662 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
663 ::core::result::Result::Ok(mi) => *mi,
664 ::core::result::Result::Err(e) => {
665 panic!(
666 "method lookup failed: {}
667::{}
668: {}
669",
670 <Ut as ::unity::ClassIdentity>::NAME,
671 "GetObjectFullPath",
672 e
673 )
674 },
675 };
676 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
677 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
678 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
679 let mut __guard = __cache.lock().unwrap();
680 *__guard
681 .entry(__key)
682 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
683 };
684 unsafe {
685 let __f: extern "C" fn(M0, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__inflated.method_ptr);
686 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
687 __f(::core::convert::Into::into(component), ::core::option::Option::Some(__mi_opaque))
688 }
689 }
690
691 pub fn find_child_game_object<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
692 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
693 ) -> crate::unity_engine::gameobject::GameObject {
694 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
695 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<Ut as ::unity::ClassIdentity>::class(), "FindChildGameObject", 1));
696 #[allow(clippy::type_complexity)]
697 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
698 ::std::sync::OnceLock::new();
699 let _ = true;
700 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
701 ::core::result::Result::Ok(mi) => *mi,
702 ::core::result::Result::Err(e) => {
703 panic!(
704 "method lookup failed: {}
705::{}
706: {}
707",
708 <Ut as ::unity::ClassIdentity>::NAME,
709 "FindChildGameObject",
710 e
711 )
712 },
713 };
714 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
715 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
716 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
717 let mut __guard = __cache.lock().unwrap();
718 *__guard
719 .entry(__key)
720 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
721 };
722 unsafe {
723 let __f: extern "C" fn(
724 crate::unity_engine::gameobject::GameObject,
725 ::unity::OptionalMethod,
726 ) -> crate::unity_engine::gameobject::GameObject = ::core::mem::transmute(__inflated.method_ptr);
727 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
728 __f(::core::convert::Into::into(game_object), ::core::option::Option::Some(__mi_opaque))
729 }
730 }
731
732 #[doc = "`FindChildGameObject(crate::unity_engine::gameobject::GameObject, ::unity::Il2CppString)` overload"]
733 pub fn find_child_game_object_2(
734 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
735 child_name: impl ::core::convert::Into<::unity::Il2CppString>,
736 ) -> crate::unity_engine::gameobject::GameObject {
737 unsafe {
738 ::unity::il2cpp_call!((::unity::module_base()+0x1c5f9a0usize)as*mut u8,crate::unity_engine::gameobject::GameObject;
739(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object),(::unity::Il2CppString)::core::convert::Into::into(child_name))
740 }
741 }
742
743 #[doc = "`FindChildTransform(crate::unity_engine::transform::Transform, ::unity::Il2CppString)` overload"]
744 pub fn find_child_transform(
745 parent: impl ::core::convert::Into<crate::unity_engine::transform::Transform>,
746 child_name: impl ::core::convert::Into<::unity::Il2CppString>,
747 ) -> crate::unity_engine::transform::Transform {
748 unsafe {
749 ::unity::il2cpp_call!((::unity::module_base()+0x1c7f8e0usize)as*mut u8,crate::unity_engine::transform::Transform;
750(crate::unity_engine::transform::Transform)::core::convert::Into::into(parent),(::unity::Il2CppString)::core::convert::Into::into(child_name))
751 }
752 }
753
754 #[doc = "`GetTopParentObject(crate::unity_engine::gameobject::GameObject)` overload"]
755 pub fn get_top_parent_object(
756 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
757 ) -> crate::unity_engine::gameobject::GameObject {
758 unsafe {
759 ::unity::il2cpp_call!((::unity::module_base()+0x1c7fa60usize)as*mut u8,crate::unity_engine::gameobject::GameObject;
760(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object))
761 }
762 }
763
764 #[doc = "`GetUniqueObjectName(::unity::Il2CppString)` overload"]
765 pub fn get_unique_object_name(name: impl ::core::convert::Into<::unity::Il2CppString>) -> ::unity::Il2CppString {
766 unsafe {
767 ::unity::il2cpp_call!((::unity::module_base()+0x1c7fb50usize)as*mut u8, ::unity::Il2CppString;
768(::unity::Il2CppString)::core::convert::Into::into(name))
769 }
770 }
771
772 #[doc = "`GetCurrentScenePath()` overload"]
773 pub fn get_current_scene_path() -> ::unity::Il2CppString {
774 unsafe {
775 ::unity::il2cpp_call!((::unity::module_base()+0x1c7fc80usize)as*mut u8, ::unity::Il2CppString;
776 )
777 }
778 }
779
780 #[doc = "`GetCurrentSceneDir()` overload"]
781 pub fn get_current_scene_dir() -> ::unity::Il2CppString {
782 unsafe {
783 ::unity::il2cpp_call!((::unity::module_base()+0x1c7fd40usize)as*mut u8, ::unity::Il2CppString;
784 )
785 }
786 }
787
788 #[doc = "`GetCurrentSceneName()` overload"]
789 pub fn get_current_scene_name() -> ::unity::Il2CppString {
790 unsafe {
791 ::unity::il2cpp_call!((::unity::module_base()+0x1c7fdf0usize)as*mut u8, ::unity::Il2CppString;
792 )
793 }
794 }
795
796 #[doc = "`GetSceneName(crate::unity_engine::gameobject::GameObject)` overload"]
797 pub fn get_scene_name(game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> ::unity::Il2CppString {
798 unsafe {
799 ::unity::il2cpp_call!((::unity::module_base()+0x1c7fea0usize)as*mut u8, ::unity::Il2CppString;
800(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object))
801 }
802 }
803
804 #[doc = "`GetSceneName(crate::unity_engine::component::Component)` overload"]
805 pub fn get_scene_name_2(component: impl ::core::convert::Into<crate::unity_engine::component::Component>) -> ::unity::Il2CppString {
806 unsafe {
807 ::unity::il2cpp_call!((::unity::module_base()+0x1c7ff40usize)as*mut u8, ::unity::Il2CppString;
808(crate::unity_engine::component::Component)::core::convert::Into::into(component))
809 }
810 }
811
812 #[doc = "`GetPrefixless(::unity::Il2CppString)` overload"]
813 pub fn get_prefixless(path: impl ::core::convert::Into<::unity::Il2CppString>) -> ::unity::Il2CppString {
814 unsafe {
815 ::unity::il2cpp_call!((::unity::module_base()+0x1c80080usize)as*mut u8, ::unity::Il2CppString;
816(::unity::Il2CppString)::core::convert::Into::into(path))
817 }
818 }
819
820 pub fn find_child_component<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
821 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
822 ) -> M0 {
823 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
824 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<Ut as ::unity::ClassIdentity>::class(), "FindChildComponent", 1));
825 #[allow(clippy::type_complexity)]
826 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
827 ::std::sync::OnceLock::new();
828 let _ = true;
829 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
830 ::core::result::Result::Ok(mi) => *mi,
831 ::core::result::Result::Err(e) => {
832 panic!(
833 "method lookup failed: {}
834::{}
835: {}
836",
837 <Ut as ::unity::ClassIdentity>::NAME,
838 "FindChildComponent",
839 e
840 )
841 },
842 };
843 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
844 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
845 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
846 let mut __guard = __cache.lock().unwrap();
847 *__guard
848 .entry(__key)
849 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
850 };
851 unsafe {
852 let __f: extern "C" fn(crate::unity_engine::gameobject::GameObject, ::unity::OptionalMethod) -> M0 =
853 ::core::mem::transmute(__inflated.method_ptr);
854 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
855 __f(::core::convert::Into::into(game_object), ::core::option::Option::Some(__mi_opaque))
856 }
857 }
858
859 pub fn find_child_component_2<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
860 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
861 child_name: impl ::core::convert::Into<::unity::Il2CppString>,
862 ) -> M0 {
863 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
864 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<Ut as ::unity::ClassIdentity>::class(), "FindChildComponent", 2));
865 #[allow(clippy::type_complexity)]
866 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
867 ::std::sync::OnceLock::new();
868 let _ = true;
869 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
870 ::core::result::Result::Ok(mi) => *mi,
871 ::core::result::Result::Err(e) => {
872 panic!(
873 "method lookup failed: {}
874::{}
875: {}
876",
877 <Ut as ::unity::ClassIdentity>::NAME,
878 "FindChildComponent",
879 e
880 )
881 },
882 };
883 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
884 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
885 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
886 let mut __guard = __cache.lock().unwrap();
887 *__guard
888 .entry(__key)
889 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
890 };
891 unsafe {
892 let __f: extern "C" fn(crate::unity_engine::gameobject::GameObject, ::unity::Il2CppString, ::unity::OptionalMethod) -> M0 =
893 ::core::mem::transmute(__inflated.method_ptr);
894 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
895 __f(
896 ::core::convert::Into::into(game_object),
897 ::core::convert::Into::into(child_name),
898 ::core::option::Option::Some(__mi_opaque),
899 )
900 }
901 }
902
903 pub fn find_child_components<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
904 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
905 ) -> ::unity::Array<M0> {
906 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
907 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<Ut as ::unity::ClassIdentity>::class(), "FindChildComponents", 1));
908 #[allow(clippy::type_complexity)]
909 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
910 ::std::sync::OnceLock::new();
911 let _ = true;
912 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
913 ::core::result::Result::Ok(mi) => *mi,
914 ::core::result::Result::Err(e) => {
915 panic!(
916 "method lookup failed: {}
917::{}
918: {}
919",
920 <Ut as ::unity::ClassIdentity>::NAME,
921 "FindChildComponents",
922 e
923 )
924 },
925 };
926 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
927 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
928 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
929 let mut __guard = __cache.lock().unwrap();
930 *__guard
931 .entry(__key)
932 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
933 };
934 unsafe {
935 let __f: extern "C" fn(crate::unity_engine::gameobject::GameObject, ::unity::OptionalMethod) -> ::unity::Array<M0> =
936 ::core::mem::transmute(__inflated.method_ptr);
937 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
938 __f(::core::convert::Into::into(game_object), ::core::option::Option::Some(__mi_opaque))
939 }
940 }
941
942 #[doc = "`GetRotation(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3)` overload"]
943 pub fn get_rotation(
944 start: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
945 end: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
946 ) -> crate::unity_engine::quaternion::Quaternion {
947 unsafe {
948 ::unity::il2cpp_call!((::unity::module_base()+0x1c80130usize)as*mut u8,crate::unity_engine::quaternion::Quaternion;
949(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(start),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(end))
950 }
951 }
952
953 pub fn get_rotation_2<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
954 start: impl ::core::convert::Into<M0>,
955 end: impl ::core::convert::Into<M0>,
956 ) -> crate::unity_engine::quaternion::Quaternion {
957 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
958 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<Ut as ::unity::ClassIdentity>::class(), "GetRotation", 2));
959 #[allow(clippy::type_complexity)]
960 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
961 ::std::sync::OnceLock::new();
962 let _ = true;
963 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
964 ::core::result::Result::Ok(mi) => *mi,
965 ::core::result::Result::Err(e) => {
966 panic!(
967 "method lookup failed: {}
968::{}
969: {}
970",
971 <Ut as ::unity::ClassIdentity>::NAME,
972 "GetRotation",
973 e
974 )
975 },
976 };
977 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
978 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
979 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
980 let mut __guard = __cache.lock().unwrap();
981 *__guard
982 .entry(__key)
983 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
984 };
985 unsafe {
986 let __f: extern "C" fn(M0, M0, ::unity::OptionalMethod) -> crate::unity_engine::quaternion::Quaternion =
987 ::core::mem::transmute(__inflated.method_ptr);
988 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
989 __f(
990 ::core::convert::Into::into(start),
991 ::core::convert::Into::into(end),
992 ::core::option::Option::Some(__mi_opaque),
993 )
994 }
995 }
996
997 #[doc = "`GetCurrentAnimationClip(crate::unity_engine::animator::Animator, i32)` overload"]
998 pub fn get_current_animation_clip(
999 animator: impl ::core::convert::Into<crate::unity_engine::animator::Animator>,
1000 layer_index: impl ::core::convert::Into<i32>,
1001 ) -> crate::unity_engine::animationclip::AnimationClip {
1002 unsafe {
1003 ::unity::il2cpp_call!((::unity::module_base()+0x1c801d0usize)as*mut u8,crate::unity_engine::animationclip::AnimationClip;
1004(crate::unity_engine::animator::Animator)::core::convert::Into::into(animator),(i32)::core::convert::Into::into(layer_index))
1005 }
1006 }
1007
1008 #[doc = "`RoundKB(i64)` overload"]
1009 pub fn round_kb(size: impl ::core::convert::Into<i64>) -> i64 {
1010 unsafe {
1011 ::unity::il2cpp_call!((::unity::module_base()+0x1c80270usize)as*mut u8,i64;
1012(i64)::core::convert::Into::into(size))
1013 }
1014 }
1015
1016 pub fn set_component_enable<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
1017 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
1018 enable: impl ::core::convert::Into<bool>,
1019 ) -> () {
1020 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
1021 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<Ut as ::unity::ClassIdentity>::class(), "SetComponentEnable", 2));
1022 #[allow(clippy::type_complexity)]
1023 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
1024 ::std::sync::OnceLock::new();
1025 let _ = true;
1026 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
1027 ::core::result::Result::Ok(mi) => *mi,
1028 ::core::result::Result::Err(e) => {
1029 panic!(
1030 "method lookup failed: {}
1031::{}
1032: {}
1033",
1034 <Ut as ::unity::ClassIdentity>::NAME,
1035 "SetComponentEnable",
1036 e
1037 )
1038 },
1039 };
1040 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
1041 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
1042 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
1043 let mut __guard = __cache.lock().unwrap();
1044 *__guard
1045 .entry(__key)
1046 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
1047 };
1048 unsafe {
1049 let __f: extern "C" fn(crate::unity_engine::gameobject::GameObject, bool, ::unity::OptionalMethod) -> () =
1050 ::core::mem::transmute(__inflated.method_ptr);
1051 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
1052 __f(
1053 ::core::convert::Into::into(game_object),
1054 ::core::convert::Into::into(enable),
1055 ::core::option::Option::Some(__mi_opaque),
1056 )
1057 }
1058 }
1059
1060 #[doc = "`DumpTransform(crate::unity_engine::transform::Transform, i32)` overload"]
1061 pub fn dump_transform(
1062 transform: impl ::core::convert::Into<crate::unity_engine::transform::Transform>,
1063 depth: impl ::core::convert::Into<i32>,
1064 ) -> () {
1065 unsafe {
1066 ::unity::il2cpp_call!((::unity::module_base()+0x1c80310usize)as*mut u8,();
1067(crate::unity_engine::transform::Transform)::core::convert::Into::into(transform),(i32)::core::convert::Into::into(depth))
1068 }
1069 }
1070
1071 #[doc = "`ClearProperties(::unity::SystemType, crate::system::object::Object)` overload"]
1072 pub fn clear_properties(
1073 r#type: impl ::core::convert::Into<::unity::SystemType>,
1074 obj: impl ::core::convert::Into<crate::system::object::Object>,
1075 ) -> () {
1076 unsafe {
1077 ::unity::il2cpp_call!((::unity::module_base()+0x1c80430usize)as*mut u8,();
1078(::unity::SystemType)::core::convert::Into::into(r#type),(crate::system::object::Object)::core::convert::Into::into(obj))
1079 }
1080 }
1081
1082 #[doc = "`CopyProperties(::unity::SystemType, crate::system::object::Object, crate::system::object::Object)` overload"]
1083 pub fn copy_properties(
1084 r#type: impl ::core::convert::Into<::unity::SystemType>,
1085 src: impl ::core::convert::Into<crate::system::object::Object>,
1086 dst: impl ::core::convert::Into<crate::system::object::Object>,
1087 ) -> () {
1088 unsafe {
1089 ::unity::il2cpp_call!((::unity::module_base()+0x1c804f0usize)as*mut u8,();
1090(::unity::SystemType)::core::convert::Into::into(r#type),(crate::system::object::Object)::core::convert::Into::into(src),(crate::system::object::Object)::core::convert::Into::into(dst))
1091 }
1092 }
1093
1094 #[doc = "`GetStreamingAssetsPath()` overload"]
1095 pub fn get_streaming_assets_path() -> ::unity::Il2CppString {
1096 unsafe {
1097 ::unity::il2cpp_call!((::unity::module_base()+0x1c805d0usize)as*mut u8, ::unity::Il2CppString;
1098 )
1099 }
1100 }
1101
1102 #[doc = "`GetStreamingAssetsPath(::unity::Il2CppString, bool)` overload"]
1103 pub fn get_streaming_assets_path_2(
1104 path: impl ::core::convert::Into<::unity::Il2CppString>,
1105 platform: impl ::core::convert::Into<bool>,
1106 ) -> ::unity::Il2CppString {
1107 unsafe {
1108 ::unity::il2cpp_call!((::unity::module_base()+0x1c80660usize)as*mut u8, ::unity::Il2CppString;
1109(::unity::Il2CppString)::core::convert::Into::into(path),(bool)::core::convert::Into::into(platform))
1110 }
1111 }
1112
1113 #[doc = "`SaveMembers(crate::system::object::Object)` overload"]
1114 pub fn save_members(obj: impl ::core::convert::Into<crate::system::object::Object>) -> () {
1115 unsafe {
1116 ::unity::il2cpp_call!((::unity::module_base()+0x1c808a0usize)as*mut u8,();
1117(crate::system::object::Object)::core::convert::Into::into(obj))
1118 }
1119 }
1120
1121 #[doc = "`LoadMembers(crate::system::object::Object)` overload"]
1122 pub fn load_members(obj: impl ::core::convert::Into<crate::system::object::Object>) -> () {
1123 unsafe {
1124 ::unity::il2cpp_call!((::unity::module_base()+0x1c808b0usize)as*mut u8,();
1125(crate::system::object::Object)::core::convert::Into::into(obj))
1126 }
1127 }
1128
1129 #[doc = "`GetMemberItems(crate::system::object::Object)` overload"]
1130 pub fn get_member_items(
1131 instance: impl ::core::convert::Into<crate::system::object::Object>,
1132 ) -> crate::system::collections::generic::list_1::List_1<crate::app::menuitem::MenuItem> {
1133 unsafe {
1134 ::unity::il2cpp_call!((::unity::module_base()+0x1c808c0usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::app::menuitem::MenuItem> ;
1135(crate::system::object::Object)::core::convert::Into::into(instance))
1136 }
1137 }
1138
1139 #[doc = "`GetFieldItems(crate::system::object::Object)` overload"]
1140 pub fn get_field_items(
1141 instance: impl ::core::convert::Into<crate::system::object::Object>,
1142 ) -> crate::system::collections::generic::list_1::List_1<crate::app::menuitem::MenuItem> {
1143 unsafe {
1144 ::unity::il2cpp_call!((::unity::module_base()+0x1c808d0usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::app::menuitem::MenuItem> ;
1145(crate::system::object::Object)::core::convert::Into::into(instance))
1146 }
1147 }
1148
1149 #[doc = "`GetPropetyItems(crate::system::object::Object)` overload"]
1150 pub fn get_propety_items(
1151 instance: impl ::core::convert::Into<crate::system::object::Object>,
1152 ) -> crate::system::collections::generic::list_1::List_1<crate::app::menuitem::MenuItem> {
1153 unsafe {
1154 ::unity::il2cpp_call!((::unity::module_base()+0x1c808e0usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::app::menuitem::MenuItem> ;
1155(crate::system::object::Object)::core::convert::Into::into(instance))
1156 }
1157 }
1158
1159 #[doc = "`GetInstanceMaterials(crate::unity_engine::renderer::Renderer)` overload"]
1160 pub fn get_instance_materials(
1161 render: impl ::core::convert::Into<crate::unity_engine::renderer::Renderer>,
1162 ) -> ::unity::Array<crate::unity_engine::material::Material> {
1163 unsafe {
1164 ::unity::il2cpp_call!((::unity::module_base()+0x1c808f0usize)as*mut u8, ::unity::Array<crate::unity_engine::material::Material> ;
1165(crate::unity_engine::renderer::Renderer)::core::convert::Into::into(render))
1166 }
1167 }
1168
1169 #[doc = "`Hash_FNV_1(::unity::Array<u8>)` overload"]
1170 pub fn hash_fnv_1(bytes: impl ::core::convert::Into<::unity::Array<u8>>) -> i32 {
1171 unsafe {
1172 ::unity::il2cpp_call!((::unity::module_base()+0x1c80990usize)as*mut u8,i32;
1173(::unity::Array<u8>)::core::convert::Into::into(bytes))
1174 }
1175 }
1176
1177 #[doc = "`Hash_FNV_1(::unity::Array<u8>, i32)` overload"]
1178 pub fn hash_fnv_1_2(bytes: impl ::core::convert::Into<::unity::Array<u8>>, length: impl ::core::convert::Into<i32>) -> i32 {
1179 unsafe {
1180 ::unity::il2cpp_call!((::unity::module_base()+0x1c80ae0usize)as*mut u8,i32;
1181(::unity::Array<u8>)::core::convert::Into::into(bytes),(i32)::core::convert::Into::into(length))
1182 }
1183 }
1184
1185 #[doc = "`Hash_FNV_1(::unity::Array<u32>)` overload"]
1186 pub fn hash_fnv_1_3(values: impl ::core::convert::Into<::unity::Array<u32>>) -> i32 {
1187 unsafe {
1188 ::unity::il2cpp_call!((::unity::module_base()+0x1c80be0usize)as*mut u8,i32;
1189(::unity::Array<u32>)::core::convert::Into::into(values))
1190 }
1191 }
1192
1193 #[doc = "`Hash_FNV_1(::unity::Array<u32>, i32)` overload"]
1194 pub fn hash_fnv_1_4(values: impl ::core::convert::Into<::unity::Array<u32>>, length: impl ::core::convert::Into<i32>) -> i32 {
1195 unsafe {
1196 ::unity::il2cpp_call!((::unity::module_base()+0x1c80d30usize)as*mut u8,i32;
1197(::unity::Array<u32>)::core::convert::Into::into(values),(i32)::core::convert::Into::into(length))
1198 }
1199 }
1200
1201 #[doc = "`Hash_FNV_1(::unity::Il2CppString)` overload"]
1202 pub fn hash_fnv_1_5(name: impl ::core::convert::Into<::unity::Il2CppString>) -> i32 {
1203 unsafe {
1204 ::unity::il2cpp_call!((::unity::module_base()+0x1c80e30usize)as*mut u8,i32;
1205(::unity::Il2CppString)::core::convert::Into::into(name))
1206 }
1207 }
1208
1209 #[doc = "`Hash_FNV_1(crate::system::collections::bitarray::BitArray)` overload"]
1210 pub fn hash_fnv_1_6(array: impl ::core::convert::Into<crate::system::collections::bitarray::BitArray>) -> i32 {
1211 unsafe {
1212 ::unity::il2cpp_call!((::unity::module_base()+0x1c81030usize)as*mut u8,i32;
1213(crate::system::collections::bitarray::BitArray)::core::convert::Into::into(array))
1214 }
1215 }
1216
1217 #[doc = "`GetAllAssetPaths(::unity::Il2CppString, ::unity::Array<::unity::Il2CppString>)` overload"]
1218 pub fn get_all_asset_paths(
1219 root: impl ::core::convert::Into<::unity::Il2CppString>,
1220 extensions: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>,
1221 ) -> ::unity::Array<::unity::Il2CppString> {
1222 unsafe {
1223 ::unity::il2cpp_call!((::unity::module_base()+0x1c81230usize)as*mut u8, ::unity::Array< ::unity::Il2CppString> ;
1224(::unity::Il2CppString)::core::convert::Into::into(root),(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(extensions))
1225 }
1226 }
1227
1228 #[doc = "`ToAssetPath(::unity::Il2CppString)` overload"]
1229 pub fn to_asset_path(path: impl ::core::convert::Into<::unity::Il2CppString>) -> ::unity::Il2CppString {
1230 unsafe {
1231 ::unity::il2cpp_call!((::unity::module_base()+0x1c81240usize)as*mut u8, ::unity::Il2CppString;
1232(::unity::Il2CppString)::core::convert::Into::into(path))
1233 }
1234 }
1235
1236 #[doc = "`ToSystemPath(::unity::Il2CppString)` overload"]
1237 pub fn to_system_path(path: impl ::core::convert::Into<::unity::Il2CppString>) -> ::unity::Il2CppString {
1238 unsafe {
1239 ::unity::il2cpp_call!((::unity::module_base()+0x1c81320usize)as*mut u8, ::unity::Il2CppString;
1240(::unity::Il2CppString)::core::convert::Into::into(path))
1241 }
1242 }
1243
1244 #[doc = "`UnityEditorSelectObject(crate::unity_engine::gameobject::GameObject)` overload"]
1245 pub fn unity_editor_select_object(game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
1246 unsafe {
1247 ::unity::il2cpp_call!((::unity::module_base()+0x1c81440usize)as*mut u8,();
1248(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object))
1249 }
1250 }
1251
1252 #[doc = "`UnityEditorSelectObject(crate::unity_engine::component::Component)` overload"]
1253 pub fn unity_editor_select_object_2(component: impl ::core::convert::Into<crate::unity_engine::component::Component>) -> () {
1254 unsafe {
1255 ::unity::il2cpp_call!((::unity::module_base()+0x1c81450usize)as*mut u8,();
1256(crate::unity_engine::component::Component)::core::convert::Into::into(component))
1257 }
1258 }
1259
1260 #[doc = "`EachChildren(crate::unity_engine::gameobject::GameObject, crate::app::ut::Ut_GameObjectFunction)` overload"]
1261 pub fn each_children(
1262 go: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
1263 func: impl ::core::convert::Into<crate::app::ut::Ut_GameObjectFunction>,
1264 ) -> () {
1265 unsafe {
1266 ::unity::il2cpp_call!((::unity::module_base()+0x1c81460usize)as*mut u8,();
1267(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(go),(crate::app::ut::Ut_GameObjectFunction)::core::convert::Into::into(func))
1268 }
1269 }
1270
1271 #[doc = "`EachParents(crate::unity_engine::gameobject::GameObject, crate::app::ut::Ut_GameObjectFunction)` overload"]
1272 pub fn each_parents(
1273 go: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
1274 func: impl ::core::convert::Into<crate::app::ut::Ut_GameObjectFunction>,
1275 ) -> () {
1276 unsafe {
1277 ::unity::il2cpp_call!((::unity::module_base()+0x1c81560usize)as*mut u8,();
1278(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(go),(crate::app::ut::Ut_GameObjectFunction)::core::convert::Into::into(func))
1279 }
1280 }
1281
1282 #[doc = "`SetOneShotParticle(crate::unity_engine::gameobject::GameObject)` overload"]
1283 pub fn set_one_shot_particle(go: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
1284 unsafe {
1285 ::unity::il2cpp_call!((::unity::module_base()+0x1c81660usize)as*mut u8,();
1286(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(go))
1287 }
1288 }
1289
1290 #[doc = "`ValueToString(i32)` overload"]
1291 pub fn value_to_string(value: impl ::core::convert::Into<i32>) -> ::unity::Il2CppString {
1292 unsafe {
1293 ::unity::il2cpp_call!((::unity::module_base()+0x1c817b0usize)as*mut u8, ::unity::Il2CppString;
1294(i32)::core::convert::Into::into(value))
1295 }
1296 }
1297
1298 #[doc = "`SetTextValue(crate::tm_pro::tmp_text::TMP_Text, i32)` overload"]
1299 pub fn set_text_value(tmp_text: impl ::core::convert::Into<crate::tm_pro::tmp_text::TMP_Text>, value: impl ::core::convert::Into<i32>) -> () {
1300 unsafe {
1301 ::unity::il2cpp_call!((::unity::module_base()+0x1c818d0usize)as*mut u8,();
1302(crate::tm_pro::tmp_text::TMP_Text)::core::convert::Into::into(tmp_text),(i32)::core::convert::Into::into(value))
1303 }
1304 }
1305
1306 #[doc = "`ToStringWithComma(i32)` overload"]
1307 pub fn to_string_with_comma(value: impl ::core::convert::Into<i32>) -> ::unity::Il2CppString {
1308 unsafe {
1309 ::unity::il2cpp_call!((::unity::module_base()+0x1c81ad0usize)as*mut u8, ::unity::Il2CppString;
1310(i32)::core::convert::Into::into(value))
1311 }
1312 }
1313
1314 #[doc = "`GetLanguageLabel(::unity::Il2CppString)` overload"]
1315 pub fn get_language_label(label: impl ::core::convert::Into<::unity::Il2CppString>) -> ::unity::Il2CppString {
1316 unsafe {
1317 ::unity::il2cpp_call!((::unity::module_base()+0x1c81bc0usize)as*mut u8, ::unity::Il2CppString;
1318(::unity::Il2CppString)::core::convert::Into::into(label))
1319 }
1320 }
1321
1322 #[doc = "`GetShortName(::unity::Il2CppString, i32)` overload"]
1323 pub fn get_short_name(name: impl ::core::convert::Into<::unity::Il2CppString>, length: impl ::core::convert::Into<i32>) -> ::unity::Il2CppString {
1324 unsafe {
1325 ::unity::il2cpp_call!((::unity::module_base()+0x1c81ce0usize)as*mut u8, ::unity::Il2CppString;
1326(::unity::Il2CppString)::core::convert::Into::into(name),(i32)::core::convert::Into::into(length))
1327 }
1328 }
1329
1330 #[doc = "`GetSizeName(i64)` overload"]
1331 pub fn get_size_name(size: impl ::core::convert::Into<i64>) -> ::unity::Il2CppString {
1332 unsafe {
1333 ::unity::il2cpp_call!((::unity::module_base()+0x1c81da0usize)as*mut u8, ::unity::Il2CppString;
1334(i64)::core::convert::Into::into(size))
1335 }
1336 }
1337
1338 #[doc = "`CaptureTexture(i32, i32)` overload"]
1339 pub fn capture_texture(w: impl ::core::convert::Into<i32>, h: impl ::core::convert::Into<i32>) -> crate::unity_engine::texture2d::Texture2D {
1340 unsafe {
1341 ::unity::il2cpp_call!((::unity::module_base()+0x1c81e60usize)as*mut u8,crate::unity_engine::texture2d::Texture2D;
1342(i32)::core::convert::Into::into(w),(i32)::core::convert::Into::into(h))
1343 }
1344 }
1345
1346 #[doc = "`GetTimeStamp()` overload"]
1347 pub fn get_time_stamp() -> ::unity::Il2CppString {
1348 unsafe {
1349 ::unity::il2cpp_call!((::unity::module_base()+0x1c82040usize)as*mut u8, ::unity::Il2CppString;
1350 )
1351 }
1352 }
1353
1354 #[doc = "`ForceRebuildLayout(crate::unity_engine::component::Component)` overload"]
1355 pub fn force_rebuild_layout(component: impl ::core::convert::Into<crate::unity_engine::component::Component>) -> () {
1356 unsafe {
1357 ::unity::il2cpp_call!((::unity::module_base()+0x1c823a0usize)as*mut u8,();
1358(crate::unity_engine::component::Component)::core::convert::Into::into(component))
1359 }
1360 }
1361
1362 #[doc = "`.cctor()` overload"]
1363 pub fn cctor() -> () {
1364 unsafe {
1365 ::unity::il2cpp_call!((::unity::module_base()+0x1c82440usize)as*mut u8,();
1366 )
1367 }
1368 }
1369}
1370
1371#[cfg(feature = "app-ut")]
1372pub trait IUtMethods: IUt {
1373 #[doc = "`.ctor()` overload"]
1374 fn ctor(self) -> () {
1375 unsafe {
1376 let __receiver = <Ut as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1377 ::unity::il2cpp_call!((::unity::module_base()+0x1c82430usize)as*mut u8,();
1378(Ut)__receiver)
1379 }
1380 }
1381}
1382
1383#[cfg(feature = "app-ut")]
1384impl<__T: IUt> IUtMethods for __T {}
1385
1386#[cfg(feature = "app-ut")]
1387impl Ut {
1388 pub fn mult_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1389 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1390 }
1391
1392 pub fn mult_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1393 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1394 }
1395
1396 pub fn deg_to_rad_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1397 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1398 }
1399
1400 pub fn deg_to_rad_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1401 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1402 }
1403
1404 pub fn round_deg_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1405 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1406 }
1407
1408 pub fn clamp_angle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1409 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1410 }
1411
1412 pub fn clamp_angle_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1413 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1414 }
1415
1416 pub fn clamp_angle_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1417 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1418 }
1419
1420 pub fn m_sec_to_frame_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1421 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1422 }
1423
1424 pub fn frame_to_ms_ec_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1425 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1426 }
1427
1428 pub fn get_frame_step_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1429 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1430 }
1431
1432 pub fn is_intercect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1433 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1434 }
1435
1436 pub fn get_fast_input_scale_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1437 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1438 }
1439
1440 pub fn change_key_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1441 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1442 }
1443
1444 pub fn change_key_value_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1445 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1446 }
1447
1448 pub fn change_key_value_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1449 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1450 }
1451
1452 pub fn change_key_value_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1453 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1454 }
1455
1456 pub fn change_key_enum_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1457 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1458 }
1459
1460 pub fn find_game_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1461 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1462 }
1463
1464 pub fn try_create_game_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1465 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
1466 }
1467
1468 pub fn create_game_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1469 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1470 }
1471
1472 pub fn find_root_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1473 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1474 }
1475
1476 pub fn try_create_root_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1477 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1478 }
1479
1480 pub fn create_game_object_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1481 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
1482 }
1483
1484 pub fn create_game_object_by_asset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1485 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
1486 }
1487
1488 pub fn destroy_game_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1489 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
1490 }
1491
1492 pub fn destroy_child_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1493 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
1494 }
1495
1496 pub fn set_layer_recursively_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1497 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
1498 }
1499
1500 pub fn set_layer_recursively_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1501 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
1502 }
1503
1504 pub fn set_layer_recursively_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1505 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
1506 }
1507
1508 pub fn create_debug_text_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1509 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
1510 }
1511
1512 pub fn get_object_full_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1513 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
1514 }
1515
1516 pub fn find_child_game_object_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1517 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
1518 }
1519
1520 pub fn find_child_transform_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1521 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
1522 }
1523
1524 pub fn get_top_parent_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1525 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
1526 }
1527
1528 pub fn get_unique_object_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1529 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
1530 }
1531
1532 pub fn get_current_scene_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1533 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
1534 }
1535
1536 pub fn get_current_scene_dir_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1537 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
1538 }
1539
1540 pub fn get_current_scene_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1541 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
1542 }
1543
1544 pub fn get_scene_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1545 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
1546 }
1547
1548 pub fn get_scene_name_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1549 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
1550 }
1551
1552 pub fn get_prefixless_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1553 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
1554 }
1555
1556 pub fn get_rotation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1557 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[53]
1558 }
1559
1560 pub fn get_current_animation_clip_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1561 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[55]
1562 }
1563
1564 pub fn round_kb_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1565 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[56]
1566 }
1567
1568 pub fn dump_transform_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1569 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[59]
1570 }
1571
1572 pub fn clear_properties_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1573 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[60]
1574 }
1575
1576 pub fn copy_properties_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1577 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[61]
1578 }
1579
1580 pub fn get_streaming_assets_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1581 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[62]
1582 }
1583
1584 pub fn get_streaming_assets_path_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1585 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[63]
1586 }
1587
1588 pub fn save_members_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1589 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[64]
1590 }
1591
1592 pub fn load_members_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1593 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[65]
1594 }
1595
1596 pub fn get_member_items_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1597 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[66]
1598 }
1599
1600 pub fn get_field_items_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1601 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[67]
1602 }
1603
1604 pub fn get_propety_items_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1605 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[68]
1606 }
1607
1608 pub fn get_instance_materials_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1609 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[69]
1610 }
1611
1612 pub fn hash_fnv_1_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1613 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[70]
1614 }
1615
1616 pub fn hash_fnv_1_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1617 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[71]
1618 }
1619
1620 pub fn hash_fnv_1_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1621 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[72]
1622 }
1623
1624 pub fn hash_fnv_1_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1625 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[73]
1626 }
1627
1628 pub fn hash_fnv_1_5_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1629 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[74]
1630 }
1631
1632 pub fn hash_fnv_1_6_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1633 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[76]
1634 }
1635
1636 pub fn get_all_asset_paths_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1637 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[77]
1638 }
1639
1640 pub fn to_asset_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1641 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[78]
1642 }
1643
1644 pub fn to_system_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1645 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[79]
1646 }
1647
1648 pub fn unity_editor_select_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1649 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[80]
1650 }
1651
1652 pub fn unity_editor_select_object_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1653 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[81]
1654 }
1655
1656 pub fn each_children_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1657 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[82]
1658 }
1659
1660 pub fn each_parents_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1661 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[83]
1662 }
1663
1664 pub fn set_one_shot_particle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1665 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[84]
1666 }
1667
1668 pub fn value_to_string_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1669 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[85]
1670 }
1671
1672 pub fn set_text_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1673 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[86]
1674 }
1675
1676 pub fn to_string_with_comma_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1677 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[87]
1678 }
1679
1680 pub fn get_language_label_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1681 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[88]
1682 }
1683
1684 pub fn get_short_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1685 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[89]
1686 }
1687
1688 pub fn get_size_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1689 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[90]
1690 }
1691
1692 pub fn capture_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1693 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[91]
1694 }
1695
1696 pub fn get_time_stamp_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1697 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[92]
1698 }
1699
1700 pub fn force_rebuild_layout_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1701 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[93]
1702 }
1703
1704 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1705 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[94]
1706 }
1707
1708 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1709 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[95]
1710 }
1711}
1712
1713#[cfg(feature = "app-ut")]
1714impl Ut {
1715 #[doc = "`.ctor()` — no args"]
1716 pub fn new() -> Self {
1717 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1718 panic!(
1719 "{}
1720::{}
1721 failed to instantiate",
1722 ::core::stringify!(Ut),
1723 ::core::stringify!(new),
1724 )
1725 });
1726 <Self as IUtMethods>::ctor(this);
1727 this
1728 }
1729}
1730
1731#[cfg(feature = "app-ut")]
1732pub trait IUt_GameObjectFunctionMethods: IUt_GameObjectFunction {
1733 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
1734 fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
1735 unsafe {
1736 let __receiver = <Ut_GameObjectFunction as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1737 ::unity::il2cpp_call!((::unity::module_base()+0x1b5c850usize)as*mut u8,();
1738(Ut_GameObjectFunction)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
1739 }
1740 }
1741 #[doc = "`Invoke(crate::unity_engine::gameobject::GameObject)` overload"]
1742 fn invoke(self, go: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
1743 unsafe {
1744 let __receiver = <Ut_GameObjectFunction as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1745 {
1746 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1747 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
1748 panic!(
1749 "unity: virtual slot {}
1750 out of range (vtable len {}
1751) on the runtime class behind {}
1752 (method `{}
1753`)",
1754 13usize,
1755 __vt.len(),
1756 <Ut_GameObjectFunction as ::unity::ClassIdentity>::NAME,
1757 "Invoke",
1758 )
1759 });
1760 let __inner: extern "C" fn(Ut_GameObjectFunction, crate::unity_engine::gameobject::GameObject, ::unity::OptionalMethod) -> () =
1761 ::core::mem::transmute(__vi.method_ptr);
1762 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1763 __inner(__receiver, ::core::convert::Into::into(go), __mi)
1764 }
1765 }
1766 }
1767}
1768
1769#[cfg(feature = "app-ut")]
1770impl<__T: IUt_GameObjectFunction> IUt_GameObjectFunctionMethods for __T {}
1771
1772#[cfg(feature = "app-ut")]
1773impl Ut_GameObjectFunction {
1774 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1775 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1776 }
1777
1778 pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1779 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1780 }
1781}
1782
1783#[cfg(feature = "app-ut")]
1784impl Ut_GameObjectFunction {
1785 #[doc = "Direct (non-virtual) call to `Ut_GameObjectFunction`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1786 pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>, go: crate::unity_engine::gameobject::GameObject) -> () {
1787 let __mi = Self::invoke_method_info();
1788 let __inner: extern "C" fn(::unity::IlInstance, crate::unity_engine::gameobject::GameObject, ::unity::OptionalMethod) -> () =
1789 ::core::mem::transmute(__mi.method_ptr);
1790 __inner(this.into(), go, ::core::option::Option::None)
1791 }
1792}
1793
1794#[cfg(feature = "app-ut")]
1795impl Ut_GameObjectFunction {
1796 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
1797 pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
1798 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1799 panic!(
1800 "{}
1801::{}
1802 failed to instantiate",
1803 ::core::stringify!(Ut_GameObjectFunction),
1804 ::core::stringify!(new),
1805 )
1806 });
1807 <Self as IUt_GameObjectFunctionMethods>::ctor(this, object, method);
1808 this
1809 }
1810}
1811
1812#[cfg(feature = "app-ut")]
1813#[doc(hidden)]
1814pub mod prelude {
1815 pub use super::{
1816 IUt, IUtMethods, IUt_EnumList, IUt_EnumListMethods, IUt_GameObjectFunction, IUt_GameObjectFunctionMethods, Ut, Ut_EnumList,
1817 Ut_GameObjectFunction,
1818 };
1819 #[cfg(feature = "system-collections-generic-list_1")]
1820 pub use crate::system::collections::generic::list_1::IList_1Methods;
1821 #[cfg(feature = "system-delegate")]
1822 pub use crate::system::delegate::IDelegateMethods;
1823 #[cfg(feature = "system-multicastdelegate")]
1824 pub use crate::system::multicastdelegate::IMulticastDelegateMethods;
1825 #[cfg(feature = "system-object")]
1826 pub use crate::system::object::IObjectMethods;
1827 pub use crate::system::{collections::generic::list_1::IList_1, delegate::IDelegate, multicastdelegate::IMulticastDelegate, object::IObject};
1828}