private void _InitOrbbecDevice()
    {
        _hasInit = false;

        OrbbecManager.CreateOrbbecManager(new OrbbecManagerParam()
        {
            IsTrackingSkeleton         = true,
            IsUseUserLabel             = true,
            IsUseUserImage             = true,
            OrbbecInitResourceCallBack = OnDeviceInit,
            OrbbecInitFailedCallBack   = OnInitFailed,
        });
    }
예제 #2
0
    // Use this for initialization
    void Start()
    {
        Param.OrbbecInitResourceCallBack += OnDeviceReady;

        OrbbecManager.CreateOrbbecManager(Param);
    }