Example #1
0
        public MainWindow()
        {
            InitializeComponent();

            SoundList.ItemsSource = sounds;

            List <SoundStore> sndStores = SerializeManager.Load <List <SoundStore> >();

            foreach (SoundStore sndStore in sndStores)
            {
                sounds.Add(sndStore.Export());
            }
        }
Example #2
0
    public void Read(string path)
    {
        if (!File.Exists(path))
        {
            return;
        }

        string        json = SerializeManager.Load(path);
        DataArrowList data = JsonUtility.FromJson <DataArrowList>(json);

        if (data == null)
        {
            return;
        }

        // foreach (DataArrow d in data.listData)
        // {
        //     Debug.Log("Time Stamp " + d.timestamp);
        // }
    }