21 lines
607 B
C#
21 lines
607 B
C#
using UnityEngine;
|
|
|
|
public class GlobalData : MonoSingleton<GlobalData>
|
|
{
|
|
private PositionType _position = PositionType.None;
|
|
private int _cameraIndex = 0;
|
|
private bool _isEstimationDebugMode = true;
|
|
|
|
public PositionType Position { get => _position; internal set => _position = value; }
|
|
|
|
public int CameraIndex { get => _cameraIndex; internal set => _cameraIndex = value; }
|
|
public bool IsEstimationPrintMode { get => _isEstimationDebugMode; internal set => _isEstimationDebugMode = value; }
|
|
}
|
|
|
|
public enum InputDeviceType
|
|
{
|
|
WebCamera,
|
|
USBCamera,
|
|
Video,
|
|
Pictures,
|
|
} |