Exemplo n.º 1
0
 public static void GetAsync(WorldAnchorStore.GetAsyncDelegate onCompleted)
 {
     if (WorldAnchorStore.s_Instance != null)
     {
         onCompleted(WorldAnchorStore.s_Instance);
     }
     else
     {
         WorldAnchorStore.GetAsync_Internal(onCompleted);
     }
 }
Exemplo n.º 2
0
 private static extern void GetAsync_Internal(WorldAnchorStore.GetAsyncDelegate onCompleted);
Exemplo n.º 3
0
 private static void InvokeGetAsyncDelegate(WorldAnchorStore.GetAsyncDelegate handler, IntPtr nativePtr)
 {
     WorldAnchorStore.s_Instance = new WorldAnchorStore(nativePtr);
     handler(WorldAnchorStore.s_Instance);
 }