Table of Contents

Enum PredictionMode

Namespace
Coherence
Assembly
Coherence.Common.dll

PredictionMode is used to configure when bindings should apply or discard incoming network samples.

public enum PredictionMode

Fields

Always = 1

Prediction is turned on. Incoming network samples are never applied.

InputAuthority = 2

Prediction is turned on for entities with CoherenceSync.HasInputAuthority. This option is commonly used to enable prediction for the locally controlled player. This option is only valid for prefabs that use CoherenceInput.

Never = 0

Prediction is turned off. Incoming network samples are always applied. This is the default option.