狗屎Minimax坏我代码

This commit is contained in:
SoulliesOfficial
2026-04-18 13:57:19 -04:00
parent 41140a2017
commit 7379583165
473 changed files with 34480 additions and 8069 deletions

View File

@@ -23,10 +23,24 @@ namespace Cielonos.MainGame.Characters.Inventory
public override void Initialize()
{
base.Initialize();
if (owner?.player != null)
_timeProvider = new CharacterFeedbackTimeProvider(owner.player);
}
public FeedbackData GetFeedbackData(string feedbackName)
{
if (feedbackDataCollection == null)
{
_timeProvider = new CharacterFeedbackTimeProvider(owner.player);
Debug.LogWarning($"[Item.FeedbackSubcontroller] feedbackDataCollection is null on {owner?.name}.");
return null;
}
if (!feedbackDataCollection.TryGet(feedbackName, out FeedbackData data))
{
Debug.LogWarning($"[Item.FeedbackSubcontroller] FeedbackData '{feedbackName}' not found on {owner?.name}.");
return null;
}
return data;
}
/// <summary>
@@ -109,7 +123,7 @@ namespace Cielonos.MainGame.Characters.Inventory
}
// 新系统驱动
float dt = Time.unscaledDeltaTime;
float dt = Time.deltaTime;
for (int i = _activePlayers.Count - 1; i >= 0; i--)
{
FeedbackPlayer player = _activePlayers[i];