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