二次修改
This commit is contained in:
parent
abb4a378f8
commit
343bf1de25
@ -165,8 +165,10 @@ public class AllHouseContro : MonoBehaviour
|
||||
CloseBoosDoor(BoosHouse);
|
||||
text.GetComponentInChildren<Text>().text = "";
|
||||
detailsText.GetComponentInChildren<Text>().text = "½áËã";
|
||||
|
||||
PlayerInfo.instance.AllBetCoins = 0;//Ͷע¹é0
|
||||
PlayerInfo.instance.SelfWoniuText.text= PlayerInfo.instance.AllBetCoins.ToString();
|
||||
PlayerInfo.instance.HaveBet=false;
|
||||
|
||||
HaveallotherMove=false;
|
||||
|
||||
|
@ -56,7 +56,7 @@ public class BettingBtn : MonoBehaviour
|
||||
public GameObject bg;
|
||||
public async void OnClickBetBtnAsync()
|
||||
{
|
||||
|
||||
PlayerInfo.instance.HaveBet = true;
|
||||
RequestData body = new RequestData();
|
||||
body.escapeId = bg.GetComponentInChildren<AllHouseContro>().escapeId;
|
||||
body.bet = BetValue;
|
||||
|
@ -10,6 +10,7 @@ public class PlayerInfo : MonoBehaviour
|
||||
public float Money = 1000;
|
||||
public float AllBetCoins;//总共下注蛋
|
||||
public TextMeshProUGUI SelfWoniuText;//蜗牛下注显示文本
|
||||
public bool HaveBet;//是否已经下注过
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user