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

19 lines
427 B
C#
Raw Normal View History

2025-03-28 09:06:47 +09:00
using System;
using System.Collections.Generic;
2025-05-20 16:25:58 +09:00
namespace Studio.VirtualFactory
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);
}
}
}