#[repr(C)]pub struct Scene {
pub m_handle: i32,
}Expand description
Fields§
§m_handle: i32Implementations§
Source§impl Scene
impl Scene
Sourcepub fn is_valid_internal(scene_handle: impl Into<i32>) -> bool
pub fn is_valid_internal(scene_handle: impl Into<i32>) -> bool
IsValidInternal(i32) overload
Sourcepub fn get_path_internal(scene_handle: impl Into<i32>) -> Il2CppString
pub fn get_path_internal(scene_handle: impl Into<i32>) -> Il2CppString
GetPathInternal(i32) overload
Sourcepub fn get_name_internal(scene_handle: impl Into<i32>) -> Il2CppString
pub fn get_name_internal(scene_handle: impl Into<i32>) -> Il2CppString
GetNameInternal(i32) overload
Sourcepub fn get_is_loaded_internal(scene_handle: impl Into<i32>) -> bool
pub fn get_is_loaded_internal(scene_handle: impl Into<i32>) -> bool
GetIsLoadedInternal(i32) overload
Sourcepub fn get_root_count_internal(scene_handle: impl Into<i32>) -> i32
pub fn get_root_count_internal(scene_handle: impl Into<i32>) -> i32
GetRootCountInternal(i32) overload
Sourcepub fn get_root_game_objects_internal(
scene_handle: impl Into<i32>,
result_root_list: impl Into<Object>,
)
pub fn get_root_game_objects_internal( scene_handle: impl Into<i32>, result_root_list: impl Into<Object>, )
GetRootGameObjectsInternal(i32, crate::system::object::Object) overload
Sourcepub fn op_equality(lhs: impl Into<Scene>, rhs: impl Into<Scene>) -> bool
pub fn op_equality(lhs: impl Into<Scene>, rhs: impl Into<Scene>) -> bool
op_Equality(crate::unity_engine::scene_management::scene::Scene, crate::unity_engine::scene_management::scene::Scene) overload
Source§impl Scene
impl Scene
Sourcepub fn get_handle(&mut self) -> i32
pub fn get_handle(&mut self) -> i32
get_handle() overload
Sourcepub fn get_path(&mut self) -> Il2CppString
pub fn get_path(&mut self) -> Il2CppString
get_path() overload
Sourcepub fn get_name(&mut self) -> Il2CppString
pub fn get_name(&mut self) -> Il2CppString
get_name() overload
Sourcepub fn get_is_loaded(&mut self) -> bool
pub fn get_is_loaded(&mut self) -> bool
get_isLoaded() overload
Sourcepub fn get_root_count(&mut self) -> i32
pub fn get_root_count(&mut self) -> i32
get_rootCount() overload
Sourcepub fn get_root_game_objects(&mut self) -> Array<GameObject>
pub fn get_root_game_objects(&mut self) -> Array<GameObject>
GetRootGameObjects() overload
Sourcepub fn get_root_game_objects_2(
&mut self,
root_game_objects: impl Into<List_1<GameObject>>,
)
pub fn get_root_game_objects_2( &mut self, root_game_objects: impl Into<List_1<GameObject>>, )
GetRootGameObjects(crate::system::collections::generic::list_1::List_1<crate::unity_engine::gameobject::GameObject>) overload
Sourcepub fn get_hash_code(&mut self) -> i32
pub fn get_hash_code(&mut self) -> i32
GetHashCode() overload
Source§impl Scene
impl Scene
pub fn is_valid_internal_method_info() -> &'static MethodInfo
pub fn get_path_internal_method_info() -> &'static MethodInfo
pub fn get_name_internal_method_info() -> &'static MethodInfo
pub fn get_is_loaded_internal_method_info() -> &'static MethodInfo
pub fn get_root_count_internal_method_info() -> &'static MethodInfo
pub fn get_root_game_objects_internal_method_info() -> &'static MethodInfo
pub fn get_handle_method_info() -> &'static MethodInfo
pub fn is_valid_method_info() -> &'static MethodInfo
pub fn get_path_method_info() -> &'static MethodInfo
pub fn get_name_method_info() -> &'static MethodInfo
pub fn get_is_loaded_method_info() -> &'static MethodInfo
pub fn get_root_count_method_info() -> &'static MethodInfo
pub fn get_root_game_objects_method_info() -> &'static MethodInfo
pub fn get_root_game_objects_2_method_info() -> &'static MethodInfo
pub fn op_equality_method_info() -> &'static MethodInfo
pub fn get_hash_code_method_info() -> &'static MethodInfo
pub fn equals_method_info() -> &'static MethodInfo
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Scene
impl RefUnwindSafe for Scene
impl Send for Scene
impl Sync for Scene
impl Unpin for Scene
impl UnwindSafe for Scene
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)