void OnClick() { //没有在转动、没有中奖线展示、没有自动转动的情况下 spin 按钮可按 /* * if (!(manScript.IsNowMoving() || manScript.isDraw || manager.autoSpinTimess > 0)) * { * TweenAlpha.Begin(GameObject.FindGameObjectWithTag("Help"),0.2f,0); * manScript.reset(); * } */ if (isCanTap && manScript.DoTheMoneyEnough()) { isCanTap = false; GameObject.FindGameObjectWithTag("Help").GetComponent <UIPanel>().alpha = 0; StartCoroutine(WheelsEffect()); } else if (!manScript.DoTheMoneyEnough()) { // GameObject.FindGameObjectWithTag("GameController").GetComponent <NetworkConnect>().GAME_Balance_Refresh(); GameObject.FindGameObjectWithTag("GameController").GetComponent <NetworkConnect>().StartCoroutine("ShowInsufficientBalanceTip"); } }