public static void WriteUri(this NetworkWriter writer, Uri uri) { writer.WriteString(uri.ToString()); }
protected override void SerializeItem(NetworkWriter writer, string item) => writer.WriteString(item);
public override void Serialize(NetworkWriter writer) { writer.WriteString(value); }
public void Serialize(NetworkWriter writer) { writer.WriteString(sceneName); writer.WriteByte((byte)sceneOperation); }
public void Serialize(NetworkWriter writer) { writer.WriteString(sceneName); writer.WriteByte((byte)sceneOperation); writer.WriteBoolean(customHandling); }
public void Serialize(NetworkWriter writer) { writer.WriteString(sceneName); writer.WriteByte((byte)sceneMode); writer.WriteByte((byte)physicsMode); }
public override bool OnSerialize(NetworkWriter writer, bool initialState) { writer.WriteString(value); return(true); }