Skip to main content

IObjectEnumeratorMethods

Trait IObjectEnumeratorMethods 

Source
pub trait IObjectEnumeratorMethods: IObjectEnumerator {
    // Provided methods
    fn find_by_name_impl(
        self,
        name: impl Into<Il2CppString>,
        scene: impl Into<Scene>,
    ) { ... }
    fn find_by_name_impl_2(
        self,
        name: impl Into<Il2CppString>,
        game_object: impl Into<GameObject>,
    ) { ... }
    fn find_by_layer_impl(self, layer: impl Into<i32>, scene: impl Into<Scene>) { ... }
    fn find_by_layer_impl_2(
        self,
        layer: impl Into<i32>,
        game_object: impl Into<GameObject>,
    ) { ... }
    fn find_parent_impl(self, transform: impl Into<Transform>) { ... }
    fn find_child_impl(self, transform: impl Into<Transform>) { ... }
    fn set_active(self, enabled: impl Into<bool>) -> ObjectEnumerator { ... }
    fn set_enable<M0: IlType + Copy + ClassIdentity>(
        self,
        enabled: impl Into<bool>,
    ) -> ObjectEnumerator { ... }
    fn is_component<M0: IlType + Copy + ClassIdentity>(self) -> bool { ... }
    fn dump(self) -> ObjectEnumerator { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn find_by_name_impl( self, name: impl Into<Il2CppString>, scene: impl Into<Scene>, )

FindByNameImpl(::unity::Il2CppString, crate::unity_engine::scene_management::scene::Scene) overload

Source

fn find_by_name_impl_2( self, name: impl Into<Il2CppString>, game_object: impl Into<GameObject>, )

FindByNameImpl(::unity::Il2CppString, crate::unity_engine::gameobject::GameObject) overload

Source

fn find_by_layer_impl(self, layer: impl Into<i32>, scene: impl Into<Scene>)

FindByLayerImpl(i32, crate::unity_engine::scene_management::scene::Scene) overload

Source

fn find_by_layer_impl_2( self, layer: impl Into<i32>, game_object: impl Into<GameObject>, )

FindByLayerImpl(i32, crate::unity_engine::gameobject::GameObject) overload

Source

fn find_parent_impl(self, transform: impl Into<Transform>)

FindParentImpl(crate::unity_engine::transform::Transform) overload

Source

fn find_child_impl(self, transform: impl Into<Transform>)

FindChildImpl(crate::unity_engine::transform::Transform) overload

Source

fn set_active(self, enabled: impl Into<bool>) -> ObjectEnumerator

SetActive(bool) overload

Source

fn set_enable<M0: IlType + Copy + ClassIdentity>( self, enabled: impl Into<bool>, ) -> ObjectEnumerator

Source

fn is_component<M0: IlType + Copy + ClassIdentity>(self) -> bool

Source

fn dump(self) -> ObjectEnumerator

Dump() 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: IObjectEnumerator> IObjectEnumeratorMethods for __T

Available on crate feature app-objectenumerator only.