SCRIPTING API / Multiplayer / ClientOnlyAttribute
ClientOnlyAttribute
Marks a script class that runs only where the game is presented (editor Play mode, game clients): cameras, input, UI, audio, effects. The dedicated server refuses to create it. Scripts without either attribute run everywhere; client-only engine calls made on the server return defaults and are reported once each.
Kindclass
NamespaceKroys.EngineScripting
Members0
Source
GameSession.csDECLARATION
Declaration
Namespace Kroys.EngineScripting.
Declaration
public sealed class ClientOnlyAttribute : Attribute
KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.