private void Awake() { //Load Conversation Files Into Database StartCoroutine(DataMart.LoadAllDatabasesFromFile()); //Add Tab Bar Events LoadDatabaseButton.onClick.AddListener(delegate { StartCoroutine(DataMart.LoadAllDatabasesFromFile()); }); SaveDatabaseButton.onClick.AddListener(delegate { StartCoroutine(DataMart.SaveAllDatabasesToFile()); }); }
private void Start() { //Read files from streaming assets and populate DataMart databases. StartCoroutine(DataMart.LoadAllDatabasesFromFile()); }