コード例 #1
0
ファイル: Editor.cs プロジェクト: youdevils/PixelOffice
    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()); });
    }
コード例 #2
0
 private void Start()
 {
     //Read files from streaming assets and populate DataMart databases.
     StartCoroutine(DataMart.LoadAllDatabasesFromFile());
 }