summaryrefslogtreecommitdiff
path: root/Assets/ThirdParty/AdvancedInspector/Examples/CSharp/AIExample33_Title.cs
blob: 44a426504f804dc1327645b6aeff189af44bf73c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using UnityEngine;
using AdvancedInspector;

[AdvancedInspector]
public class AIExample33_Title : MonoBehaviour
{
    [SerializeField]
    private int value = 10;

    // Title is similar to Unity header, but it can be place on method and properties.
    [Inspect, Title(FontStyle.Bold, "This is a line.\nThis is another line.")]
    public int Value
    {
        get { return value; }
    }
}