engage/generated/unity_engine/
guitargetattribute.rs1#[cfg(feature = "unity_engine-guitargetattribute-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8
9 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/guitargetattribute/GUITargetAttribute.md"))]
10 #[::unity::class(namespace = "UnityEngine", name = "GUITargetAttribute")]
11 pub struct GUITargetAttribute {
12 #[offset(16)]
13 #[rename(name = "displayMask")]
14 pub display_mask: i32,
15 }
16}
17
18#[cfg(feature = "unity_engine-guitargetattribute-types")]
19pub use __types::*;
20
21#[cfg(feature = "unity_engine-guitargetattribute")]
22impl GUITargetAttribute {
23 #[doc = "`GetGUITargetAttrValue(::unity::SystemType, ::unity::Il2CppString)` overload"]
24 pub fn get_gui_target_attr_value(
25 klass: impl ::core::convert::Into<::unity::SystemType>,
26 method_name: impl ::core::convert::Into<::unity::Il2CppString>,
27 ) -> i32 {
28 unsafe {
29 ::unity::il2cpp_call!((::unity::module_base()+0x3c50710usize)as*mut u8,i32;
30(::unity::SystemType)::core::convert::Into::into(klass),(::unity::Il2CppString)::core::convert::Into::into(method_name))
31 }
32 }
33}
34
35#[cfg(feature = "unity_engine-guitargetattribute")]
36impl GUITargetAttribute {
37 pub fn get_gui_target_attr_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
38 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
39 }
40}
41
42#[cfg(feature = "unity_engine-guitargetattribute")]
43#[doc(hidden)]
44pub mod prelude {
45 pub use super::{GUITargetAttribute, IGUITargetAttribute};
46}