Skip to main content

IHierarchyCacheMethods

Trait IHierarchyCacheMethods 

Source
pub trait IHierarchyCacheMethods: IHierarchyCache {
    // Provided methods
    fn get_dic(self) -> Dictionary_2<Il2CppString, Transform> { ... }
    fn get_item(self, name: impl Into<Il2CppString>) -> Transform { ... }
    fn ctor(self, root: impl Into<Transform>) { ... }
    fn add_range(self, root: impl Into<Transform>) { ... }
}

Provided Methods§

Source

fn get_dic(self) -> Dictionary_2<Il2CppString, Transform>

get_Dic() overload

Source

fn get_item(self, name: impl Into<Il2CppString>) -> Transform

get_Item(::unity::Il2CppString) overload

Source

fn ctor(self, root: impl Into<Transform>)

.ctor(crate::unity_engine::transform::Transform) overload

Source

fn add_range(self, root: impl Into<Transform>)

AddRange(crate::unity_engine::transform::Transform) 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: IHierarchyCache> IHierarchyCacheMethods for __T

Available on crate feature combat-hierarchycache only.