예제 #1
0
        private void RenderAllButtons()
        {
            EditorGUILayoutEx.BeginHorizontalBox();
            int numberOfButtons = GetNumberOfButtons();

            for (int buttonIndex = 0; buttonIndex < numberOfButtons; ++buttonIndex)
            {
                RenderButton(buttonIndex);
            }
            EditorGUILayoutEx.EndHorizontalBox();
        }