示例#1
0
        protected virtual void DrawLogo()
        {
            IAPEditorStyles.init();

            EditorGUILayout.BeginVertical();

            //Update SerialObject
            serializedObject.Update();
            EditorGUI.BeginChangeCheck();

            EditorGUILayout.Space();
            EditorGUILayout.Space();

            /////////////////////////////////////////////////////////////////////////////////
            //// Logo
            EditorGUILayout.BeginHorizontal();            //IAPEditorStyles.logoBackground
            EditorGUILayout.LabelField(title, IAPEditorStyles.logoTitle, GUILayout.Height(30));
            EditorGUILayout.LabelField("", IAPEditorStyles.logo, GUILayout.Width(80), GUILayout.Height(30));
            EditorGUILayout.EndHorizontal();
            GUILayout.Box(GUIContent.none, GUILayout.ExpandWidth(true), GUILayout.Height(1));
            EditorGUILayout.Space();
            //// Logo
            /// /////////////////////////////////////////////////////////////////////////////////
        }
示例#2
0
        // Helpers

        protected virtual void InitEditor()
        {
            IAPEditorStyles.initImages(_editorPath);
        }