Пример #1
0
    public TDCPlayer(TDCBaseController ctrl, TDCBaseData data)
        : base(ctrl, data)
    {
        m_Controller = ctrl as TDCPlayerController;
        m_Data = data as TDCPlayerData;

        m_SkillSlotComponent.CreatePassiveSkillSlot(m_Data.PassiveSkill);
    }
Пример #2
0
 public override void SetController(TDCBaseController controller)
 {
     m_Controller = controller as TDCPlayerController;
 }