Esempio n. 1
0
        public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
        {
            a = (StyledBanner)attribute;

            var bannerColor = new Color(a.colorR, a.colorG, a.colorB);

            StyledGUI.DrawInspectorBanner(bannerColor, a.title, a.helpURL);
        }
Esempio n. 2
0
        public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
        {
            a = (StyledBanner)attribute;

            DrawBanner();
        }