Skip to main content

Class NetworkedPrefabAttribute

Forces the user to provide a prefab that has a NetworkIdentity component and is registered. Also provides a fix button to fix the prefab if it hasn't been networked.

Inheritance
System.Object
Syntax
[AttributeUsage(AttributeTargets.Field)]
public sealed class NetworkedPrefabAttribute : PropertyAttribute