ClientOnly
A class in Root.Township, Alta.Networking.
Turns a list of behaviours off on a dedicated server and on everywhere else (clients and local test), so client-only scripts never run server side.
- Listed in Networking and servers
- Inherits or implements
MonoBehaviour,IBuildRendererPostBake,IBuildBakeable - Documented in Entity sync
Constructors
| Member | What it is |
|---|---|
ClientOnly() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |