void OnValidate() { if (inputs == null || inputs.Length == 0) { inputs = new KntrlSelector[1]; inputs[0] = new KntrlSelector(); } for (int i = 0; i < inputs.Length; i++) { if (inputs[i] == null) { inputs[i] = new KntrlSelector(); } inputs[i].OnValidate(this); } selectedInput = _selectedInput; HandleVisualizers(); }