using UnityEngine; namespace BossRoom.Client { [RequireComponent(typeof(BossRoom.NetworkCharacterState))] public class ClientCharacter : MLAPI.NetworkedBehaviour { /// /// The Vizualization GameObject isn't in the same transform hierarchy as the object, but it registers itself here /// so that the visual GameObject can be found from a NetworkId. /// public BossRoom.Visual.ClientCharacterVisualization ChildVizObject { get; set; } public override void NetworkStart() { if (!IsClient) { this.enabled = false; } } } }