soundvision/UnityProject/Assets/Scripts/VideoInput/ComponentFactory.cs

15 lines
317 B
C#
Raw Normal View History

namespace VideoInput
{
2019-07-07 07:39:46 +00:00
public class ComponentFactory
{
public IKinectSensor CreateKinectSensor()
{
return new KinectSensor(CreateInfraredCamera());
}
public IInfraredCamera CreateInfraredCamera()
{
return new InfraredCamera();
}
}
}