-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Editor Attributes
Alexander Hunt edited this page May 5, 2019
·
7 revisions
The visual debugging unity plugin currently supports the following attributes:
-
[DontDrawComponent]
: You can use this attribute on acomponent
class
inheriting fromEntitas.IComponent
to hide acomponent
from theEntityInspector
window. The window which draws your component in the unity inspector and allows you to edit them during runtime.
The DontDrawComponent
attribute is located in the Entitas.VisualDebugging.Unity
namespace. In the example below this component is apart of the Game context and can be used just like any other component but it will not drawn in the unity inspector.
[Game, DontDrawComponent]
public class MyHiddenIntComponent : IComponent {
public int myInt;
}
Guides: Introduction - Installation - Upgrading - FAQ - Cookbook - Contributing
Need Help? Ask a question on Discord or create an issue.
- The Basics
- Concepts
- Architecture / Patterns