engage/generated/tm_pro/
tmp_materialreference.rs1#[cfg(feature = "tm_pro-tmp_materialreference-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::{
9 object::{IObject, Object},
10 valuetype::{IValueType, ValueType},
11 };
12
13 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/tm_pro/tmp_materialreference/TMP_MaterialReference.md"))]
14 #[repr(C)]
15 #[derive(::core::clone::Clone, ::core::marker::Copy)]
16 pub struct TMP_MaterialReference {
17 pub material: crate::unity_engine::material::Material,
18 pub reference_count: i32,
19 }
20 impl ::unity::ClassIdentity for TMP_MaterialReference {
21 const NAME: &'static str = "TMP_MaterialReference";
22 const NAMESPACE: &'static str = "TMPro";
23
24 fn class() -> ::unity::Class {
25 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
26 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
27 }
28 }
29 impl ::unity::IlType for TMP_MaterialReference {
30 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
31 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
32 }
33 }
34}
35
36#[cfg(feature = "tm_pro-tmp_materialreference-types")]
37pub use __types::*;
38
39#[cfg(feature = "tm_pro-tmp_materialreference")]
40#[doc(hidden)]
41pub mod prelude {
42 pub use super::TMP_MaterialReference;
43 #[cfg(feature = "system-object")]
44 pub use crate::system::object::IObjectMethods;
45 #[cfg(feature = "system-valuetype")]
46 pub use crate::system::valuetype::IValueTypeMethods;
47 pub use crate::system::{object::IObject, valuetype::IValueType};
48}