public void ResetBoard() { validationIcon.sprite = null; RuleSettings rules = ScriptableObject.CreateInstance <RuleSettings>(); rules.levelData = "000000000000000000000000000000000000000000000000000000000000000000000000000000000"; rules.targetIndexes = new int[] { }; MainGameData data = new MainGameData { Ruleset = rules }; gameplay.ConfigureCreator(data); }