Skip to content

Commit 2455170

Browse files
authored
Update README.md
1 parent c72ed4f commit 2455170

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ Now you need to create an asset.
2323
```csharp
2424
using ToolBox.Loader;
2525

26-
public class Player : MonoBehaviour
27-
{
28-
private float _health = 0f;
26+
public class Player : MonoBehaviour
27+
{
28+
private float _health = 0f;
2929

30-
private void Awake()
31-
{
32-
_health = Storage.Get<PlayerConfig>().StartHealth;
33-
}
30+
private void Awake()
31+
{
32+
_health = Storage.Get<PlayerConfig>().StartHealth;
3433
}
34+
}
3535
```

0 commit comments

Comments
 (0)