@reactunity/renderer 0.17.0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
  import { ReactUnity } from '../../models/generated';
2
2
  type IsEqual<T = any> = (a: T, b: T) => boolean;
3
- export declare function useReactiveValue<T>(obj: ReactUnity.Reactive.IReactive<T>, isEqual?: IsEqual<T>): T;
3
+ export declare function useReactiveValue<T>(obj: ReactUnity.Reactive.IReactive<T>, isEqual?: IsEqual<T>): any;
4
4
  export {};
@@ -1,12 +1,12 @@
1
1
  import type { UnityInstance } from 'react-unity-webgl/declarations/unity-instance';
2
- import { Facebook, ReactUnity, System, UnityEditor, UnityEngine } from '../generated';
2
+ import { ReactUnity, System, UnityEditor, UnityEngine, Yoga } from '../generated';
3
3
  export type NamespaceMap = {
4
4
  [key: string]: any;
5
5
  System: typeof System;
6
6
  UnityEngine: typeof UnityEngine;
7
7
  UnityEditor: typeof UnityEditor;
8
8
  ReactUnity: typeof ReactUnity;
9
- Facebook: typeof Facebook;
9
+ Yoga: typeof Yoga;
10
10
  };
11
11
  export type Namespace = keyof NamespaceMap;
12
12
  declare global {
@@ -15,7 +15,7 @@ declare global {
15
15
  UnityEngine: typeof UnityEngine;
16
16
  UnityEditor: typeof UnityEditor;
17
17
  ReactUnity: typeof ReactUnity;
18
- Facebook: typeof Facebook;
18
+ Yoga: typeof Yoga;
19
19
  }
20
20
  var Interop: ReactUnity.Helpers.ReactInterop & DefaultInterop;
21
21
  var ReactUnityWebGLCompat: UnityInstance;