protected override void onUnitInit() { mAttr.reset(); mSkill.reset(); mBuff.reset(); mMove.reset(); mAI.reset(); mSkill.addSkills(GHelper.toIntArray(table.skills)); if (!isServer) { mHeadInfo = HeadInfo.Bind(this.transform, this); } }
protected override void onUnitInit() { mMove.reset(); mBuff.reset(); }