feat(fix-system): 修复系统迁移到 DeepRepairDataRegistry
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using UnityEngine;
|
||||
using AibisDream.Framework;
|
||||
using AibisDream;
|
||||
using AibisDream.SaveSystem;
|
||||
using System;
|
||||
using System.Collections;
|
||||
|
||||
@@ -17,7 +18,7 @@ public class UFModule : MonoBehaviour
|
||||
private void Awake()
|
||||
{
|
||||
// 将数据注册到数据容器内
|
||||
StorageSystem.Instance.RegisterData(_ufData);
|
||||
DeepRepairDataRegistry.RegisterData(_ufData);
|
||||
// 添加加载逻辑
|
||||
_ufData.LoadEvent += LoadData;
|
||||
_ufModule = transform.Find("Module Pic").gameObject;
|
||||
|
||||
Reference in New Issue
Block a user