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.

namespace Sirenix.OdinInspector
[AttributeUsageAttribute((AttributeTargets)4, AllowMultiple = False, Inherited = True)]
public sealed class HideNetworkBehaviourFieldsAttribute : Attribute


Namespace: Sirenix.OdinInspector
Assembly: Sirenix.OdinInspector

See Also

  • Attribute


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