Exemple #1
0
    private void RegisterAllModules()
    {
        BagUIModule bagUIModule = new BagUIModule();

        bagUIModule.Load();

        ItemModule itemModule = new ItemModule();

        itemModule.Load();

        CharacterModule charaModule = new CharacterModule();

        charaModule.Load();

        CharacterModule characterModule = new CharacterModule();
        //.....add
    }
Exemple #2
0
 protected override void OnLoadData()
 {
     base.OnLoadData();
     _bagUIModule = ModuleManager.Instance.Get <BagUIModule>();
     SetData();
 }