mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
76b75dbb9b
* Documentation Outline * Spacing adjustments * Captured old wiki content * yml fix * Docs work * resize images * Replaced images * Removed md from links * Renamed Misty to Fizzy * Captured Unity docs * links cleanup * clear links * Cleanup and moved NetworkBehavior to Classes. * added slashes to yml paths * reverted slashes * Fixes bad link * Update Ignorance.md This should be enough documentation for now, yeah? * Localized images * Update Ignorance.md formatting updates * Lots of Cleanup * fix link * Formatting * fix code blocks * Lots of content and cleanup * fixed yml * Added blank line * Added spaces in titles * tightened bullets * Fixed bullet spacing * Fixed more bullets * unbolded content * Cleanup and removal of empty pages Updated README with links to docs pages * Restored prior version * Contributing * Improvements to content * lower case fix * fix link * renamed Contributions * fixed link * home page content * Fixed Encoding * Moved Why TCP * Replaced Unity with Mirror * Telepathy Description * changed to h2 * Moved Sample down * Removed dead links * Copied Contributions Added Test Fixed h3's * Fixed headings * added to Test * Fixed image alts and links * fixed last alt
56 lines
1.4 KiB
Markdown
56 lines
1.4 KiB
Markdown
# Heading 1
|
|
|
|
## Heading 2
|
|
|
|
### Heading 3
|
|
|
|
#### Heading 4
|
|
|
|
##### Heading 5
|
|
|
|
Lorem ipsum dolor sit amet, consectetur *adipiscing elit, sed do eiusmod tempor* incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. **Duis aute irure** dolor in [^1] in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
|
|
[^1]: reprehenderit: Footnote
|
|
|
|
![Pong](Samples/Pong1.jpg)
|
|
|
|
- Bullet
|
|
- Bullet
|
|
|
|
1. One
|
|
2. Two
|
|
3. Three
|
|
|
|
| Name | Color |
|
|
|-------|--------|
|
|
| Apple | Red |
|
|
| Peach | Orange |
|
|
|
|
```cs
|
|
using System;
|
|
using UnityEngine;
|
|
|
|
namespace Mirror
|
|
{
|
|
// sending messages on this connection causes the client's handler function to be invoked directly
|
|
class ULocalConnectionToClient : NetworkConnection
|
|
{
|
|
LocalClient m_LocalClient;
|
|
|
|
public LocalClient localClient { get { return m_LocalClient; } }
|
|
|
|
public ULocalConnectionToClient(LocalClient localClient)
|
|
{
|
|
address = "localClient";
|
|
m_LocalClient = localClient;
|
|
}
|
|
|
|
protected override bool SendBytes(byte[] bytes, int channelId = Channels.DefaultReliable)
|
|
{
|
|
m_LocalClient.InvokeBytesOnClient(bytes);
|
|
return true;
|
|
}
|
|
}
|
|
}
|
|
```
|