NetworkSkins.Data.SegmentDataManager.DeserializeActiveOptions C# (CSharp) Method

DeserializeActiveOptions() private method

private DeserializeActiveOptions ( ) : void
return void
        private void DeserializeActiveOptions()
        {
            var selectedData = serializableDataManager.LoadData(SelectedOptionsId);
            if (selectedData == null)
            {
                Debug.Log("Network Skins: No select options data found!");
                return;
            }

            try
            {
                using (var stream = new MemoryStream(selectedData))
                {
                    DataSerializer.Deserialize<OptionsData>(stream, DataSerializer.Mode.Memory);
                }

                Debug.LogFormat("Network Skins: Selected Options loaded (Data length: {0})", selectedData.Length);
            }
            catch (Exception e)
            {
                Debug.LogException(e);
                return;
            }
        }