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

19 lines
424 B
C#
Raw Normal View History

2025-03-28 09:06:47 +09:00
using System;
using System.Collections.Generic;
namespace XED.VirtualFactory
{
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);
}
}
}