Advertisement
bjoWasTaken

UnityiOSForcedUpdater.cs

Aug 5th, 2016
294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.35 KB | None | 0 0
  1. using UnityEngine;
  2. using System.Collections;
  3. using System.Runtime.InteropServices;
  4. using System;
  5.  
  6. #if UNITY_IOS
  7. public class UnityiOSForcedUpdater
  8. {
  9.     [DllImport("__Internal")]
  10.     static extern void _disableForcedUpdateLoop();
  11.        
  12.     public static void DisableForcedUpdates()
  13.     {
  14.         _disableForcedUpdateLoop();
  15.     }
  16. }
  17. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement