(client) feat:添加临时动画组件,添加逃跑逻辑
This commit is contained in:
@ -3,15 +3,9 @@ using System.Xml.Linq;
|
||||
|
||||
namespace Data
|
||||
{
|
||||
public class HediffCompDef:Define
|
||||
public class HediffCompDef : Define
|
||||
{
|
||||
public Type compClass;
|
||||
public override bool Init(XElement xmlDef)
|
||||
{
|
||||
base.Init(xmlDef);
|
||||
var name = xmlDef.Attribute("class")?.Value??"";
|
||||
compClass=Type.GetType(name);
|
||||
return true;
|
||||
}
|
||||
public string compClass;
|
||||
public string properties;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user