Odin has a dedicated attribute overview with examples

HideNetworkBehaviourFieldsAttribute class

Namespace: Sirenix.OdinInspector
Assembly: Sirenix.OdinInspector.Attributes
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public sealed class HideNetworkBehaviourFieldsAttribute : Attribute, _Attribute
Apply HideNetworkBehaviourFields to your class to prevent the special "Network Channel" and "Network Send Interval" properties from being shown in the inspector for a NetworkBehaviour. This attribute has no effect on classes that are not derived from NetworkBehaviour.
  • System.Object
  • System.Attribute
  • HideNetworkBehaviourFieldsAttribute

The following example shows how to use this attribute.

public class MyComponent : NetworkBehaviour
    // The "Network Channel" and "Network Send Interval" properties will not be shown for this component in the inspector
See Also
  • System.Attribute


public HideNetworkBehaviourFieldsAttribute()