private void InitializeGroupDescription() { foreach (InspectorItemRenderer renderer in renderers) { if (!string.IsNullOrEmpty(renderer.inspectorAttribute.groupDescription)) { groups.SetGroupDescription(renderer.inspectorAttribute.group, renderer.inspectorAttribute.groupDescription); } } }
private void InitializeGroupDescription() { if (renderers == null) { Debug.LogError("InitializeRenderersList should be called before InitializeGroupDescription since group description" + " is described in renderers attributes"); } foreach (InspectorItemRenderer renderer in renderers) { if (!string.IsNullOrEmpty(renderer.inspectorAttribute.groupDescription)) { groups.SetGroupDescription(renderer.inspectorAttribute.group, renderer.inspectorAttribute.groupDescription); } } }