异步加载已修复, Config更新正推动

This commit is contained in:
2025-12-18 15:11:33 +08:00
parent 1436080fd6
commit ab60b35be2
20 changed files with 190 additions and 132 deletions

View File

@@ -1,14 +1,15 @@
using Convention;
using Demo.Game.ConfigType;
using System;
using System.Collections;
using System.IO;
using Convention;
using UnityEngine;
namespace Demo.Game
{
namespace ConfigType
{
public class BasicSplineJustFollowConfig : ScriptLoadableConfig
public class BasicSplineJustFollowConfig : UpdatementFloatConfig
{
public int MySplineCore;
public override void Deserialize(BinaryReader reader)
@@ -27,6 +28,10 @@ namespace Demo.Game
public abstract class BasicSplineJustFollow : Updatement<float>, IDependOnSplineCore
{
protected override ConfigType.ScriptLoadableConfig MakeConfig()
{
return new BasicSplineJustFollowConfig();
}
/// <summary>
/// 加载并绑定到新样条线
/// </summary>

View File

@@ -1,8 +1,4 @@
using Convention;
using Convention.WindowsUI.Variant;
using Demo.Game.Attr;
using Dreamteck.Splines;
using System.Collections;
using UnityEngine;
namespace Demo.Game

View File

@@ -1,9 +1,4 @@
using Convention;
using Convention.WindowsUI.Variant;
using Demo.Game.Attr;
using Dreamteck.Splines;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Demo.Game

View File

@@ -1,7 +1,4 @@
using Convention;
using Demo.Game.Attr;
using System;
using System.Collections;
using UnityEngine;
namespace Demo.Game