// Start is called before the first frame update void Start() { messageView.updateText1(bereitMessage0Line1, bereitMessage0Line2); messageView.updateText2(bereitMessage1Line1, bereitMessage1Line2); cursorPosition = 0; fatState = State.Alarmanzeige; }
// Start is called before the first frame update void Start() { messageView.updateText1(bereitMessage0Line1, bereitMessage0Line2); messageView.updateText2(bereitMessage1Line1, ""); cursorPosition = 0; fatState = State.Alarmanzeige; // Server neustarten im Einzelplayer if (GameObject.FindGameObjectWithTag("GlobalSettings") != null && GameObject.FindGameObjectWithTag("GlobalSettings").GetComponent <GlobalSettings>().clientType == GlobalSettings.ClientType.SinglePlayer) { GameObject.FindGameObjectWithTag("NetworkController").GetComponent <BMANetworkController>().restartHost(); } lastBuzzerMessage = -1; startTime = Time.time; }