public void Initialize() { this.OnBackObservable = new TypeObservable <int>(); this.back.onClick.AddListener(() => { this.OnBackObservable.Execute(0); }); }
public void Initialize() { this.onNextObservable = new TypeObservable <int>(); this.toNext.onClick.AddListener(() => { this.onNextObservable.Execute(0); }); }
public void Initialize() { onBack = new TypeObservable <int>(); back.onClick.AddListener(() => { onBack.Execute(0); }); }
public virtual void Initialize() { OnClick = new TypeObservable <int> (); cellButton.onClick.AddListener(() => { OnClick.Execute(0); }); }
public void Initialize() { this.OnClickCloseObservable = new TypeObservable <int>(); this.closeButton.onClick.AddListener(() => { this.OnClickCloseObservable.Execute(0); }); }
public void Initialize(Camera mainCamera) { this.mainCanvas.worldCamera = mainCamera; this.OnCancelObservable = new TypeObservable <int>(); this.onCancel.onClick.AddListener(() => { this.OnCancelObservable.Execute(0); }); }
public void Initialize() { this.speakEndButton.onClick.AddListener(() => { // 最後まで表示される状態にする elapsedTimeFromStart = allContents.Length; }); onEndConversation = new TypeObservable <int>(); this.nextNortificationAndButton.onClick.AddListener(() => { onEndConversation.Execute(0); }); }
public override void Initialize() { base.Initialize(); this.onClickDetail = new TypeObservable <int>(); this.onClickLock = new TypeObservable <int>(); this.detailButton.onClick.AddListener(() => { this.onClickDetail.Execute(0); }); this.releaseLock.onClick.AddListener(() => { this.onClickLock.Execute(0); }); }
public void Initialize() { // init this.conversationView.Initialize(); this.onEndConversation = new TypeObservable <int>(); // end conversation event this.disposables.Add(this.conversationView.OnEndConversation.Subscribe(_ => { if (currentConversationModel.IsLastIndex(this.currentConversationIndex)) { this.Close(); this.onEndConversation.Execute(0); return; } this.currentConversationIndex++; this.SetConversationIndex(this.currentConversationIndex); })); // initialize close this.Close(); }
private void Awake() { this.onMouseSelet = new TypeObservable <int> (); }
private void Awake() { this.onSelect = new TypeObservable <int> (); }
public void Initialize() { this.onCellClick = new TypeObservable <PlayerOnegaiModel>(); }
public StateManager(IState currentState) { this.OnChangeStateObservable = new TypeObservable <IState>(); this.currentState = currentState; this.currentState.onEnter(); }