Namespace: | Sirenix.OdinInspector |
Assembly: | Sirenix.OdinInspector.Attributes |
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
[Conditional("UNITY_EDITOR")]
public sealed class HideNetworkBehaviourFieldsAttribute : Attribute, _Attribute
The following example shows how to use this attribute.
[HideNetworkBehaviourFields]
public class MyComponent : NetworkBehaviour
{
// The "Network Channel" and "Network Send Interval" properties will not be shown for this component in the inspector
}
public HideNetworkBehaviourFieldsAttribute()