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); }
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 }