Update runtime code
parent
66304c91ec
commit
72a49d0ed8
|
@ -24,7 +24,7 @@ namespace YooAsset
|
|||
// 创建驱动器
|
||||
_isInitialize = true;
|
||||
UnityEngine.GameObject driverGo = new UnityEngine.GameObject($"[{nameof(YooAssets)}]");
|
||||
driverGo.AddComponent<YooAssetDriver>();
|
||||
driverGo.AddComponent<YooAssetsDriver>();
|
||||
UnityEngine.Object.DontDestroyOnLoad(driverGo);
|
||||
|
||||
#if DEBUG
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
namespace YooAsset
|
||||
{
|
||||
internal class YooAssetDriver : MonoBehaviour
|
||||
internal class YooAssetsDriver : MonoBehaviour
|
||||
{
|
||||
void Update()
|
||||
{
|
Loading…
Reference in New Issue