(client) feat:添加临时动画组件,添加逃跑逻辑
This commit is contained in:
@ -6,14 +6,13 @@ namespace Data
|
||||
{
|
||||
public class TileDef : Define
|
||||
{
|
||||
public ImageDef texture;
|
||||
public string name = "";
|
||||
public string name = null;
|
||||
public Tile.ColliderType collider = Tile.ColliderType.None;
|
||||
|
||||
public override bool Init(XElement xmlDef)
|
||||
{
|
||||
base.Init(xmlDef);
|
||||
name = defName;
|
||||
name ??= defName;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user