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