public HeroCenteArear(HeroData data) : base(data) { m_heroGrid.setGameObject(UtilApi.TransFindChildByPObjAndPath(m_heroData.m_goRoot, "HeroGrid")); m_heroGrid.cellWidth = 0.388f; m_heroGrid.cellHeight = 0.651f; }
public HeroCenteArear m_heroCenteArear; // 之间区域 public override void onReady() { base.onReady(); m_heroData = new HeroData(); findWidget(); m_heroCenteArear = new HeroCenteArear(m_heroData); addEventHandle(); }