void Update() { if (Input.GetKey(KeyCode.W) || Input.GetKey(KeyCode.A) || Input.GetKey(KeyCode.S) || Input.GetKey(KeyCode.D) || Input.GetKey(KeyCode.Space)) { CrashGame.Crash("File 'Player.controls' is missing or corrupted"); } }
private void OnTriggerStay2D(Collider2D other) { CrashGame.Crash(messages[Random.Range(0, messages.Length)]); }