예제 #1
0
    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);
        }
    }
예제 #2
0
 protected override void onUnitInit()
 {
     mMove.reset();
     mBuff.reset();
 }