From 3bdb339f542114221eeea5a9c11226ffc26a6cc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E5=86=A0=E5=B3=B0?= Date: Tue, 13 Aug 2024 10:19:29 +0800 Subject: [PATCH] style : resource package --- Assets/YooAsset/Runtime/ResourcePackage/ResourcePackage.cs | 4 ++++ Assets/YooAsset/Runtime/YooAssetsExtension.cs | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/Assets/YooAsset/Runtime/ResourcePackage/ResourcePackage.cs b/Assets/YooAsset/Runtime/ResourcePackage/ResourcePackage.cs index 08e1bec..db315dc 100644 --- a/Assets/YooAsset/Runtime/ResourcePackage/ResourcePackage.cs +++ b/Assets/YooAsset/Runtime/ResourcePackage/ResourcePackage.cs @@ -486,6 +486,7 @@ namespace YooAsset /// /// 场景的定位地址 /// 场景加载模式 + /// 场景物理模式 public SceneHandle LoadSceneSync(string location, LoadSceneMode sceneMode = LoadSceneMode.Single, LocalPhysicsMode physicsMode = LocalPhysicsMode.None) { DebugCheckInitialize(); @@ -498,6 +499,7 @@ namespace YooAsset /// /// 场景的资源信息 /// 场景加载模式 + /// 场景物理模式 public SceneHandle LoadSceneSync(AssetInfo assetInfo, LoadSceneMode sceneMode = LoadSceneMode.Single, LocalPhysicsMode physicsMode = LocalPhysicsMode.None) { DebugCheckInitialize(); @@ -509,6 +511,7 @@ namespace YooAsset /// /// 场景的定位地址 /// 场景加载模式 + /// 场景物理模式 /// 场景加载到90%自动挂起 /// 加载的优先级 public SceneHandle LoadSceneAsync(string location, LoadSceneMode sceneMode = LoadSceneMode.Single, LocalPhysicsMode physicsMode = LocalPhysicsMode.None, bool suspendLoad = false, uint priority = 0) @@ -523,6 +526,7 @@ namespace YooAsset /// /// 场景的资源信息 /// 场景加载模式 + /// 场景物理模式 /// 场景加载到90%自动挂起 /// 加载的优先级 public SceneHandle LoadSceneAsync(AssetInfo assetInfo, LoadSceneMode sceneMode = LoadSceneMode.Single, LocalPhysicsMode physicsMode = LocalPhysicsMode.None, bool suspendLoad = false, uint priority = 0) diff --git a/Assets/YooAsset/Runtime/YooAssetsExtension.cs b/Assets/YooAsset/Runtime/YooAssetsExtension.cs index 731e6cf..52c203b 100644 --- a/Assets/YooAsset/Runtime/YooAssetsExtension.cs +++ b/Assets/YooAsset/Runtime/YooAssetsExtension.cs @@ -161,6 +161,7 @@ namespace YooAsset /// /// 场景的定位地址 /// 场景加载模式 + /// 场景物理模式 public static SceneHandle LoadSceneSync(string location, LoadSceneMode sceneMode = LoadSceneMode.Single, LocalPhysicsMode physicsMode = LocalPhysicsMode.None) { DebugCheckDefaultPackageValid(); @@ -172,6 +173,7 @@ namespace YooAsset /// /// 场景的资源信息 /// 场景加载模式 + /// 场景物理模式 public static SceneHandle LoadSceneSync(AssetInfo assetInfo, LoadSceneMode sceneMode = LoadSceneMode.Single, LocalPhysicsMode physicsMode = LocalPhysicsMode.None) { DebugCheckDefaultPackageValid(); @@ -183,6 +185,7 @@ namespace YooAsset /// /// 场景的定位地址 /// 场景加载模式 + /// 场景物理模式 /// 场景加载到90%自动挂起 /// 优先级 public static SceneHandle LoadSceneAsync(string location, LoadSceneMode sceneMode = LoadSceneMode.Single, LocalPhysicsMode physicsMode = LocalPhysicsMode.None, bool suspendLoad = false, uint priority = 100) @@ -196,6 +199,7 @@ namespace YooAsset /// /// 场景的资源信息 /// 场景加载模式 + /// 场景物理模式 /// 场景加载到90%自动挂起 /// 优先级 public static SceneHandle LoadSceneAsync(AssetInfo assetInfo, LoadSceneMode sceneMode = LoadSceneMode.Single, LocalPhysicsMode physicsMode = LocalPhysicsMode.None, bool suspendLoad = false, uint priority = 100)