示例#1
0
 /*
  * Exception: System.NullReferenceException: Object reference not set to an instance of an object.
  * at PureScript.ExceptionTest.NullPointException () [0x00000] in <00000000000000000000000000000000>:0
  *  at UnityBind.PureScript_ExceptionTest_NullPointException (System.Int32 thiz_h) [0x00000] in <00000000000000000000000000000000>:0
  *  at (wrapper managed-to-native) PureScript.ScriptEngine.CheckException()
  * at PureScript.ExceptionTest.NullPointException () [0x00012] in <32aba121fea14339b39ae3ef7a81ab85>:0
  *  at TestException.OnFocusNullPointException (System.Boolean focus) [0x00012] in <a78fd91ac283481f9b729fcc794fb0b0>:0
  *  at UnityEngine.Application.InvokeFocusChanged (System.Boolean focus) [0x0000b] in <cf7fb9a754e74776ae71c25165ca083c>:0
  *  at (wrapper native-to-managed) UnityEngine.Application.InvokeFocusChanged(bool,System.Exception&)
  */
 void OnFocusNullPointException(bool focus)
 {
     if (focus)
     {
         Debug.LogError("##OnFocus 1");
         other.NullPointException();
         Debug.LogError("##OnFocus 2");
     }
 }