Skip to content

Commit

Permalink
Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
AnhPham committed Jan 9, 2025
1 parent bad64c4 commit f65bf10
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ ScreenManager.Close();

The screen fades out when hiding.
```cs
ScreenManager.Close(onScreenClosed: null, hideAnimation: ScreenAnimation.FadeHide);
ScreenManager.Close(hideAnimation: ScreenAnimation.FadeHide);
```

<h4>2.3. Custom Screen Animations: </h4>
Expand Down Expand Up @@ -183,6 +183,14 @@ ScreenManager.Add<Screen1Controller>(screenName: "Screen1", animationObjectName:
<img width="500px" src="/learn/unity/ss/advance/custom-animation-object.png?raw=true" alt="Demo">
</p>

<h4>2.5. Screen Animation Speed </h4>

In default, Screen Animation Speed is 1. You can change it.

```cs
ScreenManager.Set(screenAnimationSpeed: 1.5f);
```

<h3>3. Events</h3>

<h4>3.1. On Screen Loaded </h4>
Expand Down Expand Up @@ -523,4 +531,4 @@ This software is released under the MIT License.
You are free to use it within the scope of the license.
However, the following copyright and license notices are required for use.

https://github.com/AnhPham/Simple-Screen-Manager-for-Unity-aka-SS?tab=MIT-1-ov-file
https://github.com/AnhPham/Simple-Screen-Manager-for-Unity-aka-SS?tab=MIT-1-ov-file

0 comments on commit f65bf10

Please sign in to comment.