Update migratingtonetcode.md (#322)
Co-authored-by: Brian Coughlin <brian.coughlin@unity3d.com> Co-authored-by: Briancoughlin <76997526+Briancoughlin@users.noreply.github.com>
This commit is contained in:
Родитель
0b643f37c3
Коммит
060d7bd92f
|
@ -117,7 +117,7 @@ public class MyUnetClass : NetworkBehaviour
|
|||
<TabItem value="tab2">
|
||||
|
||||
```csharp
|
||||
public class MyMLAPIExample : NetworkBehaviour
|
||||
public class MyNetcodeExample : NetworkBehaviour
|
||||
{
|
||||
public NetworkVariable<float> MyNetworkVariable = new NetworkVariable<float>();
|
||||
public override void OnNetworkSpawn()
|
||||
|
|
Загрузка…
Ссылка в новой задаче