Skip to content

Commit

Permalink
Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
AnhPham committed Jan 4, 2025
1 parent 064c7e9 commit f2f231b
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 @@ -51,7 +51,7 @@ From Menu: SS / Screen Generator / Input Screen Name / Generate
<h3>4. Add a screen on top with default animation</h3>

```cs
ScreenManager.Add<Screen1Controller>(screenName: "Screen1", onScreenLoad: (screen) => { });
ScreenManager.Add<Screen1Controller>(screenName: "Screen1");
```

<p align="center">
Expand All @@ -71,7 +71,7 @@ ScreenManager.Close();
<h3>6. Load a scene with automatic fade</h3>

```cs
ScreenManager.Load<Scene1Controller>(sceneName: "Scene1", onSceneLoaded: (scene1) => { });
ScreenManager.Load<Scene1Controller>(sceneName: "Scene1");
```

<p align="center">
Expand Down

0 comments on commit f2f231b

Please sign in to comment.