A Utility class for IEnumerable sets of WFCProgress
public static class WFCProgressExtensionsInheritance System.Object 🡒 WFCProgressExtensions
RunAsCoroutine(IEnumerable<WFCProgress>, MonoBehaviour, float)
A method to run any WFC operation within a Unity Coroutine with frame time budgeting. This method will process as many elements in the WFC operation as possible in on frame, then yield a render frame, and continue the operation on the next frame.
This is the recommended way to run WFC operations in a realtime game.
This returns a WFCProgressObserver object which you can attach progress callbacks and inspect the running state.
RunAsImmediate(IEnumerable<WFCProgress>, Action<WFCProgress>)
Completely iterate through a WFC operation in one frame. Using this method will likely cause lag in your game, and it is only recommended for testing or advanced use.