Skip to main content

IDefaultControls_DefaultRuntimeFactoryMethods

Trait IDefaultControls_DefaultRuntimeFactoryMethods 

Source
pub trait IDefaultControls_DefaultRuntimeFactoryMethods: IDefaultControls_DefaultRuntimeFactory {
    // Provided methods
    fn create_game_object(
        self,
        name: impl Into<Il2CppString>,
        components: impl Into<Array<SystemType>>,
    ) -> GameObject { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn create_game_object( self, name: impl Into<Il2CppString>, components: impl Into<Array<SystemType>>, ) -> GameObject

CreateGameObject(::unity::Il2CppString, ::unity::Array<::unity::SystemType>) overload

Source

fn ctor(self)

.ctor() overload

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§

Source§

impl<__T: IDefaultControls_DefaultRuntimeFactory> IDefaultControls_DefaultRuntimeFactoryMethods for __T

Available on crate feature unity_engine-ui-defaultcontrols only.