if (UnityEditor.EditorApplication.isPlayingOrWillChangePlaymode) throw new System.InvalidOperationException("Idle Editor required"); var results = new System.Collections.Generic.Dictionary(); foreach (var name in new[] { "fishing-consume", "fishing-reward" }) { try { results[name] = await KVGameplayLoopSetup.RunValidationAsync(name); } catch (System.Exception ex) { results[name] = "FAILED: " + ex.ToString(); } } return new { consumption = results["fishing-consume"], reward = results["fishing-reward"], state=KVGameplayLoopSetup.State() };