public void Failed(string message) { OnFailed?.Invoke(); Pause(); dialogUI.SetDialog("GM", "<size=120%>Oh no! </size><color=red>bear hurt someone</color> how we can fix this!!!"); dialogUI.SetButtonEvent(Quit); Debug.Log("<color=red>FAILED: " + message + "</color>"); }