Example #1
0
    public static void CreateMineralTableAssetFile()
    {
        MineralTable asset = CustomAssetUtility.CreateAsset <MineralTable>();

        asset.SheetName     = "AbyssMonsterTable";
        asset.WorksheetName = "MineralTable";
        EditorUtility.SetDirty(asset);
    }
Example #2
0
    void LoadMineralTable()
    {
        if (m_MineralTableData != null)
        {
            return;
        }

        m_MineralTableData = Resources.Load("Table/MineralTable") as MineralTable;
    }