mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-26 02:30:18 +00:00
Update runtime code
This commit is contained in:
@@ -24,7 +24,7 @@ namespace YooAsset
|
|||||||
// 创建驱动器
|
// 创建驱动器
|
||||||
_isInitialize = true;
|
_isInitialize = true;
|
||||||
UnityEngine.GameObject driverGo = new UnityEngine.GameObject($"[{nameof(YooAssets)}]");
|
UnityEngine.GameObject driverGo = new UnityEngine.GameObject($"[{nameof(YooAssets)}]");
|
||||||
driverGo.AddComponent<YooAssetDriver>();
|
driverGo.AddComponent<YooAssetsDriver>();
|
||||||
UnityEngine.Object.DontDestroyOnLoad(driverGo);
|
UnityEngine.Object.DontDestroyOnLoad(driverGo);
|
||||||
|
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace YooAsset
|
namespace YooAsset
|
||||||
{
|
{
|
||||||
internal class YooAssetDriver : MonoBehaviour
|
internal class YooAssetsDriver : MonoBehaviour
|
||||||
{
|
{
|
||||||
void Update()
|
void Update()
|
||||||
{
|
{
|
||||||
Reference in New Issue
Block a user