Files
Studio/Assets/Scripts/ExternalExamples/AutoFactory/NeedsScanner.cs
2025-05-21 12:10:38 +09:00

19 lines
417 B
C#

using System;
using System.Collections.Generic;
namespace Studio.Test
{
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);
}
}
}