(client) chore:支持unity的方式加载资源,调整文件名与定义的分布

This commit is contained in:
m0_75251201
2025-08-07 14:20:58 +08:00
parent 6a222d82b2
commit 17d09a8435
93 changed files with 5267 additions and 90 deletions

View File

@ -0,0 +1,7 @@
namespace Data
{
public class AffiliationDef : Define
{
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: bdca0abb717148269b84fe8884ebbf02
timeCreated: 1754545405

View File

@ -1,25 +1,9 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
namespace Data
{
public class PawnDef : Define
{
public AttributesDef attributes;
public DrawingOrderDef drawingOrder;
public BehaviorTreeDef behaviorTree;
public string affiliation;
}
public class MonsterDef:PawnDef
{
}
public class BehaviorTreeDef : Define
{
public BehaviorTreeDef[] childTree;
@ -53,8 +37,4 @@ namespace Data
}
}
public class AffiliationDef : Define
{
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 8513d8eee75e4b9f92179e29f88221b3
timeCreated: 1754545380

View File

@ -2,6 +2,6 @@ namespace Data
{
public class BuildingDef:PawnDef
{
public bool IsBlocked = true;
}
}

View File

@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Xml.Linq;
using UnityEngine;
namespace Data
{
public class CharacterDef : PawnDef
{
}
}

View File

@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Xml.Linq;
using UnityEngine;
@ -20,11 +19,6 @@ namespace Data
Image,
Animation
}
public class CharacterDef : PawnDef
{
}
public class DrawingOrderDef : Define
{
public DrawNodeDef drawingOrder_down;
@ -143,5 +137,4 @@ namespace Data
}
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 6360fb04b7a9454d9ac6d8f4864ee31f
timeCreated: 1754545254

View File

@ -0,0 +1,7 @@
namespace Data
{
public class MonsterDef:PawnDef
{
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: eeac50195bd94af4a21039131cdb77d6
timeCreated: 1754545363

View File

@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
namespace Data
{
public class PawnDef : Define
{
public AttributesDef attributes;
public DrawingOrderDef drawingOrder;
public BehaviorTreeDef behaviorTree;
public string affiliation;
}
}