Files
Studio/Assets/Scripts/ExternalExamples/AutoFactory/NeedsScanner.cs

19 lines
417 B
C#
Raw Normal View History

2025-03-28 09:06:47 +09:00
using System;
using System.Collections.Generic;
2025-05-21 10:10:30 +09:00
namespace Studio.Test
2025-03-28 09:06:47 +09:00
{
public abstract class NeedsScanner
{
protected List<FactoryNeeds> needs = new();
public event Action<NeedsScanner, List<FactoryNeeds>> onScanningComplete;
public abstract void Scanning();
protected void ScanningComplete()
{
onScanningComplete.Invoke(this, needs);
}
}
}