private void OnSpinClicked() { //UpdateListeners(false); // 这句话根本就不会起作用 //spinButtonClickedSignal.RemoveListener(OnSpinClicked); // can NOT do this StartSpin.Dispatch(); }
private void UpdateListeners(bool value) { view.dispatcher.UpdateListener(value, GameView.STOP_SPIN, OnSpinStop); StartSpin.AddListener(OnSpinButtonClicked); }
private void UpdateListeners(bool value) { StopSpin.AddListener(ScoreChanged); change_score_signal.AddListener(WinScoreAdded); StartSpin.AddListener(ResetWinScore); }
public void Spin() { //Debug.Log(TAG + ": Spin() start"); StartSpin.Dispatch(); }