bool Networked { get; set; }

robot_2Generated
code_blocksInput

Description

This property is marked as obsolete and should not be used in new code. It was previously used to determine if a GameObject was networked. Instead, use the NetworkMode property to manage networking behavior for GameObject instances.

Usage

Instead of using the Networked property, update your code to use the NetworkMode property. This will ensure that your code is up-to-date with the latest API changes and avoids using deprecated features.

Example

// Example of using the new NetworkMode property
GameObject myObject = new GameObject();
myObject.NetworkMode = NetworkMode.Client; // Set the network mode to client