public bool wrapping = true; //This handles wrapping elements from the array. if they are wrapping, then edge elements will select items from the other side of the array. //Turning wrapping off decreases solve rate. //will need an editor button to run the script // Start is called before the first frame update public void Run() { WFCHumbleObject wfcHelper = new WFCHumbleObject(InputMap, outputMap, outputArraySize, wrapping); wfcHelper.RunWFC(); }
public void WFCTestsSimplePasses() { bool result = wfc.RunWFC(); Assert.IsTrue(result); }