From 72a49d0ed8e70f718fe8932e97a60d44d71cb924 Mon Sep 17 00:00:00 2001 From: hevinci Date: Fri, 14 Oct 2022 11:19:23 +0800 Subject: [PATCH] Update runtime code --- Assets/YooAsset/Runtime/YooAssets.cs | 2 +- .../YooAsset/Runtime/{YooAssetDriver.cs => YooAssetsDriver.cs} | 2 +- .../Runtime/{YooAssetDriver.cs.meta => YooAssetsDriver.cs.meta} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename Assets/YooAsset/Runtime/{YooAssetDriver.cs => YooAssetsDriver.cs} (81%) rename Assets/YooAsset/Runtime/{YooAssetDriver.cs.meta => YooAssetsDriver.cs.meta} (100%) diff --git a/Assets/YooAsset/Runtime/YooAssets.cs b/Assets/YooAsset/Runtime/YooAssets.cs index 4f92cb6..ab4c245 100644 --- a/Assets/YooAsset/Runtime/YooAssets.cs +++ b/Assets/YooAsset/Runtime/YooAssets.cs @@ -24,7 +24,7 @@ namespace YooAsset // 创建驱动器 _isInitialize = true; UnityEngine.GameObject driverGo = new UnityEngine.GameObject($"[{nameof(YooAssets)}]"); - driverGo.AddComponent(); + driverGo.AddComponent(); UnityEngine.Object.DontDestroyOnLoad(driverGo); #if DEBUG diff --git a/Assets/YooAsset/Runtime/YooAssetDriver.cs b/Assets/YooAsset/Runtime/YooAssetsDriver.cs similarity index 81% rename from Assets/YooAsset/Runtime/YooAssetDriver.cs rename to Assets/YooAsset/Runtime/YooAssetsDriver.cs index 94bb69a..bd84663 100644 --- a/Assets/YooAsset/Runtime/YooAssetDriver.cs +++ b/Assets/YooAsset/Runtime/YooAssetsDriver.cs @@ -2,7 +2,7 @@ namespace YooAsset { - internal class YooAssetDriver : MonoBehaviour + internal class YooAssetsDriver : MonoBehaviour { void Update() { diff --git a/Assets/YooAsset/Runtime/YooAssetDriver.cs.meta b/Assets/YooAsset/Runtime/YooAssetsDriver.cs.meta similarity index 100% rename from Assets/YooAsset/Runtime/YooAssetDriver.cs.meta rename to Assets/YooAsset/Runtime/YooAssetsDriver.cs.meta