public virtual void Init(NPCStruct npc) { npcStruct = npc; transform.name = npc.nameKor; skills = FunctionParser.ParsingSkillTable(npc.skillValue, dataManager); foreach (Skill skill in Skills) { skill.SetOwner(this); } OnNPCInit(this); }
public virtual void Init(NPCStruct npc) { npcStruct = npc; transform.name = npc.nameKor; skills = FunctionParser.ParsingSkillTable(npc.skillValue, dataManager); foreach (Skill skill in Skills) { skill.SetOwner(this); } OnNPCInit(this); }