Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
TableData.cs
Go to the documentation of this file.
1using System;
2using System.Collections.Generic;
3using UnityEngine;
4
5public class TableData : ScriptableObject
6{
7 [Serializable]
8 public class Col
9 {
10 public List<string> rows = new List<string>();
11 }
12
13 public List<Col> cols;
14
15 public List<string> index;
16
17 public Dictionary<string, List<string>> map = new Dictionary<string, List<string>>();
18
19 public void Init()
20 {
21 for (int i = 0; i < index.Count; i++)
22 {
23 map.Add(index[i], cols[i].rows);
24 }
25 }
26}
List< string > rows
Definition: TableData.cs:10
List< string > index
Definition: TableData.cs:15
List< Col > cols
Definition: TableData.cs:13
Dictionary< string, List< string > > map
Definition: TableData.cs:17
void Init()
Definition: TableData.cs:19