Skip to main content

engage/generated/unity_engine/rendering/
componentsingleton_1.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-rendering-componentsingleton_1-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::object::{IObject, Object};
9
10    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/componentsingleton_1/ComponentSingleton_1.md"))]
11    #[::unity::class(namespace = "UnityEngine.Rendering", name = "ComponentSingleton`1")]
12    #[parent(crate::system::object::Object)]
13    pub struct ComponentSingleton_1<T0: ::unity::ClassIdentity> {
14        #[static_field]
15        #[rename(name = "s_Instance")]
16        pub s_instance: T0,
17    }
18}
19
20#[cfg(feature = "unity_engine-rendering-componentsingleton_1-types")]
21pub use __types::*;
22
23#[cfg(feature = "unity_engine-rendering-componentsingleton_1")]
24#[::unity::methods]
25impl<T0: ::unity::ClassIdentity> ComponentSingleton_1<T0> {
26    #[doc = "`get_instance()` overload"]
27    #[method(name = "get_instance", args = 0)]
28    pub fn get_instance() -> T0;
29
30    #[doc = "`Release()` overload"]
31    #[method(name = "Release", args = 0)]
32    pub fn release() -> ();
33
34    #[doc = "`.cctor()` overload"]
35    #[method(name = ".cctor", args = 0)]
36    pub fn cctor() -> ();
37}
38
39#[cfg(feature = "unity_engine-rendering-componentsingleton_1")]
40#[doc(hidden)]
41pub mod prelude {
42    pub use super::{ComponentSingleton_1, IComponentSingleton_1};
43    pub use crate::system::object::IObject;
44    #[cfg(feature = "system-object")]
45    pub use crate::system::object::IObjectMethods;
46}