Skip to content
Group variables in Unity 3d inspector with style!
Branch: master
Clone or download

Latest commit

Pixeye Upgrade
Misc improvements
Namespace changed to Pixeye.Unity
Latest commit 3683e7f Jun 8, 2019


Type Name Latest commit message Commit time
Failed to load latest commit information.
Homebrew/DecorateFoldout Upgrade Jun 8, 2019
.gitignore Initial commit May 17, 2018
LICENSE Initial commit May 17, 2018

license Join the chat at


Group variables in Unity 3d inspector with style!

How to use

Put attribute before variable and you are done !

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

You don't need to write [Foldout] attribute each time! Instead, you can add "true" bool check afther naming to put all properties to the specified group

  public class Player : MonoBehaviour
	[Foldout("DATA OBJECT", true)] 
	public int hp;
	public int attack = 20;
	private GameObject self;
	[Foldout("DATA ATTACK")] 
	public int AT;

Other content

  • Tag filters - an extension to add foldable groups to the inspector.
  • ACTORS - Unity3d data-driven framework I'm currently working on.
You can’t perform that action at this time.