- Home /
How to add InfoBox to my class?
So i found this: Inspector.Decorations.InfoBoxAttribute but there are no comments in the library and it seems that there is no documentation for this Attribute. Does anyone know how to use it? What order and visibleCheck are? I tried
[Inspector.Decorations.InfoBox(1, "MyMessage")]
public int test;
and
[Inspector.Decorations.InfoBox(0, "MyMessage")]
public int test;
but none works. My class inherits after Monobehaviour ofcourse. I tried moving it over the class but error said it is only valid on field declarations.
Your answer
Follow this Question
Related Questions
Large serializable field in a MonoBehaviour causing poor performance in Inspector 1 Answer
Monobehaviour class variables not shown on inspector 2 Answers
Which function is called when i selected something on the Inspector? 0 Answers
Binding component with MonoBehaviour so they are added together by inspector's "Add Component". 1 Answer
Can i extend or customise editor for all MonoBehaviours? 3 Answers