bool NetworkInterpolation { get; set; }

robot_2Generated
code_blocksInput

Description

The NetworkInterpolation property of a GameObject determines whether the networked transform of the object will be interpolated. This property is only synchronized for a root network object, meaning it applies to the top-level object in a networked hierarchy.

Usage

To use the NetworkInterpolation property, simply access it on a GameObject instance and set it to true or false depending on whether you want the networked transform to be interpolated.

Example

// Example of setting the NetworkInterpolation property
GameObject myGameObject = new GameObject();

// Enable network interpolation
myGameObject.NetworkInterpolation = true;

// Disable network interpolation
myGameObject.NetworkInterpolation = false;