// Use this for initialization void Start() { if (dShower == null) { dShower = GameObject.Find("DialogShower").GetComponent <DialogShower>(); } dialogHappened = false; }
public MainWindow() { InitializeComponent(); this.context = new MainWindowDataContex(); this.DataContext = this.context; this.dialogger = new DialogShower(); }