void OnEnable()
    {
        m_currentSelectIndex = 0;
        EditorGUIStyleData.Init();

        FindAllConfigName();
    }
Exemple #2
0
    void OnEnable()
    {
        EditorGUIStyleData.Init();
#if USE_LUA
        LoadLuaConfig();
#endif
    }
Exemple #3
0
    private void OnGUI()
    {
        titleContent.text = "反射查看器";

        EditorGUIStyleData.Init();

        MainGUI();
    }
Exemple #4
0
    void OnEnable()
    {
        m_currentSelectIndex = 0;
        EditorGUIStyleData.Init();

        FindAllDataName();
        LoadEditorConfig();
        LoadLanguageConfig();
    }
    void OnEnable()
    {
        //ConvertUtf8();

        m_currentSelectIndex = 0;
        EditorGUIStyleData.Init();

        FindAllDataName();
    }
Exemple #6
0
    void OnEnable()
    {
        ResourcesConfigManager.Initialize();
        EditorGUIStyleData.Init();
        m_currentSchemeData  = SDKManager.LoadGameSchemeConfig();
        m_currentSelectIndex = GetCurrentSelectIndex();

        CreateReadMe();
    }
    void OnEnable()
    {
        //if (!Application.isPlaying)
        //{
        m_currentSelectIndex = 0;
        EditorGUIStyleData.Init();

        FindAllDataName();
        //}
    }
    void OnEnable()
    {
        //Debug.Log("初始化");
        EditorGUIStyleData.Init();

        LoadAndAnalysisJson();
        AnalysisVersionFile();
        UpdateRelyPackageNames();

        ArrangeBundlesByLayer();
    }
    void OnEnable()
    {
        ResourcesConfigManager.Initialize();

        m_currentSelectIndex = 0;
        EditorGUIStyleData.Init();

        FindAllDataName();
        LoadEditorConfig();
        LoadConfig();
    }
    void OnEnable()
    {
        //ResourcesConfigManager.Initialize();
        EditorGUIStyleData.Init();
        SchemeDataService.ReloadEditorSchemeData();
        m_currentSchemeData  = SDKManager.LoadGameSchemeConfig();
        m_currentSelectIndex = GetCurrentSelectIndex();
        LoadSchemeData(m_currentSchemeData);

        CreateReadMe();
    }
    void OnEnable()
    {
        m_filePath = Application.dataPath + "/SDKPath";

        ResourcesConfigManager.Initialize();
        EditorGUIStyleData.Init();

        LoadSchemeConfig();

        CreateSDKFile();
    }
Exemple #12
0
    void OnEnable()
    {
        EditorGUIStyleData.Init();
        GameObject uiManager = GameObject.Find("UIManager");

        if (uiManager)
        {
            m_UILayerManager = uiManager.GetComponent <UILayerManager>();
        }

        FindAllUI();
    }
    void OnEnable()
    {
        EditorGUIStyleData.Init();

        m_NoPackagekFile.Clear();
#if UNITY_WEBGL
        m_NoPackagekFile.Add(HotUpdateManager.c_versionFileName);
        m_NoPackagekFile.Add(ResourcesConfigManager.c_ManifestFileName);
#endif

        LoadAndAnalysisJson();
        UpdateRelyPackageNames();
        ArrangeBundlesByLayer();
    }
Exemple #14
0
    void OnEnable()
    {
        EditorGUIStyleData.Init();

        GlobalEvent.AddTypeEvent <SyncEntityMsg>(ReceviceSyncEntity);
        GlobalEvent.AddTypeEvent <PursueMsg>(RecevicePursueMsg);
        GlobalEvent.AddTypeEvent <ChangeSingletonComponentMsg>(ReceviceChangeSingletonCompMsg);
        GlobalEvent.AddTypeEvent <StartSyncMsg>(ReceviceStartSyncMsg);
        GlobalEvent.AddTypeEvent <AffirmMsg>(ReceviceAffirmMsg);
        GlobalEvent.AddTypeEvent <CommandComponent>(ReceviceCommandMsg);

        GlobalEvent.AddEvent(SyncDebugSystem.c_isAllMessage, ReceviceAllMsg);
        GlobalEvent.AddEvent(SyncDebugSystem.c_isConflict, ReceviceConflict);
        GlobalEvent.AddEvent(SyncDebugSystem.c_Recalc, ReceviceRecalc);
    }
    void OnEnable()
    {
        ResourcesConfigManager.Initialize();

        m_currentSelectIndex = 0;
        EditorGUIStyleData.Init();

        FindAllDataName();
        LoadEditorConfig();
        LoadConfig();

        configFileNames.Clear();
        string m_directoryPath = Application.dataPath + "/Resources/" + DataManager.c_directoryName;

        configFileNames.AddRange(PathUtils.GetDirectoryFileNames(m_directoryPath, new string[] { ".txt" }, false, false));
    }
Exemple #16
0
    void OnEnable()
    {
        EditorGUIStyleData.Init();

        FindAllDataName();
        langKeys = LanguageDataEditorUtils.GetLanguageLayersKeyList();

        if (!string.IsNullOrEmpty(chooseFileName))
        {
            LoadData(chooseFileName);
        }

        configFileNames.Clear();
        string m_directoryPath = Application.dataPath + "/Resources/" + DataManager.c_directoryName;

        configFileNames.AddRange(PathUtils.GetDirectoryFileNames(m_directoryPath, new string[] { ".txt" }, false, false));
    }
    void OnEnable()
    {
        GameOptionService.Init();

        EditorGUIStyleData.Init();
        data = DataManager.GetData(c_dataName);

        m_poemTypes.Clear();
        m_difficultyLevels.Clear();
        DataTable DifficultyData = DataManager.GetData("DifficultyData");
        DataTable poemTypesData  = DataManager.GetData("PoemTypeData");

        for (int i = 0; i < poemTypesData.TableIDs.Count; i++)
        {
            m_poemTypes.Add(poemTypesData.TableIDs[i]);
        }

        for (int i = 0; i < DifficultyData.TableIDs.Count; i++)
        {
            m_difficultyLevels.Add(DifficultyData.TableIDs[i]);
        }
    }
    private void Init()
    {
        win = this;
        ResourcesConfigManager.Initialize();

        m_currentSelectIndex = 0;
        EditorGUIStyleData.Init();

        FindAllDataName();
        LoadEditorConfig();
        LoadConfig();

        if (treeViewState == null)
        {
            treeViewState = new TreeViewState();
        }

        treeView = new FolderTreeView(treeViewState);

        treeView.SetData(s_languageFullKeyList);
        treeView.dblclickItemCallBack = ModuleFileDblclickItemCallBack;
        treeView.selectCallBack       = ModuleFileFolderSelectCallBack;
    }
Exemple #19
0
 private void OnEnable()
 {
     EditorGUIStyleData.Init();
     GUI.FocusControl("Search");
 }
Exemple #20
0
 void OnEnable()
 {
     EditorGUIStyleData.Init();
 }
Exemple #21
0
    public void OnEnable()
    {
        EditorGUIStyleData.Init();

        FindAllUITemplate();
    }
Exemple #22
0
 void OnEnable()
 {
     EditorGUIStyleData.Init();
     LoadLuaConfig();
 }