soundvision/UnityProject/Assets/Scripts/VideoInput/KinectManagerBehaviour.cs
Chikashi Miyama 15ed32aea0 fix namespace
2019-10-31 10:43:47 +01:00

22 lines
442 B
C#

using UnityEngine;
namespace cylvester
{
public class KinectManagerBehaviour : MonoBehaviour
{
public IKinectSensor KinectSensor { get; private set; }
private void Awake()
{
var componentFactory = new ComponentFactory();
KinectSensor = componentFactory.CreateKinectSensor();
}
private void Update()
{
KinectSensor.Update();
}
}
}