Example #1
0
        public static void SetItem(ProcessorHelper item)
        {
            try
            {
                _itemProcess = item;

                if (_itemProcess is GameProcessor)
                {
                    _typeItem = TypeItem.Game;
                }
                else
                {
                    OpenVrPleyerHelper VideoItem = item as OpenVrPleyerHelper;
                    _typeItem = VideoItem.Video.TypeItem.Value;
                }
            }
            catch (Exception ex)
            {
                App.SendException(ex);
            }
        }