Skip to content

Commit

Permalink
modify readme
Browse files Browse the repository at this point in the history
  • Loading branch information
neuecc committed Feb 5, 2019
1 parent 1e618aa commit 136e605
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ If debugging, I recommend use [SwitchStartupProject](https://marketplace.visuals

It can step-in/out seamlessly in server and client.

for Unity, you can't share by DLL(because can't share `IServer<>` because it is different reference both Unity and Server), so I recommends use [Shared Project](https://docs.microsoft.com/en-us/xamarin/cross-platform/app-fundamentals/shared-projects), this techinique is for xamarin but it works for Unity. Project structure is like this.
for Unity, you can't share by DLL(because can't share `IServer<>` because it is different reference both Unity and Server), so I recommends use [Shared Project](https://docs.microsoft.com/en-us/xamarin/cross-platform/app-fundamentals/shared-projects), this technique is for xamarin but it works for Unity. Project structure is like this.
```
Server
Expand All @@ -468,7 +468,7 @@ Assembly.CSharp(Unity)
- ref ClientLib(by dll)
```

Alternatively, using the definition of the interface placed on the Unity side, if you use a reference as a link of csproj(or refer to the directory of .NET Core csproj), you can simply configure it.
Alternatively, using the definition of the interface placed on the Unity side, if you use a reference as a link of csproj(or refer to the directory, directory can link by `<Compile Include="target_dir", Link="your_path\%(RecursiveDir)%(FileName)%(Extension)">` to write csproj directly), you can simply configure it.

Hosting
---
Expand Down

0 comments on commit 136e605

Please sign in to comment.