Skip to main content

IDefaultControls_IFactoryControlsMethods

Trait IDefaultControls_IFactoryControlsMethods 

Source
pub trait IDefaultControls_IFactoryControlsMethods: IDefaultControls_IFactoryControls {
    // Provided method
    fn create_game_object(
        self,
        name: impl Into<Il2CppString>,
        components: impl Into<Array<SystemType>>,
    ) -> GameObject { ... }
}

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

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_IFactoryControls> IDefaultControls_IFactoryControlsMethods for __T

Available on crate feature unity_engine-ui-defaultcontrols only.