Skip to main content

engage/generated/unity_engine/
gridlayout.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-gridlayout-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            object_2::{IObject_2, Object_2},
14        },
15    };
16
17    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/gridlayout/GridLayout.md"))]
18    #[::unity::class(namespace = "UnityEngine", name = "GridLayout")]
19    #[parent(crate::unity_engine::behaviour::Behaviour)]
20    pub struct GridLayout {}
21}
22
23#[cfg(feature = "unity_engine-gridlayout-types")]
24pub use __types::*;
25
26#[cfg(feature = "unity_engine-gridlayout")]
27pub trait IGridLayoutMethods: IGridLayout {
28    #[doc = "`DoNothing()` overload"]
29    fn do_nothing(self) -> () {
30        unsafe {
31            let __receiver = <GridLayout as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
32            ::unity::il2cpp_call!((::unity::module_base()+0x3f47010usize)as*mut u8,();
33(GridLayout)__receiver)
34        }
35    }
36}
37
38#[cfg(feature = "unity_engine-gridlayout")]
39impl<__T: IGridLayout> IGridLayoutMethods for __T {}
40
41#[cfg(feature = "unity_engine-gridlayout")]
42impl GridLayout {
43    pub fn do_nothing_method_info() -> &'static ::unity::il2cpp::MethodInfo {
44        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
45    }
46}
47
48#[cfg(feature = "unity_engine-gridlayout")]
49#[doc(hidden)]
50pub mod prelude {
51    pub use super::{GridLayout, IGridLayout, IGridLayoutMethods};
52    #[cfg(feature = "system-object")]
53    pub use crate::system::object::IObjectMethods;
54    #[cfg(feature = "unity_engine-behaviour")]
55    pub use crate::unity_engine::behaviour::IBehaviourMethods;
56    #[cfg(feature = "unity_engine-component")]
57    pub use crate::unity_engine::component::IComponentMethods;
58    #[cfg(feature = "unity_engine-object_2")]
59    pub use crate::unity_engine::object_2::IObject_2Methods;
60    pub use crate::{
61        system::object::IObject,
62        unity_engine::{behaviour::IBehaviour, component::IComponent, object_2::IObject_2},
63    };
64}