Skip to content

Latest commit

 

History

History
58 lines (37 loc) · 2.25 KB

update-the-sdk.md

File metadata and controls

58 lines (37 loc) · 2.25 KB

Update the SDK

Through this guide, you will be introduced how to update the SDK if you already have installed the SDK previously. Please, restart the Editor before continuing.

Remove Old Package

Remove the previous HISPlayer SDK package from Unity Package Manager

Window > Package Manager > Packages - HISPlayer > HISPlayer SDK > Remove

Remove


Import New package

Importing the new 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.unitypackage


Configure Unity for WebGL

Open the window Tools > HISPlayer located in the upper side of the screen > Click on Player Settings Configuration > Select Build Target to WebGL > Set all the required settings.

image

Copy the WebGLTemplates folder from the HISPlayer package folder into the Unity Assets folder.

image image

Select the HisPlayerTemplate by opening Tools > HISPlayer and clicking the on Use WebGL HISPlayer Template:

image

Update License Key

If you received a license key from HISPlayer, please input the license key in the License Key field.

image

If the license key is not valid, the player won’t work and will throw an error message. License key is not required for Unity Editor usage.