csharpunity.html 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <HTML>
  2. <HEAD>
  3. <TITLE>C# and Unity Manual</TITLE>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5. </HEAD>
  6. <link href="RaknetManual.css" rel="stylesheet" type="text/css">
  7. <meta name="title" content="RakNet - Advanced multiplayer game networking API">
  8. </HEAD><BODY BGCOLOR="#ffffff" LINK="#003399" vlink="#003399" alink="#003399" LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0"">
  9. <span style="background-color: rgb(255, 255, 255);"><img src="RakNet_Icon_Final-copy.jpg" alt="Oculus VR, Inc." width="150" height="150"></span><BR>
  10. <BR>
  11. <table width="100%" border="0">
  12. <tr>
  13. <td bgcolor="#2c5d92" class="RakNetWhiteHeader">&nbsp;C# and Unity</td>
  14. </tr>
  15. </table>
  16. <TABLE BORDER="0" CELLPADDING="10" CELLSPACING="0" WIDTH="100%">
  17. <TR>
  18. <TD><p><span class="RakNetBlueHeader">More sophisticated networking when using Unity</span><BR>
  19. </p>
  20. <p><a href="http://unity3d.com/">Unity</a> uses RakNet version <a href="http://www.raknet.net/raknet/downloads/RakNet-3.731.zip">3.731</a>, which should also be network compatible with <a href="http://www.raknet.net/raknet/downloads/RakNet-3.732.zip">3.732</a>. In order to use RakNet with Unity, you do not have to download RakNet or sign a license agreement, as Unity ships RakNet integrated into the binary code already.</p>
  21. <p>If you want more sophisticated networking, such as being able to run your own server, more efficient network communication for an MMO, or to otherwise modify or extend the networking of Unity you can use RakNet version 4.x, which has <a href="swigtutorial.html">C# support</a>. Unity allows you to write game code in C#, therefore you would be able to use write your own network code using RakNet directly and have full access to its feature set.</p>
  22. <p>Unity users do not have access RakNet 4.x. So it is necessary to <a href="http://www.raknet.net/contact.html">contact us</a> for a license when planning to make this upgrade.</p>
  23. <B>Version 4 improvements over RakNet bundled with Unity</B>
  24. <UL>
  25. <LI>Support for C# via SWIG
  26. <LI>Support for XBOX / PS3 / Windows Phone 8 / Windows Store 8
  27. <LI>Faster autopatcher
  28. <LI>NAT punchthrough now more likely to work, and we host it for you
  29. <LI>Hosted master server http://masterserver2.raknet.com/
  30. <LI>IPV6 support
  31. <LI>Better congestion control
  32. <LI>Better HTTP support
  33. <LI>TeamManager class, to automatically manage players across teams
  34. <LI>StatisticsHistory class
  35. <LI>HTTP Based lobby3 system, supporting leaderboards, achievements, friends, clans, etc.
  36. </UL>
  37. <p>&nbsp;</p></TR>
  38. </TABLE>
  39. <table width="100%" border="0">
  40. <tr>
  41. <td bgcolor="#2c5d92" class="RakNetWhiteHeader"><img src="spacer.gif" width="8" height="1">See Also</td>
  42. </tr>
  43. </table>
  44. <TABLE BORDER="0" CELLPADDING="10" CELLSPACING="0" WIDTH="100%">
  45. <TR>
  46. <TD> <A HREF="index.html">Index</A><BR>
  47. <a href="swigtutorial.html">SWIG Tutorial</a></TD>
  48. </TR>
  49. </TABLE></TD>
  50. </TR></TABLE>
  51. </BODY>
  52. </HTML>
粤ICP备19079148号