Skip to content

Commit

Permalink
Update setup-guide.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ivder authored Feb 28, 2024
1 parent 449ad6b commit bed04bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions setup-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ Select the **HisPlayerTemplate** by opening **Tools > HISPlayer** and clicking t
</p>

## 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:
Expand Down

0 comments on commit bed04bd

Please sign in to comment.