HideComponentInInspector

  06. Attributes No Comments

When added before a component class causes the component to be hidden inside the inspector view.

Attribute Target

Component class

Example

using UnityEngine;
using Sisus.Attributes;

[HideComponentInInspector]
public class MyHiddenComponent : MonoBehaviour
{
	void Start()
	{
		Debug.Log("You can't see me!", this);
	}
}

Example Result