You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
221 B

  1. using System;
  2. using UnityEngine;
  3. public class CrashOnPurpose : MonoBehaviour
  4. {
  5. private void Start()
  6. {
  7. base.Invoke("Crash", 10f);
  8. }
  9. private void Crash()
  10. {
  11. throw new NullReferenceException();
  12. }
  13. }