-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Выносите ключ в отдельный json файл, который будет в gitignore
Assets/Scripts/MyAstraController.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MyAstraController : AstraController {
private void Awake()
{
Screen.SetResolution(720, 1280, true);
//Initilialize the camera
AstraUnityContext.Instance.Initialize();
//Set the new license key
//Key received on 06/12/2019
string licenseString = "КЛЮЧ";
Astra.BodyTracking.SetLicense(licenseString);
}
}
Metadata
Metadata
Assignees
Labels
No labels