GUIStyle mystyle = new GUIStyle("some string from the list below");
- "CN Box"
- "Button"
| // | |
| // Basic instrumentation profiler by Cherno | |
| // Usage: include this header file somewhere in your code (eg. precompiled header), and then use like: | |
| // | |
| // Instrumentor::Get().BeginSession("Session Name"); // Begin session | |
| // { | |
| // InstrumentationTimer timer("Profiled Scope Name"); // Place code like this in scopes you'd like to include in profiling | |
| // // Code | |
| // } |
| using UnityEngine; | |
| [HelpURL("http://unity3d.college")] | |
| [SelectionBase] | |
| public class MyClass : MonoBehaviour | |
| { | |
| [Header("Text Attributes")] | |
| [TextArea] | |
| [Tooltip("A string using the TextArea attribute")] | |
| [SerializeField] |