Skip to main content

IFieldLoaderMethods

Trait IFieldLoaderMethods 

Source
pub trait IFieldLoaderMethods: IFieldLoader {
    // Provided methods
    fn get_is_loading(self) -> bool { ... }
    fn set_is_loading(self, value: impl Into<bool>) { ... }
    fn load_scene(
        self,
        map_name: impl Into<Il2CppString>,
        callback: impl Into<Action>,
    ) { ... }
    fn unload_scene(self) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_is_loading(self) -> bool

get_IsLoading() overload

Source

fn set_is_loading(self, value: impl Into<bool>)

set_IsLoading(bool) overload

Source

fn load_scene( self, map_name: impl Into<Il2CppString>, callback: impl Into<Action>, )

LoadScene(::unity::Il2CppString, crate::system::action::Action) overload

Source

fn unload_scene(self)

UnloadScene() 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: IFieldLoader> IFieldLoaderMethods for __T

Available on crate feature combat-fieldloader only.