拆分程序集,统一修改 Core 区域类的命名空间,暂不修复编译问题
This commit is contained in:
@@ -1,13 +1,7 @@
|
||||
//------------------------------------------------------------
|
||||
// Game Framework
|
||||
// Copyright © 2013-2021 Jiang Yin. All rights reserved.
|
||||
// Homepage: https://gameframework.cn/
|
||||
// Feedback: mailto:ellan@gameframework.cn
|
||||
//------------------------------------------------------------
|
||||
using GameFramework;
|
||||
using UnityGameFramework.Runtime;
|
||||
|
||||
using GameFramework;
|
||||
|
||||
namespace GeometryTD.CustomUtility
|
||||
namespace GeometryTD.Core
|
||||
{
|
||||
public static class AssetUtility
|
||||
{
|
||||
@@ -71,7 +65,7 @@ namespace GeometryTD.CustomUtility
|
||||
{
|
||||
return Utility.Text.Format("Assets/GameMain/Entities/LevelMap/Level{0}.prefab", assetName);
|
||||
}
|
||||
|
||||
|
||||
public static string GetTextureAsset(string assetName)
|
||||
{
|
||||
// Assets/GameMain/Textures/Capsule.png
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
using UnityGameFramework.Runtime;
|
||||
|
||||
namespace GeometryTD.CustomUtility
|
||||
namespace GeometryTD.Core
|
||||
{
|
||||
public static class EnumUtility<T> where T : struct, System.Enum
|
||||
{
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"reference": "GUID:771b79705393da244ae720aa28ae8a69"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3a5b030a696af2e4da175cc032ea0b91
|
||||
AssemblyDefinitionReferenceImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,9 +1,8 @@
|
||||
using GameFramework.DataTable;
|
||||
using GeometryTD.DataTable;
|
||||
using GeometryTD.Definition;
|
||||
using GeometryTD.Core;
|
||||
using UnityEngine;
|
||||
|
||||
namespace GeometryTD.CustomUtility
|
||||
namespace GeometryTD.Core
|
||||
{
|
||||
public static class IconColorGenerator
|
||||
{
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using System;
|
||||
using GeometryTD.Definition;
|
||||
using GeometryTD.Core;
|
||||
using UnityEngine;
|
||||
|
||||
namespace GeometryTD.CustomUtility
|
||||
namespace GeometryTD.Core
|
||||
{
|
||||
public static class InventoryCloneUtility
|
||||
{
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
using GeometryTD.Definition;
|
||||
using GeometryTD.Core;
|
||||
using UnityEngine;
|
||||
|
||||
namespace GeometryTD.CustomUtility
|
||||
namespace GeometryTD.Core
|
||||
{
|
||||
public static class InventoryParticipantUtility
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using GeometryTD.Definition;
|
||||
using GeometryTD.Core;
|
||||
|
||||
namespace GeometryTD.CustomUtility
|
||||
namespace GeometryTD.Core
|
||||
{
|
||||
public static class InventorySeedUtility
|
||||
{
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using GeometryTD.Definition;
|
||||
using GeometryTD.Core;
|
||||
|
||||
namespace GeometryTD.CustomUtility
|
||||
namespace GeometryTD.Core
|
||||
{
|
||||
public static class ItemDescUtility
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace GeometryTD.CustomUtility
|
||||
namespace GeometryTD.Core
|
||||
{
|
||||
/// <summary>
|
||||
/// Newtonsoft.Json 函数集辅助器。
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using GameFramework.DataTable;
|
||||
using GeometryTD.DataTable;
|
||||
using GeometryTD.Definition;
|
||||
using GeometryTD.Core;
|
||||
using UnityEngine;
|
||||
using Random = System.Random;
|
||||
|
||||
namespace GeometryTD.CustomUtility
|
||||
namespace GeometryTD.Core
|
||||
{
|
||||
public static class ShopPriceRuleService
|
||||
{
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
using GeometryTD.Definition;
|
||||
using GeometryTD.Core;
|
||||
using UnityEngine;
|
||||
|
||||
namespace GeometryTD.CustomUtility
|
||||
namespace GeometryTD.Core
|
||||
{
|
||||
public static class TowerComposedIconCacheUtility
|
||||
{
|
||||
|
||||
@@ -2,7 +2,7 @@ using System;
|
||||
using System.Globalization;
|
||||
using UnityEngine;
|
||||
|
||||
namespace GeometryTD.CustomUtility
|
||||
namespace GeometryTD.Core
|
||||
{
|
||||
public static class TowerIconComposeUtility
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
using System;
|
||||
|
||||
namespace GeometryTD.CustomUtility
|
||||
namespace GeometryTD.Core
|
||||
{
|
||||
public static class WebUtility
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user