Skip to content

QubitsDev/InspectorFoldoutGroup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

license

InspectorFoldoutGroup

Group variables in Unity 3d inspector with style!

https://gyazo.com/9f18eab9dfb123d928aecf7daa3e01da

https://gyazo.com/4e6566c2fca783e4cd557f95713a4ab5

How to use

Put attribute before variable and you are done !

[Foldout("DESIRED_NAME")]
  public class Player : MonoBehaviour
{
	[Foldout("Setup")] public Transform selfTransform;
	
	[Foldout("Data")] public int HP;
	[Foldout("Data")] public int AT;
 
}

About

Group variables in Unity 3d inspector with style!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%