From bed04bd08f64f722c7b8351a8a9acdb4602db2a5 Mon Sep 17 00:00:00 2001 From: Ivan Derianto <32887298+ivder@users.noreply.github.com> Date: Wed, 28 Feb 2024 11:41:13 +0100 Subject: [PATCH] Update setup-guide.md --- setup-guide.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup-guide.md b/setup-guide.md index 743bd9b..41e485a 100644 --- a/setup-guide.md +++ b/setup-guide.md @@ -51,6 +51,8 @@ Select the **HisPlayerTemplate** by opening **Tools > HISPlayer** and clicking t

## 2.1 Setup HISPlayer Manager +*You may skip this section if you are using [**HISPlayerSample**](./import-sample.md). The code set-up is already included in the sample script (HISPlayerSample.cs).* + Create a new script which will inherit from HISPlayerManager, for example, **WebGLStreamController** . It is necessary to add the ‘using HISPlayerAPI;’ dependancy. Then, add this component to a new game object (recommended to be empty). Call the SetUpPlayer() function in order to initialize the stream environment internally. This function can be called whenever it’s needed. For example, using the Awake function: