summaryrefslogtreecommitdiff
path: root/Assets/ThirdParty/AdvancedInspector/Examples/CSharp/AIExample16_Help.cs
blob: 16c0e122cd18b17f2135bc9c7c4c858b31e0e845 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using UnityEngine;
using System;
using System.Collections;

using AdvancedInspector;

[AdvancedInspector]
public class AIExample16_Help : MonoBehaviour 
{
    // "Help Box" is a bubble of information added before or after the inspected item.
    [Inspect, Help(HelpType.Info, "This is an help box")]
    public float myFirstField;

    // It is possible to control where the box appear, the default being after;
    [Inspect, Help(HelpType.Warning, HelpPosition.Before, "This box appear before the item.")]
    public float mySecondField;
}