Esempio n. 1
0
    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()); });
    }
Esempio n. 2
0
 private void Start()
 {
     //Read files from streaming assets and populate DataMart databases.
     StartCoroutine(DataMart.LoadAllDatabasesFromFile());
 }