public static void SetCoinPlayerOne(int coin) { if (XKGlobalData.GameVersionPlayer != 0) { CoinPlayerOne = coin; SetCoinPlayerThree(coin); return; } if (pcvr.bIsHardWare == false) { if (coin > 0 && CoinPlayerOne != coin) { PlayTouBiAudio(); if (coin > CoinPlayerOne) { Instance.SetTotalInsertCoins(Instance.m_TotalInsertCoins + (coin - CoinPlayerOne)); } } } CoinPlayerOne = coin; if (CoinPlayerCtrl.GetInstanceOne() != null) { CoinPlayerCtrl.GetInstanceOne().SetPlayerCoin(coin); } if (SetPanelUiRoot.GetInstance() != null) { SetPanelUiRoot.GetInstance().SetCoinStartLabelInfo(1); } }