Exemplo n.º 1
0
 private void InitializeGroupDescription()
 {
     foreach (InspectorItemRenderer renderer in renderers)
     {
         if (!string.IsNullOrEmpty(renderer.inspectorAttribute.groupDescription))
         {
             groups.SetGroupDescription(renderer.inspectorAttribute.group, renderer.inspectorAttribute.groupDescription);
         }
     }
 }
Exemplo n.º 2
0
        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);
                }
            }
        }