Example #1
0
 public void SetCustomErrorMessage(int staticSafetyId, AtomicSafetyErrorType errorType, byte[] messageBytes)
 {
     fixed(byte *pBytes = messageBytes)
     {
         AtomicSafetyHandle.SetCustomErrorMessage(staticSafetyId, errorType, pBytes, messageBytes.Length);
     }
 }
 public static unsafe extern void SetCustomErrorMessage(int staticSafetyId, AtomicSafetyErrorType errorType, byte *messageBytes, int byteCount);
 public static unsafe byte *GetCustomErrorMessage(AtomicSafetyHandle handle, AtomicSafetyErrorType errorType, byte *defaultMsg)
 {
     // temporary stub to support additions in UnityEngine
     return(null);
 }
Example #4
0
 public static extern void SetCustomErrorMessage(int staticSafetyId, AtomicSafetyErrorType errorType, string message);
 public static unsafe void SetCustomErrorMessage(int staticSafetyId, AtomicSafetyErrorType errorType, byte *messageBytes, int byteCount)
 {
     // temporary stub to support additions in UnityEngine
 }