public void InitData(DragonTiger_GamePlay_Manager.IndexBet _type) { switch (_type) { case DragonTiger_GamePlay_Manager.IndexBet.Dragon: imgIcon.color = colorPanelDragon; break; case DragonTiger_GamePlay_Manager.IndexBet.Tie: imgIcon.color = colorPanelTie; break; case DragonTiger_GamePlay_Manager.IndexBet.Tiger: imgIcon.color = colorPanelTiger; break; } }
public void InitData(DragonTiger_GamePlay_Manager.IndexBet _type) { switch (_type) { case DragonTiger_GamePlay_Manager.IndexBet.Dragon: imgBg.color = colorPanelDragon; txtInfo.text = "D"; break; case DragonTiger_GamePlay_Manager.IndexBet.Tie: imgBg.color = colorPanelTie; txtInfo.text = "T"; break; case DragonTiger_GamePlay_Manager.IndexBet.Tiger: imgBg.color = colorPanelTiger; txtInfo.text = "T"; break; } }