示例#1
0
 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);
 }