Esempio n. 1
0
        private void SetEndLayout(FullObjectDecoratedRenderer subRenderer)
        {
            if (subRenderer.horizontalLayout == HorizontalLayout.EndHorizontal)
            {
                EditorGUILayout.EndHorizontal();
                currentLayoutIsHorizontal = false;
            }

            if (subRenderer.verticalLayout == VerticalLayout.EndVertical)
            {
                EditorGUILayout.EndVertical();
            }
        }
Esempio n. 2
0
        private void SetBeginLayout(FullObjectDecoratedRenderer subRenderer)
        {
            if (subRenderer.horizontalLayout == HorizontalLayout.BeginHorizontal)
            {
                EditorGUILayout.BeginHorizontal();
                currentLayoutIsHorizontal = true;
            }

            if (subRenderer.verticalLayout == VerticalLayout.BeginVertical)
            {
                EditorGUILayout.BeginVertical();
            }
        }
Esempio n. 3
0
 private void SetEndLayout(FullObjectDecoratedRenderer subRenderer)
 {
     if(subRenderer.horizontalLayout == HorizontalLayout.EndHorizontal)
     {
         EditorGUILayout.EndHorizontal();
         currentLayoutIsHorizontal = false;
     }
     
     if(subRenderer.verticalLayout == VerticalLayout.EndVertical)
     {
         EditorGUILayout.EndVertical();
     }
 }
Esempio n. 4
0
 private void SetBeginLayout(FullObjectDecoratedRenderer subRenderer)
 {
     if(subRenderer.horizontalLayout == HorizontalLayout.BeginHorizontal)
     {
         EditorGUILayout.BeginHorizontal();
         currentLayoutIsHorizontal = true;
     }
     
     if(subRenderer.verticalLayout == VerticalLayout.BeginVertical)
     {
         EditorGUILayout.BeginVertical();
     }
 }