Skip to content

Commit

Permalink
fix: add gif in Unity docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
cwp0 committed Aug 21, 2023
1 parent 492a03d commit e3eab9b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/integration/C-Sharp/Unity.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,23 @@ Now you can import the `net462` folder into your Unity project through the metho
## Step3. Use `Casdoor.Client` SDK for Unity development

Learn how to use `Casdoor.Client` SDK for Unity 3D mobile development by looking at [casdoor-unity-example](https://github.com/casdoor/casdoor-unity-example).

## [casdoor-unity-example](https://github.com/casdoor/casdoor-unity-example)

### Quick Start
- download the code
- `git clone [email protected]:casdoor/casdoor-unity-example.git`
- Open the newly downloaded code in `Unity Hub` and run it.

### After running, you will see the following interfaces:
#### Login with username and password

| **iOS** | **Android** |
|:-------------------------------------------------------------------------------------------------------------------------:|:---------------------------------------------------------------------------------------------------------------------------------:|
| <img src="https://github.com/casdoor/casdoor-unity-example/blob/master/iOS-gif.gif?raw=true" alt="iOS-gif" width="250" /> | <img src="https://github.com/casdoor/casdoor-unity-example/blob/master/Android-gif.gif?raw=true" alt="Android-gif" width="250" /> |

#### Login with the casdoor web page

| **iOS** | **Android** |
|:---------------------------------------------------------------------------------------------------------------------------------:|:-----------------------------------------------------------------------------------------------------------------------------------------:|
| <img src="https://github.com/casdoor/casdoor-unity-example/blob/master/iOS-gif-web.gif?raw=true" alt="iOS-gif-web" width="250" /> | <img src="https://github.com/casdoor/casdoor-unity-example/blob/master/Android-gif-web.gif?raw=true" alt="Android-gif-web" width="250" /> |

0 comments on commit e3eab9b

Please sign in to comment.