Esempio n. 1
0
    private void OnEnable()
    {
        ABBuilderWindow.Init();
        mBuildingAnimFiles = new List <string>();
        mEnv = (PTRuntime)EditorPrefs.GetInt(ENVSTRING, 0);

        var files = Directory.GetFiles(BuildAnimDir, "*.txt", SearchOption.TopDirectoryOnly);

        mBuildingAnimFiles.AddRange(files);

        UpdateData();
    }