(client) feat:实现子弹的生成
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
namespace Data
|
||||
{
|
||||
public class BuildingDef : PawnDef
|
||||
public class BuildingDef : EntityDef
|
||||
{
|
||||
public float slowDown = 0f;
|
||||
}
|
||||
|
8
Client/Assets/Scripts/Data/BulletDef.cs
Normal file
8
Client/Assets/Scripts/Data/BulletDef.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace Data
|
||||
{
|
||||
public class BulletDef:EntityDef
|
||||
{
|
||||
public string className;
|
||||
public string value;
|
||||
}
|
||||
}
|
3
Client/Assets/Scripts/Data/BulletDef.cs.meta
Normal file
3
Client/Assets/Scripts/Data/BulletDef.cs.meta
Normal file
@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3f32fe058231409aaef631564bc51317
|
||||
timeCreated: 1755173999
|
@ -7,7 +7,7 @@ using UnityEngine;
|
||||
|
||||
namespace Data
|
||||
{
|
||||
public class CharacterDef : PawnDef
|
||||
public class CharacterDef : EntityDef
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -5,7 +5,7 @@ using System.Xml.Linq;
|
||||
|
||||
namespace Data
|
||||
{
|
||||
public class PawnDef : Define
|
||||
public class EntityDef : Define
|
||||
{
|
||||
public AttributesDef attributes;
|
||||
public DrawingOrderDef drawingOrder;
|
@ -1,6 +1,6 @@
|
||||
namespace Data
|
||||
{
|
||||
public class MonsterDef:PawnDef
|
||||
public class MonsterDef:EntityDef
|
||||
{
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user