public void SetData(object data) { m_FlyingStageData = (FlyerFlyingStageData)data; if (m_FlyingStageData != null) { groupDrawer = new TrackGroupDrawer(GetActionIndex, OnRepaint, ActionCategory.Flyer, IsShowDesc); groupDrawer.SetData("Group", m_FlyingStageData.Group); } else { groupDrawer = null; } }
public void SetData(object data) { m_EndStageData = (SkillEndStageData)data; if (m_EndStageData != null) { groupDrawer = new TrackGroupDrawer(GetActionIndex, OnRepaint, ActionCategory.Skill, IsShowDesc); groupDrawer.SetData("Group", m_EndStageData.Group); breakGroupDrawer = new TrackGroupDrawer(GetActionIndex, OnRepaint, ActionCategory.Skill, IsShowDesc); breakGroupDrawer.SetData("Break Group", m_EndStageData.BreakGroup); } else { groupDrawer = null; breakGroupDrawer = null; } }