public void DumpHierarchy(string title, int level) { if (title != "") { Console.WriteLine(title); } string str = ""; int num = level; while (num-- > 0) { str += " "; } Console.WriteLine(str + "name=" + base.name); str += " "; AudioMixerEffectController[] effects = this.effects; for (int i = 0; i < effects.Length; i++) { AudioMixerEffectController audioMixerEffectController = effects[i]; Console.WriteLine(str + "effect=" + audioMixerEffectController.ToString()); } AudioMixerGroupController[] children = this.children; for (int j = 0; j < children.Length; j++) { AudioMixerGroupController audioMixerGroupController = children[j]; audioMixerGroupController.DumpHierarchy("", level + 1); } }