docs: update readme
parent
907599c972
commit
0a9e694da2
40
README.md
40
README.md
|
|
@ -8,14 +8,17 @@ Reverse mask for uGUI element in Unity.
|
||||||
[](https://openupm.com/packages/com.coffee.unmask/)
|
[](https://openupm.com/packages/com.coffee.unmask/)
|
||||||
[](https://github.com/mob-sakai/UnmaskForUGUI/releases)
|
[](https://github.com/mob-sakai/UnmaskForUGUI/releases)
|
||||||
[](https://github.com/mob-sakai/UnmaskForUGUI/releases)
|
[](https://github.com/mob-sakai/UnmaskForUGUI/releases)
|
||||||
[](https://github.com/mob-sakai/UnmaskForUGUI/blob/upm/LICENSE.txt)
|
[](https://github.com/mob-sakai/UnmaskForUGUI/blob/main/LICENSE.txt)
|
||||||
[](http://makeapullrequest.com)
|
[](http://makeapullrequest.com)
|
||||||
[](https://twitter.com/intent/follow?screen_name=mob_sakai)
|
[](https://twitter.com/intent/follow?screen_name=mob_sakai)
|
||||||
|
|
||||||

|

|
||||||
|

|
||||||

|

|
||||||

|

|
||||||

|

|
||||||
|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
<< [Description](#description) | [WebGL Demo](#demo) | [Installation](#installation) | [Usage](#usage) | [Contributing](#contributing) >>
|
<< [Description](#description) | [WebGL Demo](#demo) | [Installation](#installation) | [Usage](#usage) | [Contributing](#contributing) >>
|
||||||
|
|
@ -54,8 +57,14 @@ Unmask provides the following features:
|
||||||
|
|
||||||
### Requirement
|
### Requirement
|
||||||
|
|
||||||
* Unity 5.5 or later
|

|
||||||
* Support 2017.x, 2018.x, 2019.x and 2020.x.
|

|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
### Using OpenUPM
|
### Using OpenUPM
|
||||||
|
|
||||||
|
|
@ -111,19 +120,12 @@ Open `UIUnmask_Demo` scene and play it.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
### Unmask
|
Create Object From Menu (`GameObject > UI > Unmask > ***`)
|
||||||
|
|
||||||
### UnmaskRaycastFilter
|
|Menu|Screenshot|
|
||||||
|
|--|--|
|
||||||
1. Add Unmask component to the UI element (Image, RawImage, Text, etc...) under Mask, from `Add Component` in inspector or `Component > UI > Unmask > Unmask` menu.
|
|Tutorial Button||
|
||||||
2. If you want to unmask the area of the button, follow the steps below:
|
|Iris Shot||
|
||||||
* Set the button to `Fit Target` in Unmask component.
|
|
||||||
* If the button moves with animation etc., enable `Fit On LateUpdate` in Unmask component.
|
|
||||||
* Add a UnmaskRaycastFilter component to UI element blocking ray.
|
|
||||||
* Set the Unmask to `Unmask` in UnmaskRaycastFilter component.
|
|
||||||
* Disable `RaycastTarget` of the UI elements, as necessary.
|
|
||||||

|
|
||||||
1. Enjoy!
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -136,7 +138,7 @@ Open `UIUnmask_Demo` scene and play it.
|
||||||
|Unmasked text|Black screen is cut out with unmasked text.||
|
|Unmasked text|Black screen is cut out with unmasked text.||
|
||||||
|Hole|Black screen is cut out with unmasked Image.||
|
|Hole|Black screen is cut out with unmasked Image.||
|
||||||
|Tutorial button|In tutorial, only specific button can be pressed.||
|
|Tutorial button|In tutorial, only specific button can be pressed.||
|
||||||
|Transition|Transition effect with silhouette.||
|
|Iris in/out|Transition effect with iris in/out.||
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -155,7 +157,7 @@ Issues are very valuable to this project.
|
||||||
### Pull Requests
|
### Pull Requests
|
||||||
|
|
||||||
Pull requests are, a great way to get your ideas into this repository.
|
Pull requests are, a great way to get your ideas into this repository.
|
||||||
See [CONTRIBUTING.md](/../../blob/upm/CONTRIBUTING.md) and [develop](https://github.com/mob-sakai/UnmaskForUGUI/tree/develop) branch..
|
See [CONTRIBUTING.md](/../../blob/main/CONTRIBUTING.md) and [develop](https://github.com/mob-sakai/UnmaskForUGUI/tree/develop) branch..
|
||||||
|
|
||||||
### Support
|
### Support
|
||||||
|
|
||||||
|
|
@ -190,4 +192,4 @@ With your support, I can spend more time on development. :)
|
||||||
* GitHub page : https://github.com/mob-sakai/UnmaskForUGUI
|
* GitHub page : https://github.com/mob-sakai/UnmaskForUGUI
|
||||||
* Releases : https://github.com/mob-sakai/UnmaskForUGUI/releases
|
* Releases : https://github.com/mob-sakai/UnmaskForUGUI/releases
|
||||||
* Issue tracker : https://github.com/mob-sakai/UnmaskForUGUI/issues
|
* Issue tracker : https://github.com/mob-sakai/UnmaskForUGUI/issues
|
||||||
* Change log : https://github.com/mob-sakai/UnmaskForUGUI/blob/upm/CHANGELOG.md
|
* Change log : https://github.com/mob-sakai/UnmaskForUGUI/blob/main/CHANGELOG.md
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue