aswi2021virtual-surreality-gitlab/deltarobot-vr/Assets/DeltaRobotVr/Components/MainScene.cs @ bd9a601b
1 |
using UnityEngine; |
---|---|
2 |
|
3 |
namespace DeltaRobotVr.Components |
4 |
{
|
5 |
|
6 |
/// <summary>
|
7 |
/// Global script for the main scene.
|
8 |
/// </summary>
|
9 |
public class MainScene : MonoBehaviour |
10 |
{
|
11 |
private void Start() |
12 |
{
|
13 |
Client.Instance.Start(); |
14 |
}
|
15 |
|
16 |
private void OnDestroy() |
17 |
{
|
18 |
Client.Instance.Stop(); |
19 |
}
|
20 |
}
|
21 |
}
|