blob: 43c01a310ab45c90ba0c7198683913d06aabef79 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using System.Collections;
using AdvancedInspector;
[AdvancedInspector]
public class AIExample25_Style : MonoBehaviour
{
// The Style attribute allows you to change the style that is used for drawing the field.
// See EditorStyles class for a number of style that are pickable by name.
// You can find the complete list here; http://kwnetzwelt.net/wordpress/archives/2200
[Inspect, Style("ToolbarTextField")]
public float myField;
[Inspect, Style("ToolbarButton")]
public void MyMethod()
{
myField++;
}
}
|