summaryrefslogtreecommitdiff
path: root/Assets/BOXOPHOBIC/Utils/Scripts/StyledInspector/StyledMessage.cs
blob: f75624e055942bb42f2a1a6215ceea6a0bed6137 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Cristian Pop - https://boxophobic.com/

using UnityEngine;

namespace Boxophobic.StyledGUI
{
    public class StyledMessage : PropertyAttribute
    {
        public string Type;
        public string Message;
        public float Top;
        public float Down;

        public StyledMessage(string Type, string Message)
        {
            this.Type = Type;
            this.Message = Message;
            this.Top = 0;
            this.Down = 0;
        }

        public StyledMessage(string Type, string Message, float Top, float Down)
        {
            this.Type = Type;
            this.Message = Message;
            this.Top = Top;
            this.Down = Down;
        }
    }
}