Skip to content
This repository was archived by the owner on Jul 23, 2025. It is now read-only.

Commit 34567c3

Browse files
LtdJorgejabbacakes
andauthored
Add C# syntax highlighting in playerobjects.md (#1434)
Co-authored-by: Amy Reeve <amy.reeve@unity3d.com>
1 parent 4442a3f commit 34567c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/basics/playerobjects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ If you're using `UnityEngine.InputSystem.PlayerInput` or `UnityEngine.PhysicsMod
1313

1414
You can disable these components in the **Inspector** view on the prefab itself, or disable them during `Awake` in one of your `NetworkBehaviour` components. Then you can enable the components only on the owner's instance using code like the example below:
1515

16-
```
16+
```csharp
1717
PlayerInput m_PlayerInput;
1818
private void Awake()
1919
{

0 commit comments

Comments
 (0)