Skip to main content

ISingletonMonoBehaviour_1Methods

Trait ISingletonMonoBehaviour_1Methods 

Source
pub trait ISingletonMonoBehaviour_1Methods<T0: ClassIdentity>: ClassIdentity {
    // Provided methods
    fn get_instance() -> T0 { ... }
    fn awake(self)
       where Self: Sized { ... }
    fn find(name: Il2CppString) -> GameObject { ... }
    fn bind() { ... }
    fn unbind() { ... }
    fn is_bind() -> bool { ... }
    fn try_create_instance() -> GameObject { ... }
    fn try_delete_instance() { ... }
    fn get_game_obejct() -> GameObject { ... }
    fn op_implicit(exists: SingletonMonoBehaviour_1<T0>) -> bool { ... }
    fn ctor(self)
       where Self: Sized { ... }
    fn cctor() { ... }
}

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§