Skip to content

Commit

Permalink
Update setup-guide.md
Browse files Browse the repository at this point in the history
  • Loading branch information
StAincrad committed Apr 10, 2024
1 parent 83c8878 commit 6850173
Showing 1 changed file with 32 additions and 3 deletions.
35 changes: 32 additions & 3 deletions setup-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,44 @@ Getting started with HISPlayer consists of implementing the following steps:

It's also possible to import the [HISPlayer Sample](https://hisplayer.github.io/UnityiOS-SDK/#/import-sample) after completing step 1. The sample is a comprehensive example scene using the HISPlayerSDK to help demonstrate features like play, pause, seek, etc.

## 1.1 Import Package
Importing the package is the same as importing other normal packages in Unity. Select the package of HISPlayer SDK and import it.
## 1.1 Import package

### <ins> HISPlayer SDK versions above 3.4.0</ins>

Please, keep in mind the _HISPlayer Sample_ is included in the _HISPlayer SDK Unity Package_.

Importing the package is the same as importing other normal packages in Unity.
Select the package of _HISPlayer SDK_ and import it.

**Assets > Import Package > Custom Package > HISPlayerSDK unity package**

Refer to [HISPlayer Sample]() to know more about the HISPlayer Sample.

<p align="center">
<img width=70% src="https://github.com/HISPlayer/UnityAndroid-SDK/assets/47497948/c8ff9e55-524e-48f1-a323-95b00aa5c6c7">
</p>

In the case you don't want to include the HISPlayer Sample, please disable it from the _Import Unity Package_ window.

<p align="center">
<img width=60% src="https://github.com/HISPlayer/UnityAndroid-SDK/assets/47497948/e9cb3d17-8adf-490f-b910-46dff943c870">
</p>

### <ins> HISPlayer SDK versions below 3.4.0</ins>

Importing the package is the same as importing other normal packages in Unity.
Select the package of HISPlayer SDK and import it.

**Assets > Import Package > Custom Package > HISPlayerSDK unity package**

Only the SDK will be imported using HISPlayer SDK versions lower than 3.4.0.
Refer to [HISPlayer Sample]() to know more about the _HISPlayer Sample_.

<p align="center">
<img src="./assets/import-package.png">
<img width=70% src="https://github.com/HISPlayer/UnityAndroid-SDK/assets/47497948/7c52ba95-4420-4db3-972d-77930ce5cb9f">
</p>

<br>

## 1.2 Configure Unity for iOS
Open the window **Tools > HISPlayer** located in the upper side of the screen > Click on Player Settings Configuration > Select Build Target to iOS > Set all the required settings.
Expand Down

0 comments on commit 6850173

Please sign in to comment.