@reactunity/renderer 0.8.1 → 0.9.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.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from './src/helpers/dictionary-watcher';
2
2
  export * from './src/helpers/styled-components-helper';
3
+ export * from './src/helpers/watcher';
3
4
  export * from './src/models/environment';
4
5
  export * from './src/models/generated';
5
6
  export * from './src/models/properties';
package/dist/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from './src/helpers/dictionary-watcher';
2
2
  export * from './src/helpers/styled-components-helper';
3
+ export * from './src/helpers/watcher';
3
4
  export * from './src/models/environment';
4
5
  export * from './src/models/generated';
5
6
  export * from './src/models/properties';
@@ -0,0 +1,2 @@
1
+ import { ReactUnity } from '../models/generated';
2
+ export declare function useWatchable<T>(obj: ReactUnity.Helpers.IWatchable<T>): T;
@@ -0,0 +1,15 @@
1
+ import { useEffect, useState } from 'react';
2
+ export function useWatchable(obj) {
3
+ var isWatchable = obj && typeof obj === 'object' && ('Value' in obj);
4
+ var _a = useState(isWatchable ? obj.Value : undefined), state = _a[0], setState = _a[1];
5
+ useEffect(function () {
6
+ if (!isWatchable) {
7
+ setState(undefined);
8
+ return;
9
+ }
10
+ setState(obj.Value);
11
+ if ('AddListener' in obj)
12
+ return obj.AddListener(function (val) { return setState(val); });
13
+ }, [obj, isWatchable]);
14
+ return state;
15
+ }
@@ -201,8 +201,6 @@ export declare namespace ReactUnity {
201
201
  SetParent(parent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
202
202
  SetProperty(property: string, value: any): void;
203
203
  SetData(property: string, value: any): void;
204
- SetEventListener(eventType: string, callback: ReactUnity.Helpers.Callback): void;
205
- FireEvent(eventName: string, arg: any): void;
206
204
  MarkForStyleResolving(recursive: boolean): void;
207
205
  MarkStyleUpdateWithSiblings(recursive: boolean): void;
208
206
  Remove(): void;
@@ -210,7 +208,6 @@ export declare namespace ReactUnity {
210
208
  Destroy(recursive?: boolean): void;
211
209
  RegisterChild(child: ReactUnity.IReactComponent, index?: number): void;
212
210
  UnregisterChild(child: ReactUnity.IReactComponent): void;
213
- AddEventListener(eventType: string, callback: ReactUnity.Helpers.Callback): (() => void);
214
211
  GetComponent(type: System.Type): any;
215
212
  AddComponent(type: System.Type): any;
216
213
  Matches(query: string): boolean;
@@ -218,6 +215,9 @@ export declare namespace ReactUnity {
218
215
  QuerySelector(query: string): ReactUnity.IReactComponent;
219
216
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
220
217
  SetText(text: string): void;
218
+ SetEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): void;
219
+ AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
220
+ FireEvent(eventName: string, arg: any): void;
221
221
  Equals(obj: any): boolean;
222
222
  GetHashCode(): number;
223
223
  GetType(): System.Type;
@@ -292,6 +292,7 @@ export declare namespace ReactUnity {
292
292
  constructor(options: ReactUnity.ReactContext_Options);
293
293
  CalculatesLayout: boolean;
294
294
  Host: ReactUnity.IHostComponent;
295
+ DetachedRoots: System.Collections.Generic.HashSet<ReactUnity.IReactComponent>;
295
296
  Globals: ReactUnity.Helpers.GlobalRecord;
296
297
  IsDisposed: boolean;
297
298
  options: ReactUnity.ReactContext_Options;
@@ -359,6 +360,7 @@ export declare namespace ReactUnity {
359
360
  AwaitDebugger: boolean;
360
361
  EngineType: ReactUnity.Scripting.JavascriptEngineType;
361
362
  Globals: ReactUnity.Helpers.SerializableDictionary;
363
+ Stylesheets: UnityEngine.TextAsset[];
362
364
  AutoRender: boolean;
363
365
  BeforeStart: UnityEngine.Events.UnityEvent;
364
366
  AfterStart: UnityEngine.Events.UnityEvent;
@@ -383,7 +385,6 @@ export declare namespace ReactUnity {
383
385
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
384
386
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
385
387
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
386
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
387
388
  GetComponentInParent(t: System.Type): UnityEngine.Component;
388
389
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
389
390
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -739,6 +740,13 @@ export declare namespace ReactUnity {
739
740
  GetType(): System.Type;
740
741
  ToString(): string;
741
742
  }
743
+ interface IStyleParser {
744
+ Parse(value: string): any;
745
+ }
746
+ interface IStyleConverter {
747
+ Convert(value: any): any;
748
+ CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
749
+ }
742
750
  class IntConverter {
743
751
  constructor();
744
752
  FloatParser: ReactUnity.Converters.FloatConverter;
@@ -750,18 +758,12 @@ export declare namespace ReactUnity {
750
758
  GetType(): System.Type;
751
759
  ToString(): string;
752
760
  }
753
- interface IStyleParser {
754
- Parse(value: string): any;
755
- }
756
- interface IStyleConverter {
757
- Convert(value: any): any;
758
- CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
759
- }
760
761
  class StringConverter {
761
762
  constructor();
762
763
  CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
763
764
  Convert(value: any): any;
764
765
  Parse(value: string): any;
766
+ static Normalize(value: string): string;
765
767
  Equals(obj: any): boolean;
766
768
  GetHashCode(): number;
767
769
  GetType(): System.Type;
@@ -835,7 +837,6 @@ export declare namespace ReactUnity {
835
837
  ReloadPreviewInstances(): void;
836
838
  UseDefaultMargins(): boolean;
837
839
  Initialize(targets: UnityEngine.Object[]): void;
838
- Cleanup(): void;
839
840
  MoveNextTarget(): boolean;
840
841
  ResetTarget(): void;
841
842
  SetDirty(): void;
@@ -924,7 +925,6 @@ export declare namespace ReactUnity {
924
925
  ShowAuxWindow(): void;
925
926
  ShowModal(): void;
926
927
  SaveChanges(): void;
927
- DiscardChanges(): void;
928
928
  Close(): void;
929
929
  Repaint(): void;
930
930
  SendEvent(e: UnityEngine.Event): boolean;
@@ -1006,7 +1006,6 @@ export declare namespace ReactUnity {
1006
1006
  ShowAuxWindow(): void;
1007
1007
  ShowModal(): void;
1008
1008
  SaveChanges(): void;
1009
- DiscardChanges(): void;
1010
1009
  Close(): void;
1011
1010
  Repaint(): void;
1012
1011
  SendEvent(e: UnityEngine.Event): boolean;
@@ -1042,7 +1041,6 @@ export declare namespace ReactUnity {
1042
1041
  ReloadPreviewInstances(): void;
1043
1042
  UseDefaultMargins(): boolean;
1044
1043
  Initialize(targets: UnityEngine.Object[]): void;
1045
- Cleanup(): void;
1046
1044
  MoveNextTarget(): boolean;
1047
1045
  ResetTarget(): void;
1048
1046
  SetDirty(): void;
@@ -1099,6 +1097,7 @@ export declare namespace ReactUnity {
1099
1097
  HostElement: UnityEngine.UIElements.VisualElement;
1100
1098
  CalculatesLayout: boolean;
1101
1099
  Host: ReactUnity.IHostComponent;
1100
+ DetachedRoots: System.Collections.Generic.HashSet<ReactUnity.IReactComponent>;
1102
1101
  Globals: ReactUnity.Helpers.GlobalRecord;
1103
1102
  IsDisposed: boolean;
1104
1103
  options: ReactUnity.ReactContext_Options;
@@ -1195,7 +1194,6 @@ export declare namespace ReactUnity {
1195
1194
  ShowAuxWindow(): void;
1196
1195
  ShowModal(): void;
1197
1196
  SaveChanges(): void;
1198
- DiscardChanges(): void;
1199
1197
  Close(): void;
1200
1198
  Repaint(): void;
1201
1199
  SendEvent(e: UnityEngine.Event): boolean;
@@ -1230,7 +1228,6 @@ export declare namespace ReactUnity {
1230
1228
  ReloadPreviewInstances(): void;
1231
1229
  UseDefaultMargins(): boolean;
1232
1230
  Initialize(targets: UnityEngine.Object[]): void;
1233
- Cleanup(): void;
1234
1231
  MoveNextTarget(): boolean;
1235
1232
  ResetTarget(): void;
1236
1233
  SetDirty(): void;
@@ -1301,7 +1298,6 @@ export declare namespace ReactUnity {
1301
1298
  ShowAuxWindow(): void;
1302
1299
  ShowModal(): void;
1303
1300
  SaveChanges(): void;
1304
- DiscardChanges(): void;
1305
1301
  Close(): void;
1306
1302
  Repaint(): void;
1307
1303
  SendEvent(e: UnityEngine.Event): boolean;
@@ -1461,7 +1457,6 @@ export declare namespace ReactUnity {
1461
1457
  ShowAuxWindow(): void;
1462
1458
  ShowModal(): void;
1463
1459
  SaveChanges(): void;
1464
- DiscardChanges(): void;
1465
1460
  Close(): void;
1466
1461
  Repaint(): void;
1467
1462
  SendEvent(e: UnityEngine.Event): boolean;
@@ -1505,7 +1500,6 @@ export declare namespace ReactUnity {
1505
1500
  cacheAsBitmap: boolean;
1506
1501
  parent: UnityEngine.UIElements.VisualElement;
1507
1502
  panel: UnityEngine.UIElements.IPanel;
1508
- visualTreeAssetSource: UnityEngine.UIElements.VisualTreeAsset;
1509
1503
  childCount: number;
1510
1504
  schedule: UnityEngine.UIElements.IVisualElementScheduler;
1511
1505
  style: UnityEngine.UIElements.IStyle;
@@ -1837,7 +1831,6 @@ export declare namespace ReactUnity {
1837
1831
  parent: UnityEngine.UIElements.VisualElement;
1838
1832
  panel: UnityEngine.UIElements.IPanel;
1839
1833
  contentContainer: UnityEngine.UIElements.VisualElement;
1840
- visualTreeAssetSource: UnityEngine.UIElements.VisualTreeAsset;
1841
1834
  childCount: number;
1842
1835
  schedule: UnityEngine.UIElements.IVisualElementScheduler;
1843
1836
  style: UnityEngine.UIElements.IStyle;
@@ -1962,7 +1955,6 @@ export declare namespace ReactUnity {
1962
1955
  GetPersistentTarget(index: number): UnityEngine.Object;
1963
1956
  GetPersistentMethodName(index: number): string;
1964
1957
  SetPersistentListenerState(index: number, state: UnityEngine.Events.UnityEventCallState): void;
1965
- GetPersistentListenerState(index: number): UnityEngine.Events.UnityEventCallState;
1966
1958
  RemoveAllListeners(): void;
1967
1959
  ToString(): string;
1968
1960
  Equals(obj: any): boolean;
@@ -1978,7 +1970,6 @@ export declare namespace ReactUnity {
1978
1970
  GetPersistentTarget(index: number): UnityEngine.Object;
1979
1971
  GetPersistentMethodName(index: number): string;
1980
1972
  SetPersistentListenerState(index: number, state: UnityEngine.Events.UnityEventCallState): void;
1981
- GetPersistentListenerState(index: number): UnityEngine.Events.UnityEventCallState;
1982
1973
  RemoveAllListeners(): void;
1983
1974
  ToString(): string;
1984
1975
  Equals(obj: any): boolean;
@@ -2037,9 +2028,6 @@ export declare namespace ReactUnity {
2037
2028
  OnDeserialization(sender: any): void;
2038
2029
  Remove(key: string): boolean;
2039
2030
  TryAdd(key: string, value: any): boolean;
2040
- EnsureCapacity(capacity: number): number;
2041
- TrimExcess(): void;
2042
- TrimExcess(capacity: number): void;
2043
2031
  Equals(obj: any): boolean;
2044
2032
  GetHashCode(): number;
2045
2033
  GetType(): System.Type;
@@ -2091,6 +2079,22 @@ export declare namespace ReactUnity {
2091
2079
  GetType(): System.Type;
2092
2080
  ToString(): string;
2093
2081
  }
2082
+ interface IWatchable<T = any> {
2083
+ Value: T;
2084
+ Change(): void;
2085
+ AddListener(cb: any): (() => void);
2086
+ }
2087
+ class Watchable<T = any> {
2088
+ constructor();
2089
+ constructor(value: T);
2090
+ Value: T;
2091
+ Change(): void;
2092
+ AddListener(cb: any): (() => void);
2093
+ Equals(obj: any): boolean;
2094
+ GetHashCode(): number;
2095
+ GetType(): System.Type;
2096
+ ToString(): string;
2097
+ }
2094
2098
  class WatchableDictionary<TKey = any, T = any> {
2095
2099
  constructor();
2096
2100
  constructor(dict: System.Collections.Generic.IDictionary<TKey, T>);
@@ -2523,7 +2527,6 @@ export declare namespace ReactUnity {
2523
2527
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
2524
2528
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
2525
2529
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
2526
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
2527
2530
  GetComponentInParent(t: System.Type): UnityEngine.Component;
2528
2531
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
2529
2532
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -2771,6 +2774,7 @@ export declare namespace ReactUnity {
2771
2774
  ToString(): string;
2772
2775
  }
2773
2776
  interface IDomElementProxy {
2777
+ tagName: string;
2774
2778
  OnAppend(): void;
2775
2779
  OnRemove(): void;
2776
2780
  setAttribute(key: any, value: any): void;
@@ -2779,8 +2783,10 @@ export declare namespace ReactUnity {
2779
2783
  removeChild(text: string): void;
2780
2784
  }
2781
2785
  class DomElementProxyBase {
2786
+ tagName: string;
2782
2787
  nodeType: number;
2783
2788
  nextSibling: any;
2789
+ id: string;
2784
2790
  setAttribute(key: any, value: any): void;
2785
2791
  removeAttribute(key: any): void;
2786
2792
  hasAttribute(key: any): boolean;
@@ -2792,8 +2798,11 @@ export declare namespace ReactUnity {
2792
2798
  }
2793
2799
  class HeadProxy {
2794
2800
  constructor();
2801
+ tagName: string;
2802
+ Children: ReactUnity.Scripting.DomProxies.IDomElementProxy[];
2795
2803
  nodeType: number;
2796
2804
  nextSibling: any;
2805
+ id: string;
2797
2806
  appendChild(child: ReactUnity.Scripting.DomProxies.IDomElementProxy): void;
2798
2807
  removeChild(child: ReactUnity.Scripting.DomProxies.IDomElementProxy): void;
2799
2808
  insertBefore(child: ReactUnity.Scripting.DomProxies.IDomElementProxy, before: any): void;
@@ -2808,6 +2817,7 @@ export declare namespace ReactUnity {
2808
2817
  }
2809
2818
  class ScriptProxy {
2810
2819
  constructor(document: ReactUnity.Scripting.DomProxies.DocumentProxy);
2820
+ tagName: string;
2811
2821
  src: string;
2812
2822
  charset: string;
2813
2823
  crossOrigin: string;
@@ -2818,6 +2828,7 @@ export declare namespace ReactUnity {
2818
2828
  nextSibling: any;
2819
2829
  document: ReactUnity.Scripting.DomProxies.DocumentProxy;
2820
2830
  parentNode: ReactUnity.Scripting.DomProxies.HeadProxy;
2831
+ id: string;
2821
2832
  OnAppend(): void;
2822
2833
  OnRemove(): void;
2823
2834
  appendChild(text: string): void;
@@ -2833,14 +2844,43 @@ export declare namespace ReactUnity {
2833
2844
  }
2834
2845
  class StyleProxy {
2835
2846
  constructor(document: ReactUnity.Scripting.DomProxies.DocumentProxy);
2847
+ tagName: string;
2836
2848
  firstChild: string;
2837
2849
  nodeType: number;
2838
2850
  nextSibling: any;
2839
2851
  childNodes: string[];
2840
2852
  Sheet: ReactUnity.Styling.StyleSheet;
2853
+ styleSheet: ReactUnity.Scripting.DomProxies.StyleProxy_StyleSheetProxy;
2841
2854
  enabled: boolean;
2842
2855
  document: ReactUnity.Scripting.DomProxies.DocumentProxy;
2843
2856
  parentNode: ReactUnity.Scripting.DomProxies.HeadProxy;
2857
+ id: string;
2858
+ OnAppend(): void;
2859
+ OnRemove(): void;
2860
+ appendChild(text: string): void;
2861
+ removeChild(text: string): void;
2862
+ setAttribute(key: any, value: any): void;
2863
+ removeAttribute(key: any): void;
2864
+ hasAttribute(key: any): boolean;
2865
+ getAttribute(key: any): any;
2866
+ Equals(obj: any): boolean;
2867
+ GetHashCode(): number;
2868
+ GetType(): System.Type;
2869
+ ToString(): string;
2870
+ }
2871
+ class LinkProxy {
2872
+ constructor(document: ReactUnity.Scripting.DomProxies.DocumentProxy);
2873
+ tagName: string;
2874
+ onload: any;
2875
+ onerror: any;
2876
+ nodeType: number;
2877
+ nextSibling: any;
2878
+ document: ReactUnity.Scripting.DomProxies.DocumentProxy;
2879
+ parentNode: ReactUnity.Scripting.DomProxies.HeadProxy;
2880
+ rel: string;
2881
+ type: string;
2882
+ href: string;
2883
+ id: string;
2844
2884
  OnAppend(): void;
2845
2885
  OnRemove(): void;
2846
2886
  appendChild(text: string): void;
@@ -3133,6 +3173,14 @@ export declare namespace ReactUnity {
3133
3173
  GetType(): System.Type;
3134
3174
  ToString(): string;
3135
3175
  }
3176
+ class StyleProxy_StyleSheetProxy {
3177
+ constructor(pr: ReactUnity.Scripting.DomProxies.StyleProxy);
3178
+ cssText: string;
3179
+ Equals(obj: any): boolean;
3180
+ GetHashCode(): number;
3181
+ GetType(): System.Type;
3182
+ ToString(): string;
3183
+ }
3136
3184
  }
3137
3185
  }
3138
3186
  namespace Styling {
@@ -3140,6 +3188,7 @@ export declare namespace ReactUnity {
3140
3188
  static Steps: ReactUnity.Styling.ICssFunction;
3141
3189
  static CubicBezier: ReactUnity.Styling.ICssFunction;
3142
3190
  static Url: ReactUnity.Styling.ICssFunction;
3191
+ static Resource: ReactUnity.Styling.ICssFunction;
3143
3192
  static Rgba: ReactUnity.Styling.ICssFunction;
3144
3193
  static Hsla: ReactUnity.Styling.ICssFunction;
3145
3194
  static Var: ReactUnity.Styling.ICssFunction;
@@ -3155,7 +3204,7 @@ export declare namespace ReactUnity {
3155
3204
  interface ICssFunction {
3156
3205
  Name: string;
3157
3206
  CanHandleArguments(count: number, name: string, args: string[]): boolean;
3158
- Call(name: string, args: string[]): any;
3207
+ Call(name: string, args: string[], argsCombined: string): any;
3159
3208
  }
3160
3209
  enum CssKeyword {
3161
3210
  NoKeyword = 0,
@@ -3230,6 +3279,10 @@ export declare namespace ReactUnity {
3230
3279
  GetType(): System.Type;
3231
3280
  ToString(): string;
3232
3281
  }
3282
+ interface IStyleKey {
3283
+ ModifiedProperties: ReactUnity.Styling.IStyleProperty[];
3284
+ Modify(collection: System.Collections.Generic.IDictionary<ReactUnity.Styling.IStyleProperty, any>, value: any): ReactUnity.Styling.IStyleProperty[];
3285
+ }
3233
3286
  class IconSet {
3234
3287
  constructor();
3235
3288
  name: string;
@@ -3283,10 +3336,6 @@ export declare namespace ReactUnity {
3283
3336
  GetType(): System.Type;
3284
3337
  ToString(): string;
3285
3338
  }
3286
- interface IStyleKey {
3287
- ModifiedProperties: ReactUnity.Styling.IStyleProperty[];
3288
- Modify(collection: System.Collections.Generic.IDictionary<ReactUnity.Styling.IStyleProperty, any>, value: any): ReactUnity.Styling.IStyleProperty[];
3289
- }
3290
3339
  class NodeStyle {
3291
3340
  constructor(context: ReactUnity.ReactContext, fallback?: ReactUnity.Styling.NodeStyle, cssStyles?: System.Collections.Generic.IDictionary<ReactUnity.Styling.IStyleProperty, any>[]);
3292
3341
  HasInheritedChanges: boolean;
@@ -3308,12 +3357,14 @@ export declare namespace ReactUnity {
3308
3357
  boxShadow: ReactUnity.Types.ICssValueList<ReactUnity.Types.BoxShadow>;
3309
3358
  transformOrigin: ReactUnity.Types.YogaValue2;
3310
3359
  translate: ReactUnity.Types.YogaValue2;
3360
+ translateZ: Facebook.Yoga.YogaValue;
3311
3361
  scale: UnityEngine.Vector2;
3312
3362
  rotate: UnityEngine.Vector3;
3313
3363
  fontFamily: ReactUnity.Types.FontReference;
3314
3364
  color: UnityEngine.Color;
3315
3365
  fontWeight: any;
3316
3366
  fontStyle: any;
3367
+ textTransform: ReactUnity.Types.TextTransform;
3317
3368
  fontSize: number;
3318
3369
  lineHeight: number;
3319
3370
  letterSpacing: number;
@@ -3482,12 +3533,14 @@ export declare namespace ReactUnity {
3482
3533
  static borderBottomColor: any;
3483
3534
  static transformOrigin: any;
3484
3535
  static translate: any;
3536
+ static translateZ: any;
3485
3537
  static scale: any;
3486
3538
  static rotate: any;
3487
3539
  static fontFamily: any;
3488
3540
  static color: any;
3489
3541
  static fontWeight: any;
3490
3542
  static fontStyle: any;
3543
+ static textTransform: any;
3491
3544
  static fontSize: any;
3492
3545
  static lineHeight: any;
3493
3546
  static letterSpacing: any;
@@ -3813,6 +3866,25 @@ export declare namespace ReactUnity {
3813
3866
  GetType(): System.Type;
3814
3867
  ToString(): string;
3815
3868
  }
3869
+ enum TimingFunctionType {
3870
+ Ease = 0,
3871
+ Linear = 1,
3872
+ EaseIn = 2,
3873
+ EaseOut = 3,
3874
+ EaseInOut = 4,
3875
+ StepStart = 5,
3876
+ StepEnd = 6
3877
+ }
3878
+ enum StepsJumpMode {
3879
+ End = 0,
3880
+ JumpEnd = 0,
3881
+ Start = 1,
3882
+ JumpStart = 1,
3883
+ None = 2,
3884
+ JumpNone = 2,
3885
+ Both = 3,
3886
+ JumpBoth = 3
3887
+ }
3816
3888
  class TimingFunction {
3817
3889
  constructor(object: any, method: System.IntPtr);
3818
3890
  Method: System.Reflection.MethodInfo;
@@ -3846,25 +3918,6 @@ export declare namespace ReactUnity {
3846
3918
  GetType(): System.Type;
3847
3919
  ToString(): string;
3848
3920
  }
3849
- enum TimingFunctionType {
3850
- Ease = 0,
3851
- Linear = 1,
3852
- EaseIn = 2,
3853
- EaseOut = 3,
3854
- EaseInOut = 4,
3855
- StepStart = 5,
3856
- StepEnd = 6
3857
- }
3858
- enum StepsJumpMode {
3859
- End = 0,
3860
- JumpEnd = 0,
3861
- Start = 1,
3862
- JumpStart = 1,
3863
- None = 2,
3864
- JumpNone = 2,
3865
- Both = 3,
3866
- JumpBoth = 3
3867
- }
3868
3921
  class TransitionProperty {
3869
3922
  constructor(definition: string);
3870
3923
  Definition: string;
@@ -4489,11 +4542,9 @@ export declare namespace ReactUnity {
4489
4542
  constructor(other: ReactUnity.Types.FontSource);
4490
4543
  constructor(font: UnityEngine.Font);
4491
4544
  constructor(font: any);
4492
- constructor(font: UnityEngine.TextCore.Text.FontAsset);
4493
4545
  Valid: boolean;
4494
4546
  Font: UnityEngine.Font;
4495
4547
  TmpFontAsset: any;
4496
- TextCoreFontAsset: UnityEngine.TextCore.Text.FontAsset;
4497
4548
  Equals(obj: any): boolean;
4498
4549
  GetHashCode(): number;
4499
4550
  GetType(): System.Type;
@@ -4667,8 +4718,15 @@ export declare namespace ReactUnity {
4667
4718
  GetType(): System.Type;
4668
4719
  ToString(): string;
4669
4720
  }
4721
+ enum TextTransform {
4722
+ None = 0,
4723
+ UpperCase = 1,
4724
+ LowerCase = 2,
4725
+ Capitalize = 3,
4726
+ SmallCaps = 4
4727
+ }
4670
4728
  class Url {
4671
- constructor(fullUrl: string);
4729
+ constructor(fullUrl: string, defaultProtocol?: ReactUnity.Types.UrlProtocol);
4672
4730
  Protocol: ReactUnity.Types.UrlProtocol;
4673
4731
  FullUrl: string;
4674
4732
  NormalizedUrl: string;
@@ -6135,11 +6193,16 @@ export declare namespace ReactUnity {
6135
6193
  GetType(): System.Type;
6136
6194
  ToString(): string;
6137
6195
  }
6138
- class ScrollbarComponent {
6139
- constructor(context: ReactUnity.UGUI.UGUIContext);
6140
- Horizontal: boolean;
6141
- Scrollbar: UnityEngine.UI.Scrollbar;
6142
- Thumb: ReactUnity.UGUI.ScrollbarThumbComponent;
6196
+ class ScrollComponent {
6197
+ constructor(ctx: ReactUnity.UGUI.UGUIContext);
6198
+ ScrollRect: ReactUnity.UGUI.Behaviours.SmoothScrollRect;
6199
+ ContentResizer: ReactUnity.UGUI.Behaviours.ScrollContentResizer;
6200
+ HorizontalScrollbar: ReactUnity.UGUI.ScrollbarComponent;
6201
+ VerticalScrollbar: ReactUnity.UGUI.ScrollbarComponent;
6202
+ ScrollWidth: number;
6203
+ ScrollHeight: number;
6204
+ ScrollLeft: number;
6205
+ ScrollTop: number;
6143
6206
  GameObject: UnityEngine.GameObject;
6144
6207
  RectTransform: UnityEngine.RectTransform;
6145
6208
  Component: ReactUnity.UGUI.Behaviours.ReactElement;
@@ -6178,13 +6241,10 @@ export declare namespace ReactUnity {
6178
6241
  AfterRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
6179
6242
  BeforePseudo: ReactUnity.IReactComponent;
6180
6243
  AfterPseudo: ReactUnity.IReactComponent;
6181
- ScrollLeft: number;
6182
- ScrollTop: number;
6183
- ScrollWidth: number;
6184
- ScrollHeight: number;
6185
6244
  SetProperty(propertyName: string, value: any): void;
6186
- SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
6187
6245
  AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
6246
+ ScrollTo(left?: number, top?: number, smoothness?: number): void;
6247
+ ScrollBy(left?: number, top?: number, smoothness?: number): void;
6188
6248
  UpdateBackgroundGraphic(updateLayout: boolean, updateStyle: boolean): ReactUnity.UGUI.Internal.BorderAndBackground;
6189
6249
  GetRelativePosition(x: number, y: number): UnityEngine.Vector2;
6190
6250
  GetBoundingClientRect(): UnityEngine.Rect;
@@ -6195,6 +6255,7 @@ export declare namespace ReactUnity {
6195
6255
  MarkForStyleResolving(recursive: boolean): void;
6196
6256
  Remove(): void;
6197
6257
  Destroy(recursive?: boolean): void;
6258
+ SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
6198
6259
  SetEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): void;
6199
6260
  FireEvent(eventName: string, arg: any): void;
6200
6261
  SetData(propertyName: string, value: any): void;
@@ -6219,8 +6280,11 @@ export declare namespace ReactUnity {
6219
6280
  GetType(): System.Type;
6220
6281
  ToString(): string;
6221
6282
  }
6222
- class ScrollbarThumbComponent {
6283
+ class ScrollbarComponent {
6223
6284
  constructor(context: ReactUnity.UGUI.UGUIContext);
6285
+ Horizontal: boolean;
6286
+ Scrollbar: UnityEngine.UI.Scrollbar;
6287
+ Thumb: ReactUnity.UGUI.ScrollbarThumbComponent;
6224
6288
  GameObject: UnityEngine.GameObject;
6225
6289
  RectTransform: UnityEngine.RectTransform;
6226
6290
  Component: ReactUnity.UGUI.Behaviours.ReactElement;
@@ -6263,9 +6327,9 @@ export declare namespace ReactUnity {
6263
6327
  ScrollTop: number;
6264
6328
  ScrollWidth: number;
6265
6329
  ScrollHeight: number;
6330
+ SetProperty(propertyName: string, value: any): void;
6266
6331
  SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
6267
6332
  AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
6268
- SetProperty(propertyName: string, value: any): void;
6269
6333
  UpdateBackgroundGraphic(updateLayout: boolean, updateStyle: boolean): ReactUnity.UGUI.Internal.BorderAndBackground;
6270
6334
  GetRelativePosition(x: number, y: number): UnityEngine.Vector2;
6271
6335
  GetBoundingClientRect(): UnityEngine.Rect;
@@ -6300,16 +6364,8 @@ export declare namespace ReactUnity {
6300
6364
  GetType(): System.Type;
6301
6365
  ToString(): string;
6302
6366
  }
6303
- class ScrollComponent {
6304
- constructor(Context: ReactUnity.UGUI.UGUIContext);
6305
- ScrollRect: ReactUnity.UGUI.Behaviours.SmoothScrollRect;
6306
- ContentResizer: ReactUnity.UGUI.Behaviours.ScrollContentResizer;
6307
- HorizontalScrollbar: ReactUnity.UGUI.ScrollbarComponent;
6308
- VerticalScrollbar: ReactUnity.UGUI.ScrollbarComponent;
6309
- ScrollWidth: number;
6310
- ScrollHeight: number;
6311
- ScrollLeft: number;
6312
- ScrollTop: number;
6367
+ class ScrollbarThumbComponent {
6368
+ constructor(context: ReactUnity.UGUI.UGUIContext);
6313
6369
  GameObject: UnityEngine.GameObject;
6314
6370
  RectTransform: UnityEngine.RectTransform;
6315
6371
  Component: ReactUnity.UGUI.Behaviours.ReactElement;
@@ -6348,10 +6404,13 @@ export declare namespace ReactUnity {
6348
6404
  AfterRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
6349
6405
  BeforePseudo: ReactUnity.IReactComponent;
6350
6406
  AfterPseudo: ReactUnity.IReactComponent;
6351
- SetProperty(propertyName: string, value: any): void;
6407
+ ScrollLeft: number;
6408
+ ScrollTop: number;
6409
+ ScrollWidth: number;
6410
+ ScrollHeight: number;
6411
+ SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
6352
6412
  AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
6353
- ScrollTo(left?: number, top?: number, smoothness?: number): void;
6354
- ScrollBy(left?: number, top?: number, smoothness?: number): void;
6413
+ SetProperty(propertyName: string, value: any): void;
6355
6414
  UpdateBackgroundGraphic(updateLayout: boolean, updateStyle: boolean): ReactUnity.UGUI.Internal.BorderAndBackground;
6356
6415
  GetRelativePosition(x: number, y: number): UnityEngine.Vector2;
6357
6416
  GetBoundingClientRect(): UnityEngine.Rect;
@@ -6362,7 +6421,6 @@ export declare namespace ReactUnity {
6362
6421
  MarkForStyleResolving(recursive: boolean): void;
6363
6422
  Remove(): void;
6364
6423
  Destroy(recursive?: boolean): void;
6365
- SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
6366
6424
  SetEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): void;
6367
6425
  FireEvent(eventName: string, arg: any): void;
6368
6426
  SetData(propertyName: string, value: any): void;
@@ -6389,7 +6447,7 @@ export declare namespace ReactUnity {
6389
6447
  }
6390
6448
  class SvgComponent {
6391
6449
  constructor(context: ReactUnity.UGUI.UGUIContext, tag?: string);
6392
- Image: UnityEngine.UI.Image;
6450
+ Image: any;
6393
6451
  Graphic: UnityEngine.UI.MaskableGraphic;
6394
6452
  Measurer: ReactUnity.UGUI.Behaviours.ImageMeasurer;
6395
6453
  ImageContainer: UnityEngine.GameObject;
@@ -6483,8 +6541,6 @@ export declare namespace ReactUnity {
6483
6541
  LinkedTextWatcher: ReactUnity.UGUI.Behaviours.LinkedTextWatcher;
6484
6542
  Content: string;
6485
6543
  Font: ReactUnity.Types.FontReference;
6486
- FontStyles: any;
6487
- FontWeight: any;
6488
6544
  GameObject: UnityEngine.GameObject;
6489
6545
  RectTransform: UnityEngine.RectTransform;
6490
6546
  Component: ReactUnity.UGUI.Behaviours.ReactElement;
@@ -6867,6 +6923,7 @@ export declare namespace ReactUnity {
6867
6923
  AwaitDebugger: boolean;
6868
6924
  EngineType: ReactUnity.Scripting.JavascriptEngineType;
6869
6925
  Globals: ReactUnity.Helpers.SerializableDictionary;
6926
+ Stylesheets: UnityEngine.TextAsset[];
6870
6927
  AutoRender: boolean;
6871
6928
  BeforeStart: UnityEngine.Events.UnityEvent;
6872
6929
  AfterStart: UnityEngine.Events.UnityEvent;
@@ -6891,7 +6948,6 @@ export declare namespace ReactUnity {
6891
6948
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
6892
6949
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
6893
6950
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
6894
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
6895
6951
  GetComponentInParent(t: System.Type): UnityEngine.Component;
6896
6952
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
6897
6953
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -6938,6 +6994,7 @@ export declare namespace ReactUnity {
6938
6994
  CursorSet: ReactUnity.Styling.CursorSet;
6939
6995
  CalculatesLayout: boolean;
6940
6996
  Host: ReactUnity.IHostComponent;
6997
+ DetachedRoots: System.Collections.Generic.HashSet<ReactUnity.IReactComponent>;
6941
6998
  Globals: ReactUnity.Helpers.GlobalRecord;
6942
6999
  IsDisposed: boolean;
6943
7000
  options: ReactUnity.ReactContext_Options;
@@ -7048,7 +7105,6 @@ export declare namespace ReactUnity {
7048
7105
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
7049
7106
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7050
7107
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
7051
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
7052
7108
  GetComponentInParent(t: System.Type): UnityEngine.Component;
7053
7109
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7054
7110
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -7119,7 +7175,6 @@ export declare namespace ReactUnity {
7119
7175
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
7120
7176
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7121
7177
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
7122
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
7123
7178
  GetComponentInParent(t: System.Type): UnityEngine.Component;
7124
7179
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7125
7180
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -7199,7 +7254,6 @@ export declare namespace ReactUnity {
7199
7254
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
7200
7255
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7201
7256
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
7202
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
7203
7257
  GetComponentInParent(t: System.Type): UnityEngine.Component;
7204
7258
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7205
7259
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -7235,6 +7289,7 @@ export declare namespace ReactUnity {
7235
7289
  Layout: Facebook.Yoga.YogaNode;
7236
7290
  Component: ReactUnity.UGUI.UGUIComponent;
7237
7291
  Translate: ReactUnity.Types.YogaValue2;
7292
+ TranslateZ: Facebook.Yoga.YogaValue;
7238
7293
  PositionType: ReactUnity.Types.PositionType;
7239
7294
  useGUILayout: boolean;
7240
7295
  runInEditMode: boolean;
@@ -7278,7 +7333,6 @@ export declare namespace ReactUnity {
7278
7333
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
7279
7334
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7280
7335
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
7281
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
7282
7336
  GetComponentInParent(t: System.Type): UnityEngine.Component;
7283
7337
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7284
7338
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -7349,7 +7403,6 @@ export declare namespace ReactUnity {
7349
7403
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
7350
7404
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7351
7405
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
7352
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
7353
7406
  GetComponentInParent(t: System.Type): UnityEngine.Component;
7354
7407
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7355
7408
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -7421,7 +7474,6 @@ export declare namespace ReactUnity {
7421
7474
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
7422
7475
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7423
7476
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
7424
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
7425
7477
  GetComponentInParent(t: System.Type): UnityEngine.Component;
7426
7478
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7427
7479
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -7493,7 +7545,6 @@ export declare namespace ReactUnity {
7493
7545
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
7494
7546
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7495
7547
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
7496
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
7497
7548
  GetComponentInParent(t: System.Type): UnityEngine.Component;
7498
7549
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7499
7550
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -7570,7 +7621,6 @@ export declare namespace ReactUnity {
7570
7621
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
7571
7622
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7572
7623
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
7573
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
7574
7624
  GetComponentInParent(t: System.Type): UnityEngine.Component;
7575
7625
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7576
7626
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -7691,7 +7741,6 @@ export declare namespace ReactUnity {
7691
7741
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
7692
7742
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7693
7743
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
7694
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
7695
7744
  GetComponentInParent(t: System.Type): UnityEngine.Component;
7696
7745
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7697
7746
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -7763,7 +7812,6 @@ export declare namespace ReactUnity {
7763
7812
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
7764
7813
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7765
7814
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
7766
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
7767
7815
  GetComponentInParent(t: System.Type): UnityEngine.Component;
7768
7816
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7769
7817
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -7797,7 +7845,6 @@ export declare namespace ReactUnity {
7797
7845
  GetPersistentTarget(index: number): UnityEngine.Object;
7798
7846
  GetPersistentMethodName(index: number): string;
7799
7847
  SetPersistentListenerState(index: number, state: UnityEngine.Events.UnityEventCallState): void;
7800
- GetPersistentListenerState(index: number): UnityEngine.Events.UnityEventCallState;
7801
7848
  RemoveAllListeners(): void;
7802
7849
  ToString(): string;
7803
7850
  Equals(obj: any): boolean;
@@ -7852,7 +7899,6 @@ export declare namespace ReactUnity {
7852
7899
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
7853
7900
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7854
7901
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
7855
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
7856
7902
  GetComponentInParent(t: System.Type): UnityEngine.Component;
7857
7903
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7858
7904
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -7923,7 +7969,6 @@ export declare namespace ReactUnity {
7923
7969
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
7924
7970
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7925
7971
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
7926
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
7927
7972
  GetComponentInParent(t: System.Type): UnityEngine.Component;
7928
7973
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7929
7974
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -7994,7 +8039,6 @@ export declare namespace ReactUnity {
7994
8039
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
7995
8040
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7996
8041
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
7997
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
7998
8042
  GetComponentInParent(t: System.Type): UnityEngine.Component;
7999
8043
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8000
8044
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -8065,7 +8109,6 @@ export declare namespace ReactUnity {
8065
8109
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
8066
8110
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8067
8111
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
8068
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
8069
8112
  GetComponentInParent(t: System.Type): UnityEngine.Component;
8070
8113
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8071
8114
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -8136,7 +8179,6 @@ export declare namespace ReactUnity {
8136
8179
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
8137
8180
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8138
8181
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
8139
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
8140
8182
  GetComponentInParent(t: System.Type): UnityEngine.Component;
8141
8183
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8142
8184
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -8207,7 +8249,6 @@ export declare namespace ReactUnity {
8207
8249
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
8208
8250
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8209
8251
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
8210
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
8211
8252
  GetComponentInParent(t: System.Type): UnityEngine.Component;
8212
8253
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8213
8254
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -8279,7 +8320,6 @@ export declare namespace ReactUnity {
8279
8320
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
8280
8321
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8281
8322
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
8282
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
8283
8323
  GetComponentInParent(t: System.Type): UnityEngine.Component;
8284
8324
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8285
8325
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -8367,7 +8407,6 @@ export declare namespace ReactUnity {
8367
8407
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
8368
8408
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8369
8409
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
8370
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
8371
8410
  GetComponentInParent(t: System.Type): UnityEngine.Component;
8372
8411
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8373
8412
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -8438,7 +8477,6 @@ export declare namespace ReactUnity {
8438
8477
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
8439
8478
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8440
8479
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
8441
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
8442
8480
  GetComponentInParent(t: System.Type): UnityEngine.Component;
8443
8481
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8444
8482
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -8509,7 +8547,6 @@ export declare namespace ReactUnity {
8509
8547
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
8510
8548
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8511
8549
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
8512
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
8513
8550
  GetComponentInParent(t: System.Type): UnityEngine.Component;
8514
8551
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8515
8552
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -8580,7 +8617,6 @@ export declare namespace ReactUnity {
8580
8617
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
8581
8618
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8582
8619
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
8583
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
8584
8620
  GetComponentInParent(t: System.Type): UnityEngine.Component;
8585
8621
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8586
8622
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -8651,7 +8687,6 @@ export declare namespace ReactUnity {
8651
8687
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
8652
8688
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8653
8689
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
8654
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
8655
8690
  GetComponentInParent(t: System.Type): UnityEngine.Component;
8656
8691
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8657
8692
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -8722,7 +8757,6 @@ export declare namespace ReactUnity {
8722
8757
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
8723
8758
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8724
8759
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
8725
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
8726
8760
  GetComponentInParent(t: System.Type): UnityEngine.Component;
8727
8761
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8728
8762
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -8793,7 +8827,6 @@ export declare namespace ReactUnity {
8793
8827
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
8794
8828
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8795
8829
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
8796
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
8797
8830
  GetComponentInParent(t: System.Type): UnityEngine.Component;
8798
8831
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8799
8832
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -8865,7 +8898,6 @@ export declare namespace ReactUnity {
8865
8898
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
8866
8899
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8867
8900
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
8868
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
8869
8901
  GetComponentInParent(t: System.Type): UnityEngine.Component;
8870
8902
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8871
8903
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -8948,7 +8980,6 @@ export declare namespace ReactUnity {
8948
8980
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
8949
8981
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8950
8982
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
8951
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
8952
8983
  GetComponentInParent(t: System.Type): UnityEngine.Component;
8953
8984
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8954
8985
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -9019,7 +9050,6 @@ export declare namespace ReactUnity {
9019
9050
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
9020
9051
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9021
9052
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
9022
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
9023
9053
  GetComponentInParent(t: System.Type): UnityEngine.Component;
9024
9054
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9025
9055
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -9090,7 +9120,6 @@ export declare namespace ReactUnity {
9090
9120
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
9091
9121
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9092
9122
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
9093
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
9094
9123
  GetComponentInParent(t: System.Type): UnityEngine.Component;
9095
9124
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9096
9125
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -9161,7 +9190,6 @@ export declare namespace ReactUnity {
9161
9190
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
9162
9191
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9163
9192
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
9164
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
9165
9193
  GetComponentInParent(t: System.Type): UnityEngine.Component;
9166
9194
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9167
9195
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -9295,7 +9323,6 @@ export declare namespace ReactUnity {
9295
9323
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
9296
9324
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9297
9325
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
9298
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
9299
9326
  GetComponentInParent(t: System.Type): UnityEngine.Component;
9300
9327
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9301
9328
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -9445,7 +9472,6 @@ export declare namespace ReactUnity {
9445
9472
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
9446
9473
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9447
9474
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
9448
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
9449
9475
  GetComponentInParent(t: System.Type): UnityEngine.Component;
9450
9476
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9451
9477
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -9532,7 +9558,6 @@ export declare namespace ReactUnity {
9532
9558
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
9533
9559
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9534
9560
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
9535
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
9536
9561
  GetComponentInParent(t: System.Type): UnityEngine.Component;
9537
9562
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9538
9563
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -9680,7 +9705,6 @@ export declare namespace ReactUnity {
9680
9705
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
9681
9706
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9682
9707
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
9683
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
9684
9708
  GetComponentInParent(t: System.Type): UnityEngine.Component;
9685
9709
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9686
9710
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -9753,7 +9777,6 @@ export declare namespace ReactUnity {
9753
9777
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
9754
9778
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9755
9779
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
9756
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
9757
9780
  GetComponentInParent(t: System.Type): UnityEngine.Component;
9758
9781
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9759
9782
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -9898,7 +9921,6 @@ export declare namespace ReactUnity {
9898
9921
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
9899
9922
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9900
9923
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
9901
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
9902
9924
  GetComponentInParent(t: System.Type): UnityEngine.Component;
9903
9925
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9904
9926
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -9972,7 +9994,6 @@ export declare namespace ReactUnity {
9972
9994
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
9973
9995
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9974
9996
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
9975
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
9976
9997
  GetComponentInParent(t: System.Type): UnityEngine.Component;
9977
9998
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9978
9999
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -10046,7 +10067,6 @@ export declare namespace ReactUnity {
10046
10067
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
10047
10068
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
10048
10069
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
10049
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
10050
10070
  GetComponentInParent(t: System.Type): UnityEngine.Component;
10051
10071
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
10052
10072
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -10118,7 +10138,6 @@ export declare namespace ReactUnity {
10118
10138
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
10119
10139
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
10120
10140
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
10121
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
10122
10141
  GetComponentInParent(t: System.Type): UnityEngine.Component;
10123
10142
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
10124
10143
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -10190,7 +10209,6 @@ export declare namespace ReactUnity {
10190
10209
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
10191
10210
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
10192
10211
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
10193
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
10194
10212
  GetComponentInParent(t: System.Type): UnityEngine.Component;
10195
10213
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
10196
10214
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -10260,7 +10278,6 @@ export declare namespace ReactUnity {
10260
10278
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
10261
10279
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
10262
10280
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
10263
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
10264
10281
  GetComponentInParent(t: System.Type): UnityEngine.Component;
10265
10282
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
10266
10283
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -10332,7 +10349,6 @@ export declare namespace ReactUnity {
10332
10349
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
10333
10350
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
10334
10351
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
10335
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
10336
10352
  GetComponentInParent(t: System.Type): UnityEngine.Component;
10337
10353
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
10338
10354
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -10910,9 +10926,9 @@ export declare namespace ReactUnity {
10910
10926
  GetType(): System.Type;
10911
10927
  ToString(): string;
10912
10928
  }
10913
- class ImageComponent {
10914
- constructor(context: ReactUnity.UIToolkit.UIToolkitContext, tag: string);
10915
- Element: UnityEngine.UIElements.Image;
10929
+ class IMGUIComponent {
10930
+ constructor(context: ReactUnity.UIToolkit.UIToolkitContext);
10931
+ Element: UnityEngine.UIElements.IMGUIContainer;
10916
10932
  TargetElement: UnityEngine.UIElements.VisualElement;
10917
10933
  Name: string;
10918
10934
  ClientWidth: number;
@@ -10948,6 +10964,8 @@ export declare namespace ReactUnity {
10948
10964
  ScrollWidth: number;
10949
10965
  ScrollHeight: number;
10950
10966
  SetProperty(property: string, value: any): void;
10967
+ MarkDirtyLayout(): void;
10968
+ MarkDirtyRepaint(): void;
10951
10969
  AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
10952
10970
  GetComponent(type: System.Type): any;
10953
10971
  AddComponent(type: System.Type): any;
@@ -10984,9 +11002,9 @@ export declare namespace ReactUnity {
10984
11002
  GetType(): System.Type;
10985
11003
  ToString(): string;
10986
11004
  }
10987
- class IMGUIComponent {
10988
- constructor(context: ReactUnity.UIToolkit.UIToolkitContext);
10989
- Element: UnityEngine.UIElements.IMGUIContainer;
11005
+ class ImageComponent {
11006
+ constructor(context: ReactUnity.UIToolkit.UIToolkitContext, tag: string);
11007
+ Element: UnityEngine.UIElements.Image;
10990
11008
  TargetElement: UnityEngine.UIElements.VisualElement;
10991
11009
  Name: string;
10992
11010
  ClientWidth: number;
@@ -11022,8 +11040,6 @@ export declare namespace ReactUnity {
11022
11040
  ScrollWidth: number;
11023
11041
  ScrollHeight: number;
11024
11042
  SetProperty(property: string, value: any): void;
11025
- MarkDirtyLayout(): void;
11026
- MarkDirtyRepaint(): void;
11027
11043
  AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
11028
11044
  GetComponent(type: System.Type): any;
11029
11045
  AddComponent(type: System.Type): any;
@@ -11578,7 +11594,6 @@ export declare namespace ReactUnity {
11578
11594
  parent: UnityEngine.UIElements.VisualElement;
11579
11595
  panel: UnityEngine.UIElements.IPanel;
11580
11596
  contentContainer: UnityEngine.UIElements.VisualElement;
11581
- visualTreeAssetSource: UnityEngine.UIElements.VisualTreeAsset;
11582
11597
  childCount: number;
11583
11598
  schedule: UnityEngine.UIElements.IVisualElementScheduler;
11584
11599
  style: UnityEngine.UIElements.IStyle;
@@ -11633,89 +11648,6 @@ export declare namespace ReactUnity {
11633
11648
  GetHashCode(): number;
11634
11649
  GetType(): System.Type;
11635
11650
  }
11636
- class ReactUnityUIDocument {
11637
- constructor();
11638
- Root: UnityEngine.UIElements.VisualElement;
11639
- MediaProvider: ReactUnity.Styling.Rules.IMediaProvider;
11640
- Context: ReactUnity.ReactContext;
11641
- timer: ReactUnity.Scheduling.ITimer;
11642
- useGUILayout: boolean;
11643
- runInEditMode: boolean;
11644
- enabled: boolean;
11645
- isActiveAndEnabled: boolean;
11646
- transform: UnityEngine.Transform;
11647
- gameObject: UnityEngine.GameObject;
11648
- tag: string;
11649
- rigidbody: UnityEngine.Component;
11650
- rigidbody2D: UnityEngine.Component;
11651
- camera: UnityEngine.Component;
11652
- light: UnityEngine.Component;
11653
- animation: UnityEngine.Component;
11654
- constantForce: UnityEngine.Component;
11655
- renderer: UnityEngine.Component;
11656
- audio: UnityEngine.Component;
11657
- networkView: UnityEngine.Component;
11658
- collider: UnityEngine.Component;
11659
- collider2D: UnityEngine.Component;
11660
- hingeJoint: UnityEngine.Component;
11661
- particleSystem: UnityEngine.Component;
11662
- name: string;
11663
- hideFlags: UnityEngine.HideFlags;
11664
- Source: ReactUnity.ScriptSource;
11665
- Debug: boolean;
11666
- AwaitDebugger: boolean;
11667
- EngineType: ReactUnity.Scripting.JavascriptEngineType;
11668
- Globals: ReactUnity.Helpers.SerializableDictionary;
11669
- AutoRender: boolean;
11670
- BeforeStart: UnityEngine.Events.UnityEvent;
11671
- AfterStart: UnityEngine.Events.UnityEvent;
11672
- PlayAudio(clip: UnityEngine.AudioClip): void;
11673
- Render(): void;
11674
- IsInvoking(): boolean;
11675
- CancelInvoke(): void;
11676
- Invoke(methodName: string, time: number): void;
11677
- InvokeRepeating(methodName: string, time: number, repeatRate: number): void;
11678
- CancelInvoke(methodName: string): void;
11679
- IsInvoking(methodName: string): boolean;
11680
- StartCoroutine(methodName: string): UnityEngine.Coroutine;
11681
- StartCoroutine(methodName: string, value: any): UnityEngine.Coroutine;
11682
- StartCoroutine(routine: System.Collections.IEnumerator): UnityEngine.Coroutine;
11683
- StartCoroutine_Auto(routine: System.Collections.IEnumerator): UnityEngine.Coroutine;
11684
- StopCoroutine(routine: System.Collections.IEnumerator): void;
11685
- StopCoroutine(routine: UnityEngine.Coroutine): void;
11686
- StopCoroutine(methodName: string): void;
11687
- StopAllCoroutines(): void;
11688
- GetComponent(type: System.Type): UnityEngine.Component;
11689
- GetComponent(type: string): UnityEngine.Component;
11690
- GetComponentInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component;
11691
- GetComponentInChildren(t: System.Type): UnityEngine.Component;
11692
- GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
11693
- GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
11694
- GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
11695
- GetComponentInParent(t: System.Type): UnityEngine.Component;
11696
- GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
11697
- GetComponentsInParent(t: System.Type): UnityEngine.Component[];
11698
- GetComponents(type: System.Type): UnityEngine.Component[];
11699
- GetComponents(type: System.Type, results: UnityEngine.Component[]): void;
11700
- CompareTag(tag: string): boolean;
11701
- SendMessageUpwards(methodName: string, value: any, options: UnityEngine.SendMessageOptions): void;
11702
- SendMessageUpwards(methodName: string, value: any): void;
11703
- SendMessageUpwards(methodName: string): void;
11704
- SendMessageUpwards(methodName: string, options: UnityEngine.SendMessageOptions): void;
11705
- SendMessage(methodName: string, value: any): void;
11706
- SendMessage(methodName: string): void;
11707
- SendMessage(methodName: string, value: any, options: UnityEngine.SendMessageOptions): void;
11708
- SendMessage(methodName: string, options: UnityEngine.SendMessageOptions): void;
11709
- BroadcastMessage(methodName: string, parameter: any, options: UnityEngine.SendMessageOptions): void;
11710
- BroadcastMessage(methodName: string, parameter: any): void;
11711
- BroadcastMessage(methodName: string): void;
11712
- BroadcastMessage(methodName: string, options: UnityEngine.SendMessageOptions): void;
11713
- GetInstanceID(): number;
11714
- GetHashCode(): number;
11715
- Equals(other: any): boolean;
11716
- ToString(): string;
11717
- GetType(): System.Type;
11718
- }
11719
11651
  class ResourcesHelper {
11720
11652
  static DefaultFont: UnityEngine.Font;
11721
11653
  static UtilityStylesheet: UnityEngine.UIElements.StyleSheet;
@@ -11750,6 +11682,7 @@ export declare namespace ReactUnity {
11750
11682
  HostElement: UnityEngine.UIElements.VisualElement;
11751
11683
  CalculatesLayout: boolean;
11752
11684
  Host: ReactUnity.IHostComponent;
11685
+ DetachedRoots: System.Collections.Generic.HashSet<ReactUnity.IReactComponent>;
11753
11686
  Globals: ReactUnity.Helpers.GlobalRecord;
11754
11687
  IsDisposed: boolean;
11755
11688
  options: ReactUnity.ReactContext_Options;
@@ -1,6 +1,6 @@
1
1
  //
2
2
  // Types in assemblies: ReactUnity, ReactUnity.Editor, ReactUnity.UGUI, ReactUnity.UIToolkit
3
- // Generated 24/10/2021 22:18:53
3
+ // Generated 15/01/2022 01:23:51
4
4
  //
5
5
  /* eslint-disable */
6
6
  export {};
@@ -1,5 +1,6 @@
1
1
  export declare type FontWeight = 'thin' | 100 | 'extra-light' | 200 | 'light' | 300 | 'regular' | 400 | 'medium' | 500 | 'semi-bold' | 600 | 'bold' | 700 | 'heavy' | 800 | 'black' | 900;
2
2
  export declare type FontStyles = 'normal' | 'bold' | 'italic' | 'underline' | 'lowercase' | 'uppercase' | 'smallcaps' | 'strikethrough' | 'superscript' | 'subscript' | 'highlight';
3
+ export declare type TextTransform = 'none' | 'lowercase' | 'uppercase' | 'smallcaps' | 'capitalize';
3
4
  export declare type TextOverflowModes = 'overflow' | 'ellipsis' | 'masking' | 'truncate' | 'scroll-rect' | 'page' | 'linked';
4
5
  export declare type PointerEvents = 'auto' | 'visible' | 'all' | 'none';
5
6
  export declare type Visibility = 'visible' | 'hidden';
@@ -1,4 +1,4 @@
1
- import { AnimationDirection, AnimationFillMode, AnimationPlayState, Appearance, BackgroundBlendMode, BackgroundSize, CursorType, FontStyles, FontWeight, NavigationMode, ObjectFit, PointerEvents, TextAlign, TextOverflowModes, TimingFunctionType, Visibility, WhiteSpace } from './styles-enums';
1
+ import { AnimationDirection, AnimationFillMode, AnimationPlayState, Appearance, BackgroundBlendMode, BackgroundSize, CursorType, FontStyles, FontWeight, NavigationMode, ObjectFit, PointerEvents, TextAlign, TextOverflowModes, TextTransform, TimingFunctionType, Visibility, WhiteSpace } from './styles-enums';
2
2
  import { AssetReference, ColorAux, NumberAux, Vector2Aux, Vector3Aux } from './values';
3
3
  import { YogaValue2Aux, YogaValueAux } from './yoga';
4
4
  export interface RenderStyle {
@@ -40,6 +40,7 @@ export interface RenderStyle {
40
40
  objectPosition?: YogaValue2Aux;
41
41
  transformOrigin?: Vector2Aux;
42
42
  translate?: YogaValue2Aux;
43
+ translateZ?: YogaValueAux;
43
44
  scale?: Vector2Aux;
44
45
  rotate?: Vector3Aux;
45
46
  stateDuration?: number | string;
@@ -47,6 +48,7 @@ export interface RenderStyle {
47
48
  fontFamily?: AssetReference;
48
49
  fontWeight?: FontWeight;
49
50
  fontStyle?: FontStyles;
51
+ textTransform?: TextTransform;
50
52
  fontSize?: YogaValueAux;
51
53
  textOverflow?: TextOverflowModes;
52
54
  textAlign?: TextAlign;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reactunity/renderer",
3
- "version": "0.8.1",
3
+ "version": "0.9.0",
4
4
  "description": "React renderer for Unity3D",
5
5
  "types": "dist/index.d.ts",
6
6
  "typings": "dist/index.d.ts",