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§
Sourcefn find_by_name_impl(
self,
name: impl Into<Il2CppString>,
scene: impl Into<Scene>,
)
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
Sourcefn find_by_name_impl_2(
self,
name: impl Into<Il2CppString>,
game_object: impl Into<GameObject>,
)
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
Sourcefn find_by_layer_impl(self, layer: impl Into<i32>, scene: impl Into<Scene>)
fn find_by_layer_impl(self, layer: impl Into<i32>, scene: impl Into<Scene>)
FindByLayerImpl(i32, crate::unity_engine::scene_management::scene::Scene) overload
Sourcefn find_by_layer_impl_2(
self,
layer: impl Into<i32>,
game_object: impl Into<GameObject>,
)
fn find_by_layer_impl_2( self, layer: impl Into<i32>, game_object: impl Into<GameObject>, )
FindByLayerImpl(i32, crate::unity_engine::gameobject::GameObject) overload
Sourcefn find_parent_impl(self, transform: impl Into<Transform>)
fn find_parent_impl(self, transform: impl Into<Transform>)
FindParentImpl(crate::unity_engine::transform::Transform) overload
Sourcefn find_child_impl(self, transform: impl Into<Transform>)
fn find_child_impl(self, transform: impl Into<Transform>)
FindChildImpl(crate::unity_engine::transform::Transform) overload
Sourcefn set_active(self, enabled: impl Into<bool>) -> ObjectEnumerator
fn set_active(self, enabled: impl Into<bool>) -> ObjectEnumerator
SetActive(bool) overload
fn set_enable<M0: IlType + Copy + ClassIdentity>( self, enabled: impl Into<bool>, ) -> ObjectEnumerator
fn is_component<M0: IlType + Copy + ClassIdentity>(self) -> bool
Sourcefn dump(self) -> ObjectEnumerator
fn dump(self) -> ObjectEnumerator
Dump() 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§
impl<__T: IObjectEnumerator> IObjectEnumeratorMethods for __T
Available on crate feature
app-objectenumerator only.