public TDCCreature(TDCBaseController ctrl, TDCBaseData data)
        : base(ctrl, data)
    {
        m_Controller = ctrl as TDCCreatureController;
        m_Data = data as TDCCreatureData;

        m_SkillSlotComponent = new TDCSkillSlotComponent(this);
        m_SkillSlotComponent.CreateActiveSkillSlot(m_Data.ActiveSkill);
    }
 public void SetPlayer(TDCCreatureController owner)
 {
     m_OwnerController = owner;
     m_OwnerEnity = owner.GetEntity();
     LoadAllSlots();
     this.GetComponentInChildren<CUIGridLayout>().enabled = false;
     this.GetComponentInChildren<ContentSizeFitter>().enabled = false;
 }
 public override void SetController(TDCBaseController controller)
 {
     m_Controller = controller as TDCCreatureController;
 }