You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
511 B

  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using UnityEngine.Networking;
  5. public static class TransportConfigure
  6. {
  7. public static int Reliable = 0;
  8. public static int ReliableFragmented = 1;
  9. public static ConnectionConfig CreateConfigure()
  10. {
  11. ConnectionConfig newConfigure = new ConnectionConfig();
  12. newConfigure.AddChannel(QosType.Reliable);
  13. newConfigure.AddChannel(QosType.ReliableFragmented);
  14. return newConfigure;
  15. }
  16. }