TippingGame / F8ExcelTool

Unity读取Excel工具,点击F8自动生成C#索引字段,能读取Excel导出的二进制文件,运行时读取Excel文件,支持Win/Android/iOS/Mac/Linux
MIT License
5 stars 1 forks source link

Has namespace error #2

Closed uiosun closed 10 months ago

uiosun commented 10 months ago
Library\PackageCache\com.tippinggame.f8exceltool@d4a8f7e597\Runtime\Excel\ReadExcel.cs(9,19): error CS0234: The type or namespace name 'Core' does not exist in the namespace 'F8Framework' (are you missing an assembly reference?)

Library\PackageCache\com.tippinggame.f8exceltool@d4a8f7e597\Runtime\Excel\ReadExcel.cs(31,30): error CS0246: The type or namespace name 'Singleton<>' could not be found (are you missing a using directive or an assembly reference?)
TippingGame commented 10 months ago

依赖这个核心->F8Framework:https://github.com/TippingGame/F8Framework.git

uiosun commented 10 months ago

继续测试,提示 F8DataManager.Instance.GetfasdffByID() 中,GetfasdffByID 方法不存在。

            F8DataManager.Instance.LoadAll(); // 加载所有配置
            ReadExcel.Instance.LoadAllExcelData(); // 运行时加载所有配置
            Debug.Log(F8DataManager.Instance.GetfasdffByID(115).name);
            foreach (var VARIABLE in F8DataManager.Instance.GetfasdffByID(113).llliststr)
            {
                foreach (var VARIABLE2 in VARIABLE)
                {
                    Debug.Log(VARIABLE2);
                }
            }
uiosun commented 10 months ago

懂了,竟然是 auto generate 出来的方法!