public static void GetAsync(GetAsyncDelegate onCompleted) { if (s_Instance != null) { onCompleted(s_Instance); } else { GetAsync_Internal(onCompleted); } }
private static void InvokeGetAsyncDelegate(GetAsyncDelegate handler, IntPtr nativePtr) { s_Instance = new WorldAnchorStore(nativePtr); handler(s_Instance); }
public static void GetAsync(GetAsyncDelegate onCompleted) { }
public static void GetAsync(GetAsyncDelegate onCompleted) { if (s_Instance != null) { onCompleted(s_Instance); } else { GetAsync_Internal(onCompleted); } }
private static void InvokeGetAsyncDelegate(GetAsyncDelegate handler, IntPtr nativePtr) { s_Instance = new WorldAnchorStore(nativePtr); handler(s_Instance); }
private static extern void GetAsync_Internal(GetAsyncDelegate onCompleted);
private static extern void GetAsync_Internal(GetAsyncDelegate onCompleted);