@reactunity/renderer 0.9.2 → 0.10.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.
Files changed (32) hide show
  1. package/dist/src/helpers/dictionary-watcher.d.ts +14 -2
  2. package/dist/src/helpers/dictionary-watcher.js +28 -21
  3. package/dist/src/helpers/watcher.js +10 -11
  4. package/dist/src/models/environment/index.d.ts +1 -0
  5. package/dist/src/models/generated/react.d.ts +398 -83
  6. package/dist/src/models/generated/react.js +1 -1
  7. package/dist/src/models/properties/styles.d.ts +6 -6
  8. package/dist/src/renderer/async/callbacks.d.ts +6 -0
  9. package/dist/src/renderer/async/callbacks.js +38 -0
  10. package/dist/src/renderer/async/commands.d.ts +45 -0
  11. package/dist/src/renderer/async/commands.js +1 -0
  12. package/dist/src/renderer/async/objects.d.ts +8 -0
  13. package/dist/src/renderer/async/objects.js +31 -0
  14. package/dist/src/renderer/async/reconciler.d.ts +9 -0
  15. package/dist/src/renderer/async/reconciler.js +135 -0
  16. package/dist/src/renderer/async/types.d.ts +19 -0
  17. package/dist/src/renderer/async/types.js +1 -0
  18. package/dist/src/renderer/constants.d.ts +23 -0
  19. package/dist/src/renderer/constants.js +49 -0
  20. package/dist/src/renderer/diffing.js +39 -13
  21. package/dist/src/renderer/renderer.d.ts +9 -1
  22. package/dist/src/renderer/renderer.js +73 -111
  23. package/dist/src/renderer/sync/reconciler.d.ts +2 -0
  24. package/dist/src/renderer/sync/reconciler.js +35 -0
  25. package/dist/src/version.d.ts +1 -0
  26. package/dist/src/version.js +1 -0
  27. package/dist/src/views/default-view.d.ts +2 -1
  28. package/dist/src/views/default-view.js +4 -3
  29. package/dist/src/views/error-boundary.d.ts +1 -1
  30. package/dist/src/views/error-boundary.js +1 -1
  31. package/package.json +9 -9
  32. package/version.js +3 -0
@@ -25,6 +25,7 @@ export declare namespace ReactUnity {
25
25
  ClassList: ReactUnity.Helpers.ClassList;
26
26
  Id: string;
27
27
  Name: string;
28
+ RefId: number;
28
29
  IsContainer: boolean;
29
30
  Children: ReactUnity.IReactComponent[];
30
31
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -93,6 +94,7 @@ export declare namespace ReactUnity {
93
94
  Data: ReactUnity.Helpers.WatchableObjectRecord;
94
95
  ParentIndex: number;
95
96
  CurrentOrder: number;
97
+ RefId: number;
96
98
  ScrollLeft: number;
97
99
  ScrollTop: number;
98
100
  ScrollWidth: number;
@@ -154,6 +156,13 @@ export declare namespace ReactUnity {
154
156
  ReadOnly: boolean;
155
157
  PlaceholderShown: boolean;
156
158
  }
159
+ enum EventPriority {
160
+ Unknown = 0,
161
+ Discrete = 1,
162
+ Continuous = 4,
163
+ Default = 16,
164
+ Idle = 536870912
165
+ }
157
166
  interface IStateHandler {
158
167
  ClearListeners(): void;
159
168
  }
@@ -171,6 +180,7 @@ export declare namespace ReactUnity {
171
180
  Style: ReactUnity.Styling.InlineStyles;
172
181
  InlineStylesheet: ReactUnity.Styling.StyleSheet;
173
182
  Id: string;
183
+ RefId: number;
174
184
  Name: string;
175
185
  Tag: string;
176
186
  TextContent: string;
@@ -241,6 +251,7 @@ export declare namespace ReactUnity {
241
251
  Name: string;
242
252
  Tag: string;
243
253
  TextContent: string;
254
+ RefId: number;
244
255
  ClassName: string;
245
256
  Content: string;
246
257
  ClassList: ReactUnity.Helpers.ClassList;
@@ -324,6 +335,10 @@ export declare namespace ReactUnity {
324
335
  PlayAudio(clip: UnityEngine.AudioClip): void;
325
336
  Start(): void;
326
337
  Dispose(): void;
338
+ SetRef(refId: number, cmp: ReactUnity.IReactComponent): void;
339
+ GetRef(refId: number, ensureUpdate?: boolean): ReactUnity.IReactComponent;
340
+ BindCommands(commandsObject: any, callbacksObject: any, getObjectCallback: any, getEventAsObjectCallback: any): void;
341
+ FlushCommands(serializedCommands?: string): void;
327
342
  Equals(obj: any): boolean;
328
343
  GetHashCode(): number;
329
344
  GetType(): System.Type;
@@ -385,6 +400,7 @@ export declare namespace ReactUnity {
385
400
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
386
401
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
387
402
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
403
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
388
404
  GetComponentInParent(t: System.Type): UnityEngine.Component;
389
405
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
390
406
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -411,12 +427,15 @@ export declare namespace ReactUnity {
411
427
  }
412
428
  class ReactUnityBridge {
413
429
  static Instance: ReactUnity.ReactUnityBridge;
430
+ CurrentEventPriority: number;
431
+ SetCurrentEventPriority(priority: ReactUnity.EventPriority): void;
414
432
  createText(text: string, host: ReactUnity.IReactComponent): ReactUnity.ITextComponent;
415
433
  createElement(tag: string, text: string, host: ReactUnity.IReactComponent, props?: any): ReactUnity.IReactComponent;
416
434
  appendChild(parent: any, child: any): void;
417
435
  appendChildToContainer(parent: any, child: any): void;
418
436
  insertBefore(parent: any, child: any, beforeChild: any): void;
419
437
  removeChild(parent: any, child: any): void;
438
+ clearContainer(parent: any): void;
420
439
  setText(instance: any, text: string): void;
421
440
  setProperty(element: any, property: string, value: any): void;
422
441
  setData(element: any, property: string, value: any): void;
@@ -487,6 +506,7 @@ export declare namespace ReactUnity {
487
506
  Name: string;
488
507
  Tag: string;
489
508
  TextContent: string;
509
+ RefId: number;
490
510
  ClassName: string;
491
511
  ClassList: ReactUnity.Helpers.ClassList;
492
512
  StateStyles: ReactUnity.Styling.StateStyles;
@@ -583,6 +603,7 @@ export declare namespace ReactUnity {
583
603
  static FloatConverter: ReactUnity.Converters.IStyleConverter;
584
604
  static AngleConverter: ReactUnity.Converters.IStyleConverter;
585
605
  static LengthConverter: ReactUnity.Converters.IStyleConverter;
606
+ static FontSizeConverter: ReactUnity.Converters.IStyleConverter;
586
607
  static DurationConverter: ReactUnity.Converters.IStyleConverter;
587
608
  static PercentageConverter: ReactUnity.Converters.IStyleConverter;
588
609
  static ColorValueConverter: ReactUnity.Converters.IStyleConverter;
@@ -590,6 +611,7 @@ export declare namespace ReactUnity {
590
611
  static GeneralConverter: ReactUnity.Converters.IStyleConverter;
591
612
  static YogaValueConverter: ReactUnity.Converters.IStyleConverter;
592
613
  static YogaValue2Converter: ReactUnity.Converters.IStyleConverter;
614
+ static BorderRadiusConverter: ReactUnity.Converters.IStyleConverter;
593
615
  static Vector2Converter: ReactUnity.Converters.IStyleConverter;
594
616
  static Vector3Converter: ReactUnity.Converters.IStyleConverter;
595
617
  static IntConverter: ReactUnity.Converters.IStyleConverter;
@@ -604,6 +626,7 @@ export declare namespace ReactUnity {
604
626
  static VideoReferenceConverter: ReactUnity.Converters.IStyleConverter;
605
627
  static FontReferenceConverter: ReactUnity.Converters.IStyleConverter;
606
628
  static RotateConverter: ReactUnity.Converters.IStyleConverter;
629
+ static ScaleConverter: ReactUnity.Converters.IStyleConverter;
607
630
  static TransitionPropertyConverter: ReactUnity.Converters.IStyleConverter;
608
631
  static CursorListConverter: ReactUnity.Converters.IStyleConverter;
609
632
  static TimingFunctionConverter: ReactUnity.Converters.IStyleConverter;
@@ -709,6 +732,16 @@ export declare namespace ReactUnity {
709
732
  GetType(): System.Type;
710
733
  ToString(): string;
711
734
  }
735
+ class FontSizeConverter {
736
+ constructor();
737
+ CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
738
+ Parse(value: string): any;
739
+ Convert(value: any): any;
740
+ Equals(obj: any): boolean;
741
+ GetHashCode(): number;
742
+ GetType(): System.Type;
743
+ ToString(): string;
744
+ }
712
745
  class AngleConverter {
713
746
  constructor();
714
747
  CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
@@ -740,13 +773,6 @@ export declare namespace ReactUnity {
740
773
  GetType(): System.Type;
741
774
  ToString(): string;
742
775
  }
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
- }
750
776
  class IntConverter {
751
777
  constructor();
752
778
  FloatParser: ReactUnity.Converters.FloatConverter;
@@ -758,6 +784,13 @@ export declare namespace ReactUnity {
758
784
  GetType(): System.Type;
759
785
  ToString(): string;
760
786
  }
787
+ interface IStyleParser {
788
+ Parse(value: string): any;
789
+ }
790
+ interface IStyleConverter {
791
+ Convert(value: any): any;
792
+ CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
793
+ }
761
794
  class StringConverter {
762
795
  constructor();
763
796
  CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
@@ -790,7 +823,7 @@ export declare namespace ReactUnity {
790
823
  ToString(): string;
791
824
  }
792
825
  class Vector3Converter {
793
- constructor(singleValueMode?: ((arg0: number) => UnityEngine.Vector3), floatParser?: ReactUnity.Converters.IStyleConverter);
826
+ constructor(singleValueMode?: ((arg0: number) => UnityEngine.Vector3), floatParser?: ReactUnity.Converters.IStyleConverter, defaultZValue?: number);
794
827
  CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
795
828
  Parse(value: string): any;
796
829
  Convert(value: any): any;
@@ -837,6 +870,7 @@ export declare namespace ReactUnity {
837
870
  ReloadPreviewInstances(): void;
838
871
  UseDefaultMargins(): boolean;
839
872
  Initialize(targets: UnityEngine.Object[]): void;
873
+ Cleanup(): void;
840
874
  MoveNextTarget(): boolean;
841
875
  ResetTarget(): void;
842
876
  SetDirty(): void;
@@ -925,6 +959,7 @@ export declare namespace ReactUnity {
925
959
  ShowAuxWindow(): void;
926
960
  ShowModal(): void;
927
961
  SaveChanges(): void;
962
+ DiscardChanges(): void;
928
963
  Close(): void;
929
964
  Repaint(): void;
930
965
  SendEvent(e: UnityEngine.Event): boolean;
@@ -1006,6 +1041,7 @@ export declare namespace ReactUnity {
1006
1041
  ShowAuxWindow(): void;
1007
1042
  ShowModal(): void;
1008
1043
  SaveChanges(): void;
1044
+ DiscardChanges(): void;
1009
1045
  Close(): void;
1010
1046
  Repaint(): void;
1011
1047
  SendEvent(e: UnityEngine.Event): boolean;
@@ -1041,6 +1077,7 @@ export declare namespace ReactUnity {
1041
1077
  ReloadPreviewInstances(): void;
1042
1078
  UseDefaultMargins(): boolean;
1043
1079
  Initialize(targets: UnityEngine.Object[]): void;
1080
+ Cleanup(): void;
1044
1081
  MoveNextTarget(): boolean;
1045
1082
  ResetTarget(): void;
1046
1083
  SetDirty(): void;
@@ -1130,6 +1167,10 @@ export declare namespace ReactUnity {
1130
1167
  CreateStaticScript(path: string): ReactUnity.ScriptSource;
1131
1168
  Start(): void;
1132
1169
  Dispose(): void;
1170
+ SetRef(refId: number, cmp: ReactUnity.IReactComponent): void;
1171
+ GetRef(refId: number, ensureUpdate?: boolean): ReactUnity.IReactComponent;
1172
+ BindCommands(commandsObject: any, callbacksObject: any, getObjectCallback: any, getEventAsObjectCallback: any): void;
1173
+ FlushCommands(serializedCommands?: string): void;
1133
1174
  Equals(obj: any): boolean;
1134
1175
  GetHashCode(): number;
1135
1176
  GetType(): System.Type;
@@ -1194,6 +1235,7 @@ export declare namespace ReactUnity {
1194
1235
  ShowAuxWindow(): void;
1195
1236
  ShowModal(): void;
1196
1237
  SaveChanges(): void;
1238
+ DiscardChanges(): void;
1197
1239
  Close(): void;
1198
1240
  Repaint(): void;
1199
1241
  SendEvent(e: UnityEngine.Event): boolean;
@@ -1228,6 +1270,7 @@ export declare namespace ReactUnity {
1228
1270
  ReloadPreviewInstances(): void;
1229
1271
  UseDefaultMargins(): boolean;
1230
1272
  Initialize(targets: UnityEngine.Object[]): void;
1273
+ Cleanup(): void;
1231
1274
  MoveNextTarget(): boolean;
1232
1275
  ResetTarget(): void;
1233
1276
  SetDirty(): void;
@@ -1298,6 +1341,7 @@ export declare namespace ReactUnity {
1298
1341
  ShowAuxWindow(): void;
1299
1342
  ShowModal(): void;
1300
1343
  SaveChanges(): void;
1344
+ DiscardChanges(): void;
1301
1345
  Close(): void;
1302
1346
  Repaint(): void;
1303
1347
  SendEvent(e: UnityEngine.Event): boolean;
@@ -1361,6 +1405,7 @@ export declare namespace ReactUnity {
1361
1405
  ClassName: string;
1362
1406
  ClassList: ReactUnity.Helpers.ClassList;
1363
1407
  Id: string;
1408
+ RefId: number;
1364
1409
  IsContainer: boolean;
1365
1410
  Children: ReactUnity.IReactComponent[];
1366
1411
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -1457,6 +1502,7 @@ export declare namespace ReactUnity {
1457
1502
  ShowAuxWindow(): void;
1458
1503
  ShowModal(): void;
1459
1504
  SaveChanges(): void;
1505
+ DiscardChanges(): void;
1460
1506
  Close(): void;
1461
1507
  Repaint(): void;
1462
1508
  SendEvent(e: UnityEngine.Event): boolean;
@@ -1500,6 +1546,7 @@ export declare namespace ReactUnity {
1500
1546
  cacheAsBitmap: boolean;
1501
1547
  parent: UnityEngine.UIElements.VisualElement;
1502
1548
  panel: UnityEngine.UIElements.IPanel;
1549
+ visualTreeAssetSource: UnityEngine.UIElements.VisualTreeAsset;
1503
1550
  childCount: number;
1504
1551
  schedule: UnityEngine.UIElements.IVisualElementScheduler;
1505
1552
  style: UnityEngine.UIElements.IStyle;
@@ -1587,6 +1634,7 @@ export declare namespace ReactUnity {
1587
1634
  ClassName: string;
1588
1635
  ClassList: ReactUnity.Helpers.ClassList;
1589
1636
  Id: string;
1637
+ RefId: number;
1590
1638
  IsContainer: boolean;
1591
1639
  Children: ReactUnity.IReactComponent[];
1592
1640
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -1664,6 +1712,7 @@ export declare namespace ReactUnity {
1664
1712
  ClassName: string;
1665
1713
  ClassList: ReactUnity.Helpers.ClassList;
1666
1714
  Id: string;
1715
+ RefId: number;
1667
1716
  IsContainer: boolean;
1668
1717
  Children: ReactUnity.IReactComponent[];
1669
1718
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -1745,6 +1794,7 @@ export declare namespace ReactUnity {
1745
1794
  ClassName: string;
1746
1795
  ClassList: ReactUnity.Helpers.ClassList;
1747
1796
  Id: string;
1797
+ RefId: number;
1748
1798
  IsContainer: boolean;
1749
1799
  Children: ReactUnity.IReactComponent[];
1750
1800
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -1831,6 +1881,7 @@ export declare namespace ReactUnity {
1831
1881
  parent: UnityEngine.UIElements.VisualElement;
1832
1882
  panel: UnityEngine.UIElements.IPanel;
1833
1883
  contentContainer: UnityEngine.UIElements.VisualElement;
1884
+ visualTreeAssetSource: UnityEngine.UIElements.VisualTreeAsset;
1834
1885
  childCount: number;
1835
1886
  schedule: UnityEngine.UIElements.IVisualElementScheduler;
1836
1887
  style: UnityEngine.UIElements.IStyle;
@@ -1892,11 +1943,13 @@ export declare namespace ReactUnity {
1892
1943
  constructor(callback: ((arg0: any, arg1: any[]) => any), engine: any);
1893
1944
  constructor(callback: any);
1894
1945
  constructor(callback: any);
1946
+ constructor(index: number, context: ReactUnity.ReactContext);
1895
1947
  callback: any;
1896
1948
  Engine: any;
1897
1949
  static From(value: any, context?: ReactUnity.ReactContext, thisVal?: any): ReactUnity.Helpers.Callback;
1898
1950
  Call(): any;
1899
1951
  Call(...args: any[]): any;
1952
+ CallWithPriority(priority: ReactUnity.EventPriority, ...args: any[]): any;
1900
1953
  Equals(obj: any): boolean;
1901
1954
  GetHashCode(): number;
1902
1955
  GetType(): System.Type;
@@ -1955,6 +2008,7 @@ export declare namespace ReactUnity {
1955
2008
  GetPersistentTarget(index: number): UnityEngine.Object;
1956
2009
  GetPersistentMethodName(index: number): string;
1957
2010
  SetPersistentListenerState(index: number, state: UnityEngine.Events.UnityEventCallState): void;
2011
+ GetPersistentListenerState(index: number): UnityEngine.Events.UnityEventCallState;
1958
2012
  RemoveAllListeners(): void;
1959
2013
  ToString(): string;
1960
2014
  Equals(obj: any): boolean;
@@ -1970,6 +2024,7 @@ export declare namespace ReactUnity {
1970
2024
  GetPersistentTarget(index: number): UnityEngine.Object;
1971
2025
  GetPersistentMethodName(index: number): string;
1972
2026
  SetPersistentListenerState(index: number, state: UnityEngine.Events.UnityEventCallState): void;
2027
+ GetPersistentListenerState(index: number): UnityEngine.Events.UnityEventCallState;
1973
2028
  RemoveAllListeners(): void;
1974
2029
  ToString(): string;
1975
2030
  Equals(obj: any): boolean;
@@ -2028,6 +2083,9 @@ export declare namespace ReactUnity {
2028
2083
  OnDeserialization(sender: any): void;
2029
2084
  Remove(key: string): boolean;
2030
2085
  TryAdd(key: string, value: any): boolean;
2086
+ EnsureCapacity(capacity: number): number;
2087
+ TrimExcess(): void;
2088
+ TrimExcess(capacity: number): void;
2031
2089
  Equals(obj: any): boolean;
2032
2090
  GetHashCode(): number;
2033
2091
  GetType(): System.Type;
@@ -2311,6 +2369,7 @@ export declare namespace ReactUnity {
2311
2369
  Name: string;
2312
2370
  Tag: string;
2313
2371
  TextContent: string;
2372
+ RefId: number;
2314
2373
  ClassName: string;
2315
2374
  ClassList: ReactUnity.Helpers.ClassList;
2316
2375
  StateStyles: ReactUnity.Styling.StateStyles;
@@ -2388,6 +2447,77 @@ export declare namespace ReactUnity {
2388
2447
  GetType(): System.Type;
2389
2448
  ToString(): string;
2390
2449
  }
2450
+ class CurrentLifecycle {
2451
+ constructor();
2452
+ State: string;
2453
+ StateID: number;
2454
+ useGUILayout: boolean;
2455
+ runInEditMode: boolean;
2456
+ enabled: boolean;
2457
+ isActiveAndEnabled: boolean;
2458
+ transform: UnityEngine.Transform;
2459
+ gameObject: UnityEngine.GameObject;
2460
+ tag: string;
2461
+ rigidbody: UnityEngine.Component;
2462
+ rigidbody2D: UnityEngine.Component;
2463
+ camera: UnityEngine.Component;
2464
+ light: UnityEngine.Component;
2465
+ animation: UnityEngine.Component;
2466
+ constantForce: UnityEngine.Component;
2467
+ renderer: UnityEngine.Component;
2468
+ audio: UnityEngine.Component;
2469
+ networkView: UnityEngine.Component;
2470
+ collider: UnityEngine.Component;
2471
+ collider2D: UnityEngine.Component;
2472
+ hingeJoint: UnityEngine.Component;
2473
+ particleSystem: UnityEngine.Component;
2474
+ name: string;
2475
+ hideFlags: UnityEngine.HideFlags;
2476
+ IsInvoking(): boolean;
2477
+ CancelInvoke(): void;
2478
+ Invoke(methodName: string, time: number): void;
2479
+ InvokeRepeating(methodName: string, time: number, repeatRate: number): void;
2480
+ CancelInvoke(methodName: string): void;
2481
+ IsInvoking(methodName: string): boolean;
2482
+ StartCoroutine(methodName: string): UnityEngine.Coroutine;
2483
+ StartCoroutine(methodName: string, value: any): UnityEngine.Coroutine;
2484
+ StartCoroutine(routine: System.Collections.IEnumerator): UnityEngine.Coroutine;
2485
+ StartCoroutine_Auto(routine: System.Collections.IEnumerator): UnityEngine.Coroutine;
2486
+ StopCoroutine(routine: System.Collections.IEnumerator): void;
2487
+ StopCoroutine(routine: UnityEngine.Coroutine): void;
2488
+ StopCoroutine(methodName: string): void;
2489
+ StopAllCoroutines(): void;
2490
+ GetComponent(type: System.Type): UnityEngine.Component;
2491
+ GetComponent(type: string): UnityEngine.Component;
2492
+ GetComponentInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component;
2493
+ GetComponentInChildren(t: System.Type): UnityEngine.Component;
2494
+ GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
2495
+ GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
2496
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
2497
+ GetComponentInParent(t: System.Type): UnityEngine.Component;
2498
+ GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
2499
+ GetComponentsInParent(t: System.Type): UnityEngine.Component[];
2500
+ GetComponents(type: System.Type): UnityEngine.Component[];
2501
+ GetComponents(type: System.Type, results: UnityEngine.Component[]): void;
2502
+ CompareTag(tag: string): boolean;
2503
+ SendMessageUpwards(methodName: string, value: any, options: UnityEngine.SendMessageOptions): void;
2504
+ SendMessageUpwards(methodName: string, value: any): void;
2505
+ SendMessageUpwards(methodName: string): void;
2506
+ SendMessageUpwards(methodName: string, options: UnityEngine.SendMessageOptions): void;
2507
+ SendMessage(methodName: string, value: any): void;
2508
+ SendMessage(methodName: string): void;
2509
+ SendMessage(methodName: string, value: any, options: UnityEngine.SendMessageOptions): void;
2510
+ SendMessage(methodName: string, options: UnityEngine.SendMessageOptions): void;
2511
+ BroadcastMessage(methodName: string, parameter: any, options: UnityEngine.SendMessageOptions): void;
2512
+ BroadcastMessage(methodName: string, parameter: any): void;
2513
+ BroadcastMessage(methodName: string): void;
2514
+ BroadcastMessage(methodName: string, options: UnityEngine.SendMessageOptions): void;
2515
+ GetInstanceID(): number;
2516
+ GetHashCode(): number;
2517
+ Equals(other: any): boolean;
2518
+ ToString(): string;
2519
+ GetType(): System.Type;
2520
+ }
2391
2521
  class DefaultScheduler {
2392
2522
  constructor(dispatcher: ReactUnity.Scheduling.IDispatcher, context: ReactUnity.ReactContext);
2393
2523
  setTimeout(callback: any, timeout: number): number;
@@ -2471,6 +2601,7 @@ export declare namespace ReactUnity {
2471
2601
  class RuntimeDispatcher {
2472
2602
  constructor();
2473
2603
  Scheduler: ReactUnity.Scheduling.IScheduler;
2604
+ CurrentLifecycle: ReactUnity.Scheduling.CurrentLifecycle;
2474
2605
  useGUILayout: boolean;
2475
2606
  runInEditMode: boolean;
2476
2607
  enabled: boolean;
@@ -2527,6 +2658,7 @@ export declare namespace ReactUnity {
2527
2658
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
2528
2659
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
2529
2660
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
2661
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
2530
2662
  GetComponentInParent(t: System.Type): UnityEngine.Component;
2531
2663
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
2532
2664
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -2668,6 +2800,7 @@ export declare namespace ReactUnity {
2668
2800
  Name: string;
2669
2801
  Tag: string;
2670
2802
  TextContent: string;
2803
+ RefId: number;
2671
2804
  ClassName: string;
2672
2805
  ClassList: ReactUnity.Helpers.ClassList;
2673
2806
  StateStyles: ReactUnity.Styling.StateStyles;
@@ -2729,6 +2862,7 @@ export declare namespace ReactUnity {
2729
2862
  Initialize(): void;
2730
2863
  ExecuteScript(code: string, fileName?: string): void;
2731
2864
  EvaluateScript(code: string, fileName?: string): any;
2865
+ CreateEventCallback(code: string, thisVal: any): ReactUnity.Helpers.Callback;
2732
2866
  Dispose(): void;
2733
2867
  Equals(obj: any): boolean;
2734
2868
  GetHashCode(): number;
@@ -2750,6 +2884,7 @@ export declare namespace ReactUnity {
2750
2884
  error(msg: any, ...subs: any[]): void;
2751
2885
  dir(msg: any): void;
2752
2886
  dir(msg: any, ...subs: any[]): void;
2887
+ count(msg?: any): number;
2753
2888
  clear(): void;
2754
2889
  assert(val: boolean): void;
2755
2890
  Equals(obj: any): boolean;
@@ -3279,10 +3414,6 @@ export declare namespace ReactUnity {
3279
3414
  GetType(): System.Type;
3280
3415
  ToString(): string;
3281
3416
  }
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
- }
3286
3417
  class IconSet {
3287
3418
  constructor();
3288
3419
  name: string;
@@ -3336,6 +3467,10 @@ export declare namespace ReactUnity {
3336
3467
  GetType(): System.Type;
3337
3468
  ToString(): string;
3338
3469
  }
3470
+ interface IStyleKey {
3471
+ ModifiedProperties: ReactUnity.Styling.IStyleProperty[];
3472
+ Modify(collection: System.Collections.Generic.IDictionary<ReactUnity.Styling.IStyleProperty, any>, value: any): ReactUnity.Styling.IStyleProperty[];
3473
+ }
3339
3474
  class NodeStyle {
3340
3475
  constructor(context: ReactUnity.ReactContext, fallback?: ReactUnity.Styling.NodeStyle, cssStyles?: System.Collections.Generic.IDictionary<ReactUnity.Styling.IStyleProperty, any>[]);
3341
3476
  HasInheritedChanges: boolean;
@@ -3346,10 +3481,10 @@ export declare namespace ReactUnity {
3346
3481
  position: ReactUnity.Types.PositionType;
3347
3482
  cursor: ReactUnity.Types.CursorList;
3348
3483
  pointerEvents: ReactUnity.Types.PointerEvents;
3349
- borderTopLeftRadius: number;
3350
- borderTopRightRadius: number;
3351
- borderBottomLeftRadius: number;
3352
- borderBottomRightRadius: number;
3484
+ borderTopLeftRadius: ReactUnity.Types.YogaValue2;
3485
+ borderTopRightRadius: ReactUnity.Types.YogaValue2;
3486
+ borderBottomLeftRadius: ReactUnity.Types.YogaValue2;
3487
+ borderBottomRightRadius: ReactUnity.Types.YogaValue2;
3353
3488
  borderLeftColor: UnityEngine.Color;
3354
3489
  borderRightColor: UnityEngine.Color;
3355
3490
  borderTopColor: UnityEngine.Color;
@@ -3358,7 +3493,7 @@ export declare namespace ReactUnity {
3358
3493
  transformOrigin: ReactUnity.Types.YogaValue2;
3359
3494
  translate: ReactUnity.Types.YogaValue2;
3360
3495
  translateZ: Facebook.Yoga.YogaValue;
3361
- scale: UnityEngine.Vector2;
3496
+ scale: UnityEngine.Vector3;
3362
3497
  rotate: UnityEngine.Vector3;
3363
3498
  fontFamily: ReactUnity.Types.FontReference;
3364
3499
  color: UnityEngine.Color;
@@ -3693,6 +3828,7 @@ export declare namespace ReactUnity {
3693
3828
  Name: string;
3694
3829
  Tag: string;
3695
3830
  TextContent: string;
3831
+ RefId: number;
3696
3832
  ClassName: string;
3697
3833
  ClassList: ReactUnity.Helpers.ClassList;
3698
3834
  StateStyles: ReactUnity.Styling.StateStyles;
@@ -3866,25 +4002,6 @@ export declare namespace ReactUnity {
3866
4002
  GetType(): System.Type;
3867
4003
  ToString(): string;
3868
4004
  }
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
- }
3888
4005
  class TimingFunction {
3889
4006
  constructor(object: any, method: System.IntPtr);
3890
4007
  Method: System.Reflection.MethodInfo;
@@ -3918,6 +4035,25 @@ export declare namespace ReactUnity {
3918
4035
  GetType(): System.Type;
3919
4036
  ToString(): string;
3920
4037
  }
4038
+ enum TimingFunctionType {
4039
+ Ease = 0,
4040
+ Linear = 1,
4041
+ EaseIn = 2,
4042
+ EaseOut = 3,
4043
+ EaseInOut = 4,
4044
+ StepStart = 5,
4045
+ StepEnd = 6
4046
+ }
4047
+ enum StepsJumpMode {
4048
+ End = 0,
4049
+ JumpEnd = 0,
4050
+ Start = 1,
4051
+ JumpStart = 1,
4052
+ None = 2,
4053
+ JumpNone = 2,
4054
+ Both = 3,
4055
+ JumpBoth = 3
4056
+ }
3921
4057
  class TransitionProperty {
3922
4058
  constructor(definition: string);
3923
4059
  Definition: string;
@@ -4101,15 +4237,13 @@ export declare namespace ReactUnity {
4101
4237
  ToString(): string;
4102
4238
  }
4103
4239
  class StyleTree {
4104
- constructor(parser: any);
4105
- Parser: any;
4240
+ constructor();
4106
4241
  MediaQuery: ReactUnity.Styling.Rules.MediaQueryList;
4107
4242
  Scope: ReactUnity.IReactComponent;
4108
4243
  Specifity: number;
4109
4244
  LeafNodes: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
4110
4245
  BeforeNodes: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
4111
4246
  AfterNodes: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
4112
- Tree: ReactUnity.Styling.Rules.RuleTree<ReactUnity.Styling.Rules.StyleData>;
4113
4247
  Parent: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>;
4114
4248
  Selector: string;
4115
4249
  ParsedSelector: ReactUnity.Styling.Rules.RuleSelectorPart[];
@@ -4137,15 +4271,13 @@ export declare namespace ReactUnity {
4137
4271
  ToString(): string;
4138
4272
  }
4139
4273
  class RuleTree<T = any> {
4140
- constructor(parser: any);
4141
- Parser: any;
4274
+ constructor();
4142
4275
  MediaQuery: ReactUnity.Styling.Rules.MediaQueryList;
4143
4276
  Scope: ReactUnity.IReactComponent;
4144
4277
  Specifity: number;
4145
4278
  LeafNodes: ReactUnity.Styling.Rules.RuleTreeNode<T>[];
4146
4279
  BeforeNodes: ReactUnity.Styling.Rules.RuleTreeNode<T>[];
4147
4280
  AfterNodes: ReactUnity.Styling.Rules.RuleTreeNode<T>[];
4148
- Tree: ReactUnity.Styling.Rules.RuleTree<T>;
4149
4281
  Parent: ReactUnity.Styling.Rules.RuleTreeNode<T>;
4150
4282
  Selector: string;
4151
4283
  ParsedSelector: ReactUnity.Styling.Rules.RuleSelectorPart[];
@@ -4175,7 +4307,6 @@ export declare namespace ReactUnity {
4175
4307
  MediaQuery: ReactUnity.Styling.Rules.MediaQueryList;
4176
4308
  Scope: ReactUnity.IReactComponent;
4177
4309
  Specifity: number;
4178
- Tree: ReactUnity.Styling.Rules.RuleTree<T>;
4179
4310
  Parent: ReactUnity.Styling.Rules.RuleTreeNode<T>;
4180
4311
  Selector: string;
4181
4312
  ParsedSelector: ReactUnity.Styling.Rules.RuleSelectorPart[];
@@ -4253,6 +4384,8 @@ export declare namespace ReactUnity {
4253
4384
  class RuleSelectorPart {
4254
4385
  constructor();
4255
4386
  static Important: ReactUnity.Styling.Rules.RuleSelectorPart;
4387
+ static Before: ReactUnity.Styling.Rules.RuleSelectorPart;
4388
+ static After: ReactUnity.Styling.Rules.RuleSelectorPart;
4256
4389
  Negated: boolean;
4257
4390
  Type: ReactUnity.Styling.Rules.RuleSelectorPartType;
4258
4391
  Name: string;
@@ -4542,9 +4675,11 @@ export declare namespace ReactUnity {
4542
4675
  constructor(other: ReactUnity.Types.FontSource);
4543
4676
  constructor(font: UnityEngine.Font);
4544
4677
  constructor(font: any);
4678
+ constructor(font: UnityEngine.TextCore.Text.FontAsset);
4545
4679
  Valid: boolean;
4546
4680
  Font: UnityEngine.Font;
4547
4681
  TmpFontAsset: any;
4682
+ TextCoreFontAsset: UnityEngine.TextCore.Text.FontAsset;
4548
4683
  Equals(obj: any): boolean;
4549
4684
  GetHashCode(): number;
4550
4685
  GetType(): System.Type;
@@ -4780,7 +4915,10 @@ export declare namespace ReactUnity {
4780
4915
  static Auto: ReactUnity.Types.YogaValue2;
4781
4916
  static Center: ReactUnity.Types.YogaValue2;
4782
4917
  static Full: ReactUnity.Types.YogaValue2;
4918
+ static Point(x: number, y: number): ReactUnity.Types.YogaValue2;
4919
+ static Percent(x: number, y: number): ReactUnity.Types.YogaValue2;
4783
4920
  AsVector(): UnityEngine.Vector2;
4921
+ IsZero(): boolean;
4784
4922
  Equals(obj: any): boolean;
4785
4923
  GetHashCode(): number;
4786
4924
  ToCSS(): string;
@@ -4903,7 +5041,7 @@ export declare namespace ReactUnity {
4903
5041
  ToString(): string;
4904
5042
  }
4905
5043
  class YogaValue2_Converter {
4906
- constructor();
5044
+ constructor(allowLiterals?: boolean, separator?: System.Char, singleValueAssignsBoth?: boolean);
4907
5045
  CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
4908
5046
  Parse(value: string): any;
4909
5047
  Convert(value: any): any;
@@ -4951,6 +5089,7 @@ export declare namespace ReactUnity {
4951
5089
  ClassName: string;
4952
5090
  ClassList: ReactUnity.Helpers.ClassList;
4953
5091
  Id: string;
5092
+ RefId: number;
4954
5093
  IsContainer: boolean;
4955
5094
  Children: ReactUnity.IReactComponent[];
4956
5095
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -5038,6 +5177,7 @@ export declare namespace ReactUnity {
5038
5177
  ClassName: string;
5039
5178
  ClassList: ReactUnity.Helpers.ClassList;
5040
5179
  Id: string;
5180
+ RefId: number;
5041
5181
  IsContainer: boolean;
5042
5182
  Children: ReactUnity.IReactComponent[];
5043
5183
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -5125,6 +5265,7 @@ export declare namespace ReactUnity {
5125
5265
  ClassName: string;
5126
5266
  ClassList: ReactUnity.Helpers.ClassList;
5127
5267
  Id: string;
5268
+ RefId: number;
5128
5269
  IsContainer: boolean;
5129
5270
  Children: ReactUnity.IReactComponent[];
5130
5271
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -5208,6 +5349,7 @@ export declare namespace ReactUnity {
5208
5349
  ClassName: string;
5209
5350
  ClassList: ReactUnity.Helpers.ClassList;
5210
5351
  Id: string;
5352
+ RefId: number;
5211
5353
  IsContainer: boolean;
5212
5354
  Children: ReactUnity.IReactComponent[];
5213
5355
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -5290,6 +5432,7 @@ export declare namespace ReactUnity {
5290
5432
  ClassName: string;
5291
5433
  ClassList: ReactUnity.Helpers.ClassList;
5292
5434
  Id: string;
5435
+ RefId: number;
5293
5436
  IsContainer: boolean;
5294
5437
  Children: ReactUnity.IReactComponent[];
5295
5438
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -5374,6 +5517,7 @@ export declare namespace ReactUnity {
5374
5517
  ClassName: string;
5375
5518
  ClassList: ReactUnity.Helpers.ClassList;
5376
5519
  Id: string;
5520
+ RefId: number;
5377
5521
  IsContainer: boolean;
5378
5522
  Children: ReactUnity.IReactComponent[];
5379
5523
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -5461,6 +5605,7 @@ export declare namespace ReactUnity {
5461
5605
  ClassName: string;
5462
5606
  ClassList: ReactUnity.Helpers.ClassList;
5463
5607
  Id: string;
5608
+ RefId: number;
5464
5609
  IsContainer: boolean;
5465
5610
  Children: ReactUnity.IReactComponent[];
5466
5611
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -5550,6 +5695,7 @@ export declare namespace ReactUnity {
5550
5695
  ClassName: string;
5551
5696
  ClassList: ReactUnity.Helpers.ClassList;
5552
5697
  Id: string;
5698
+ RefId: number;
5553
5699
  IsContainer: boolean;
5554
5700
  Children: ReactUnity.IReactComponent[];
5555
5701
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -5605,6 +5751,9 @@ export declare namespace ReactUnity {
5605
5751
  Placeholder: string;
5606
5752
  PlaceholderShown: boolean;
5607
5753
  InputField: any;
5754
+ TextViewport: ReactUnity.UGUI.ContainerComponent;
5755
+ TextComponent: ReactUnity.UGUI.TextComponent;
5756
+ PlaceholderComponent: ReactUnity.UGUI.TextComponent;
5608
5757
  GameObject: UnityEngine.GameObject;
5609
5758
  RectTransform: UnityEngine.RectTransform;
5610
5759
  Component: ReactUnity.UGUI.Behaviours.ReactElement;
@@ -5637,6 +5786,7 @@ export declare namespace ReactUnity {
5637
5786
  ClassName: string;
5638
5787
  ClassList: ReactUnity.Helpers.ClassList;
5639
5788
  Id: string;
5789
+ RefId: number;
5640
5790
  IsContainer: boolean;
5641
5791
  Children: ReactUnity.IReactComponent[];
5642
5792
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -5648,7 +5798,6 @@ export declare namespace ReactUnity {
5648
5798
  ScrollWidth: number;
5649
5799
  ScrollHeight: number;
5650
5800
  SetText(text: string): void;
5651
- ResolveStyle(recursive?: boolean): void;
5652
5801
  Focus(): void;
5653
5802
  Activate(): void;
5654
5803
  AddEventListener(eventName: string, callback: ReactUnity.Helpers.Callback): (() => void);
@@ -5667,6 +5816,7 @@ export declare namespace ReactUnity {
5667
5816
  SetEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): void;
5668
5817
  FireEvent(eventName: string, arg: any): void;
5669
5818
  SetData(propertyName: string, value: any): void;
5819
+ ResolveStyle(recursive?: boolean): void;
5670
5820
  MarkStyleUpdateWithSiblings(recursive: boolean): void;
5671
5821
  ApplyStyles(): void;
5672
5822
  ApplyLayoutStyles(): void;
@@ -5721,6 +5871,7 @@ export declare namespace ReactUnity {
5721
5871
  ClassName: string;
5722
5872
  ClassList: ReactUnity.Helpers.ClassList;
5723
5873
  Id: string;
5874
+ RefId: number;
5724
5875
  IsContainer: boolean;
5725
5876
  Children: ReactUnity.IReactComponent[];
5726
5877
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -5809,6 +5960,7 @@ export declare namespace ReactUnity {
5809
5960
  ClassName: string;
5810
5961
  ClassList: ReactUnity.Helpers.ClassList;
5811
5962
  Id: string;
5963
+ RefId: number;
5812
5964
  IsContainer: boolean;
5813
5965
  Children: ReactUnity.IReactComponent[];
5814
5966
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -5891,6 +6043,7 @@ export declare namespace ReactUnity {
5891
6043
  ClassName: string;
5892
6044
  ClassList: ReactUnity.Helpers.ClassList;
5893
6045
  Id: string;
6046
+ RefId: number;
5894
6047
  IsContainer: boolean;
5895
6048
  Children: ReactUnity.IReactComponent[];
5896
6049
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -5973,6 +6126,7 @@ export declare namespace ReactUnity {
5973
6126
  ClassName: string;
5974
6127
  ClassList: ReactUnity.Helpers.ClassList;
5975
6128
  Id: string;
6129
+ RefId: number;
5976
6130
  IsContainer: boolean;
5977
6131
  Children: ReactUnity.IReactComponent[];
5978
6132
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -6059,6 +6213,7 @@ export declare namespace ReactUnity {
6059
6213
  ClassName: string;
6060
6214
  ClassList: ReactUnity.Helpers.ClassList;
6061
6215
  Id: string;
6216
+ RefId: number;
6062
6217
  IsContainer: boolean;
6063
6218
  Children: ReactUnity.IReactComponent[];
6064
6219
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -6146,6 +6301,7 @@ export declare namespace ReactUnity {
6146
6301
  ClassName: string;
6147
6302
  ClassList: ReactUnity.Helpers.ClassList;
6148
6303
  Id: string;
6304
+ RefId: number;
6149
6305
  IsContainer: boolean;
6150
6306
  Children: ReactUnity.IReactComponent[];
6151
6307
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -6193,16 +6349,11 @@ export declare namespace ReactUnity {
6193
6349
  GetType(): System.Type;
6194
6350
  ToString(): string;
6195
6351
  }
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;
6352
+ class ScrollbarComponent {
6353
+ constructor(context: ReactUnity.UGUI.UGUIContext);
6354
+ Horizontal: boolean;
6355
+ Scrollbar: UnityEngine.UI.Scrollbar;
6356
+ Thumb: ReactUnity.UGUI.ScrollbarThumbComponent;
6206
6357
  GameObject: UnityEngine.GameObject;
6207
6358
  RectTransform: UnityEngine.RectTransform;
6208
6359
  Component: ReactUnity.UGUI.Behaviours.ReactElement;
@@ -6235,16 +6386,20 @@ export declare namespace ReactUnity {
6235
6386
  ClassName: string;
6236
6387
  ClassList: ReactUnity.Helpers.ClassList;
6237
6388
  Id: string;
6389
+ RefId: number;
6238
6390
  IsContainer: boolean;
6239
6391
  Children: ReactUnity.IReactComponent[];
6240
6392
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
6241
6393
  AfterRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
6242
6394
  BeforePseudo: ReactUnity.IReactComponent;
6243
6395
  AfterPseudo: ReactUnity.IReactComponent;
6396
+ ScrollLeft: number;
6397
+ ScrollTop: number;
6398
+ ScrollWidth: number;
6399
+ ScrollHeight: number;
6244
6400
  SetProperty(propertyName: string, value: any): void;
6401
+ SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
6245
6402
  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;
6248
6403
  UpdateBackgroundGraphic(updateLayout: boolean, updateStyle: boolean): ReactUnity.UGUI.Internal.BorderAndBackground;
6249
6404
  GetRelativePosition(x: number, y: number): UnityEngine.Vector2;
6250
6405
  GetBoundingClientRect(): UnityEngine.Rect;
@@ -6255,7 +6410,6 @@ export declare namespace ReactUnity {
6255
6410
  MarkForStyleResolving(recursive: boolean): void;
6256
6411
  Remove(): void;
6257
6412
  Destroy(recursive?: boolean): void;
6258
- SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
6259
6413
  SetEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): void;
6260
6414
  FireEvent(eventName: string, arg: any): void;
6261
6415
  SetData(propertyName: string, value: any): void;
@@ -6280,11 +6434,8 @@ export declare namespace ReactUnity {
6280
6434
  GetType(): System.Type;
6281
6435
  ToString(): string;
6282
6436
  }
6283
- class ScrollbarComponent {
6437
+ class ScrollbarThumbComponent {
6284
6438
  constructor(context: ReactUnity.UGUI.UGUIContext);
6285
- Horizontal: boolean;
6286
- Scrollbar: UnityEngine.UI.Scrollbar;
6287
- Thumb: ReactUnity.UGUI.ScrollbarThumbComponent;
6288
6439
  GameObject: UnityEngine.GameObject;
6289
6440
  RectTransform: UnityEngine.RectTransform;
6290
6441
  Component: ReactUnity.UGUI.Behaviours.ReactElement;
@@ -6317,6 +6468,7 @@ export declare namespace ReactUnity {
6317
6468
  ClassName: string;
6318
6469
  ClassList: ReactUnity.Helpers.ClassList;
6319
6470
  Id: string;
6471
+ RefId: number;
6320
6472
  IsContainer: boolean;
6321
6473
  Children: ReactUnity.IReactComponent[];
6322
6474
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -6327,9 +6479,9 @@ export declare namespace ReactUnity {
6327
6479
  ScrollTop: number;
6328
6480
  ScrollWidth: number;
6329
6481
  ScrollHeight: number;
6330
- SetProperty(propertyName: string, value: any): void;
6331
6482
  SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
6332
6483
  AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
6484
+ SetProperty(propertyName: string, value: any): void;
6333
6485
  UpdateBackgroundGraphic(updateLayout: boolean, updateStyle: boolean): ReactUnity.UGUI.Internal.BorderAndBackground;
6334
6486
  GetRelativePosition(x: number, y: number): UnityEngine.Vector2;
6335
6487
  GetBoundingClientRect(): UnityEngine.Rect;
@@ -6364,8 +6516,16 @@ export declare namespace ReactUnity {
6364
6516
  GetType(): System.Type;
6365
6517
  ToString(): string;
6366
6518
  }
6367
- class ScrollbarThumbComponent {
6368
- constructor(context: ReactUnity.UGUI.UGUIContext);
6519
+ class ScrollComponent {
6520
+ constructor(ctx: ReactUnity.UGUI.UGUIContext);
6521
+ ScrollRect: ReactUnity.UGUI.Behaviours.SmoothScrollRect;
6522
+ ContentResizer: ReactUnity.UGUI.Behaviours.ScrollContentResizer;
6523
+ HorizontalScrollbar: ReactUnity.UGUI.ScrollbarComponent;
6524
+ VerticalScrollbar: ReactUnity.UGUI.ScrollbarComponent;
6525
+ ScrollWidth: number;
6526
+ ScrollHeight: number;
6527
+ ScrollLeft: number;
6528
+ ScrollTop: number;
6369
6529
  GameObject: UnityEngine.GameObject;
6370
6530
  RectTransform: UnityEngine.RectTransform;
6371
6531
  Component: ReactUnity.UGUI.Behaviours.ReactElement;
@@ -6398,19 +6558,17 @@ export declare namespace ReactUnity {
6398
6558
  ClassName: string;
6399
6559
  ClassList: ReactUnity.Helpers.ClassList;
6400
6560
  Id: string;
6561
+ RefId: number;
6401
6562
  IsContainer: boolean;
6402
6563
  Children: ReactUnity.IReactComponent[];
6403
6564
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
6404
6565
  AfterRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
6405
6566
  BeforePseudo: ReactUnity.IReactComponent;
6406
6567
  AfterPseudo: ReactUnity.IReactComponent;
6407
- ScrollLeft: number;
6408
- ScrollTop: number;
6409
- ScrollWidth: number;
6410
- ScrollHeight: number;
6411
- SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
6412
- AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
6413
6568
  SetProperty(propertyName: string, value: any): void;
6569
+ AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
6570
+ ScrollTo(left?: number, top?: number, smoothness?: number): void;
6571
+ ScrollBy(left?: number, top?: number, smoothness?: number): void;
6414
6572
  UpdateBackgroundGraphic(updateLayout: boolean, updateStyle: boolean): ReactUnity.UGUI.Internal.BorderAndBackground;
6415
6573
  GetRelativePosition(x: number, y: number): UnityEngine.Vector2;
6416
6574
  GetBoundingClientRect(): UnityEngine.Rect;
@@ -6421,6 +6579,7 @@ export declare namespace ReactUnity {
6421
6579
  MarkForStyleResolving(recursive: boolean): void;
6422
6580
  Remove(): void;
6423
6581
  Destroy(recursive?: boolean): void;
6582
+ SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
6424
6583
  SetEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): void;
6425
6584
  FireEvent(eventName: string, arg: any): void;
6426
6585
  SetData(propertyName: string, value: any): void;
@@ -6484,6 +6643,7 @@ export declare namespace ReactUnity {
6484
6643
  ClassName: string;
6485
6644
  ClassList: ReactUnity.Helpers.ClassList;
6486
6645
  Id: string;
6646
+ RefId: number;
6487
6647
  IsContainer: boolean;
6488
6648
  Children: ReactUnity.IReactComponent[];
6489
6649
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -6573,6 +6733,7 @@ export declare namespace ReactUnity {
6573
6733
  ClassName: string;
6574
6734
  ClassList: ReactUnity.Helpers.ClassList;
6575
6735
  Id: string;
6736
+ RefId: number;
6576
6737
  IsContainer: boolean;
6577
6738
  Children: ReactUnity.IReactComponent[];
6578
6739
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -6660,6 +6821,7 @@ export declare namespace ReactUnity {
6660
6821
  ClassName: string;
6661
6822
  ClassList: ReactUnity.Helpers.ClassList;
6662
6823
  Id: string;
6824
+ RefId: number;
6663
6825
  IsContainer: boolean;
6664
6826
  Children: ReactUnity.IReactComponent[];
6665
6827
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -6742,6 +6904,7 @@ export declare namespace ReactUnity {
6742
6904
  ClassName: string;
6743
6905
  ClassList: ReactUnity.Helpers.ClassList;
6744
6906
  Id: string;
6907
+ RefId: number;
6745
6908
  IsContainer: boolean;
6746
6909
  Children: ReactUnity.IReactComponent[];
6747
6910
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -6829,6 +6992,7 @@ export declare namespace ReactUnity {
6829
6992
  ClassName: string;
6830
6993
  ClassList: ReactUnity.Helpers.ClassList;
6831
6994
  Id: string;
6995
+ RefId: number;
6832
6996
  IsContainer: boolean;
6833
6997
  Children: ReactUnity.IReactComponent[];
6834
6998
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -6948,6 +7112,7 @@ export declare namespace ReactUnity {
6948
7112
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
6949
7113
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
6950
7114
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
7115
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
6951
7116
  GetComponentInParent(t: System.Type): UnityEngine.Component;
6952
7117
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
6953
7118
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -7026,6 +7191,10 @@ export declare namespace ReactUnity {
7026
7191
  CreateStaticScript(path: string): ReactUnity.ScriptSource;
7027
7192
  Start(): void;
7028
7193
  Dispose(): void;
7194
+ SetRef(refId: number, cmp: ReactUnity.IReactComponent): void;
7195
+ GetRef(refId: number, ensureUpdate?: boolean): ReactUnity.IReactComponent;
7196
+ BindCommands(commandsObject: any, callbacksObject: any, getObjectCallback: any, getEventAsObjectCallback: any): void;
7197
+ FlushCommands(serializedCommands?: string): void;
7029
7198
  Equals(obj: any): boolean;
7030
7199
  GetHashCode(): number;
7031
7200
  GetType(): System.Type;
@@ -7105,6 +7274,7 @@ export declare namespace ReactUnity {
7105
7274
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
7106
7275
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7107
7276
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
7277
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
7108
7278
  GetComponentInParent(t: System.Type): UnityEngine.Component;
7109
7279
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7110
7280
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -7175,6 +7345,7 @@ export declare namespace ReactUnity {
7175
7345
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
7176
7346
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7177
7347
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
7348
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
7178
7349
  GetComponentInParent(t: System.Type): UnityEngine.Component;
7179
7350
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7180
7351
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -7254,6 +7425,7 @@ export declare namespace ReactUnity {
7254
7425
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
7255
7426
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7256
7427
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
7428
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
7257
7429
  GetComponentInParent(t: System.Type): UnityEngine.Component;
7258
7430
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7259
7431
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -7333,6 +7505,7 @@ export declare namespace ReactUnity {
7333
7505
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
7334
7506
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7335
7507
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
7508
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
7336
7509
  GetComponentInParent(t: System.Type): UnityEngine.Component;
7337
7510
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7338
7511
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -7403,6 +7576,7 @@ export declare namespace ReactUnity {
7403
7576
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
7404
7577
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7405
7578
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
7579
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
7406
7580
  GetComponentInParent(t: System.Type): UnityEngine.Component;
7407
7581
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7408
7582
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -7474,6 +7648,7 @@ export declare namespace ReactUnity {
7474
7648
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
7475
7649
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7476
7650
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
7651
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
7477
7652
  GetComponentInParent(t: System.Type): UnityEngine.Component;
7478
7653
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7479
7654
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -7545,6 +7720,7 @@ export declare namespace ReactUnity {
7545
7720
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
7546
7721
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7547
7722
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
7723
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
7548
7724
  GetComponentInParent(t: System.Type): UnityEngine.Component;
7549
7725
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7550
7726
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -7621,6 +7797,7 @@ export declare namespace ReactUnity {
7621
7797
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
7622
7798
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7623
7799
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
7800
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
7624
7801
  GetComponentInParent(t: System.Type): UnityEngine.Component;
7625
7802
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7626
7803
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -7741,6 +7918,7 @@ export declare namespace ReactUnity {
7741
7918
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
7742
7919
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7743
7920
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
7921
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
7744
7922
  GetComponentInParent(t: System.Type): UnityEngine.Component;
7745
7923
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7746
7924
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -7812,6 +7990,7 @@ export declare namespace ReactUnity {
7812
7990
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
7813
7991
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7814
7992
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
7993
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
7815
7994
  GetComponentInParent(t: System.Type): UnityEngine.Component;
7816
7995
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7817
7996
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -7845,6 +8024,7 @@ export declare namespace ReactUnity {
7845
8024
  GetPersistentTarget(index: number): UnityEngine.Object;
7846
8025
  GetPersistentMethodName(index: number): string;
7847
8026
  SetPersistentListenerState(index: number, state: UnityEngine.Events.UnityEventCallState): void;
8027
+ GetPersistentListenerState(index: number): UnityEngine.Events.UnityEventCallState;
7848
8028
  RemoveAllListeners(): void;
7849
8029
  ToString(): string;
7850
8030
  Equals(obj: any): boolean;
@@ -7899,6 +8079,7 @@ export declare namespace ReactUnity {
7899
8079
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
7900
8080
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7901
8081
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
8082
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
7902
8083
  GetComponentInParent(t: System.Type): UnityEngine.Component;
7903
8084
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7904
8085
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -7969,6 +8150,7 @@ export declare namespace ReactUnity {
7969
8150
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
7970
8151
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7971
8152
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
8153
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
7972
8154
  GetComponentInParent(t: System.Type): UnityEngine.Component;
7973
8155
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
7974
8156
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -8039,6 +8221,7 @@ export declare namespace ReactUnity {
8039
8221
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
8040
8222
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8041
8223
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
8224
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
8042
8225
  GetComponentInParent(t: System.Type): UnityEngine.Component;
8043
8226
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8044
8227
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -8109,6 +8292,7 @@ export declare namespace ReactUnity {
8109
8292
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
8110
8293
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8111
8294
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
8295
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
8112
8296
  GetComponentInParent(t: System.Type): UnityEngine.Component;
8113
8297
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8114
8298
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -8179,6 +8363,7 @@ export declare namespace ReactUnity {
8179
8363
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
8180
8364
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8181
8365
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
8366
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
8182
8367
  GetComponentInParent(t: System.Type): UnityEngine.Component;
8183
8368
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8184
8369
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -8249,6 +8434,7 @@ export declare namespace ReactUnity {
8249
8434
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
8250
8435
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8251
8436
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
8437
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
8252
8438
  GetComponentInParent(t: System.Type): UnityEngine.Component;
8253
8439
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8254
8440
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -8320,6 +8506,7 @@ export declare namespace ReactUnity {
8320
8506
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
8321
8507
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8322
8508
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
8509
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
8323
8510
  GetComponentInParent(t: System.Type): UnityEngine.Component;
8324
8511
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8325
8512
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -8407,6 +8594,7 @@ export declare namespace ReactUnity {
8407
8594
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
8408
8595
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8409
8596
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
8597
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
8410
8598
  GetComponentInParent(t: System.Type): UnityEngine.Component;
8411
8599
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8412
8600
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -8477,6 +8665,7 @@ export declare namespace ReactUnity {
8477
8665
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
8478
8666
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8479
8667
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
8668
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
8480
8669
  GetComponentInParent(t: System.Type): UnityEngine.Component;
8481
8670
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8482
8671
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -8547,6 +8736,7 @@ export declare namespace ReactUnity {
8547
8736
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
8548
8737
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8549
8738
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
8739
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
8550
8740
  GetComponentInParent(t: System.Type): UnityEngine.Component;
8551
8741
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8552
8742
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -8617,6 +8807,7 @@ export declare namespace ReactUnity {
8617
8807
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
8618
8808
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8619
8809
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
8810
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
8620
8811
  GetComponentInParent(t: System.Type): UnityEngine.Component;
8621
8812
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8622
8813
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -8687,6 +8878,7 @@ export declare namespace ReactUnity {
8687
8878
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
8688
8879
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8689
8880
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
8881
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
8690
8882
  GetComponentInParent(t: System.Type): UnityEngine.Component;
8691
8883
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8692
8884
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -8757,6 +8949,7 @@ export declare namespace ReactUnity {
8757
8949
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
8758
8950
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8759
8951
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
8952
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
8760
8953
  GetComponentInParent(t: System.Type): UnityEngine.Component;
8761
8954
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8762
8955
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -8827,6 +9020,7 @@ export declare namespace ReactUnity {
8827
9020
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
8828
9021
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8829
9022
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
9023
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
8830
9024
  GetComponentInParent(t: System.Type): UnityEngine.Component;
8831
9025
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8832
9026
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -8898,6 +9092,7 @@ export declare namespace ReactUnity {
8898
9092
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
8899
9093
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8900
9094
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
9095
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
8901
9096
  GetComponentInParent(t: System.Type): UnityEngine.Component;
8902
9097
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8903
9098
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -8980,6 +9175,7 @@ export declare namespace ReactUnity {
8980
9175
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
8981
9176
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8982
9177
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
9178
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
8983
9179
  GetComponentInParent(t: System.Type): UnityEngine.Component;
8984
9180
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8985
9181
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -9050,6 +9246,7 @@ export declare namespace ReactUnity {
9050
9246
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
9051
9247
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9052
9248
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
9249
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
9053
9250
  GetComponentInParent(t: System.Type): UnityEngine.Component;
9054
9251
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9055
9252
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -9120,6 +9317,7 @@ export declare namespace ReactUnity {
9120
9317
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
9121
9318
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9122
9319
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
9320
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
9123
9321
  GetComponentInParent(t: System.Type): UnityEngine.Component;
9124
9322
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9125
9323
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -9190,6 +9388,7 @@ export declare namespace ReactUnity {
9190
9388
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
9191
9389
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9192
9390
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
9391
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
9193
9392
  GetComponentInParent(t: System.Type): UnityEngine.Component;
9194
9393
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9195
9394
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -9323,6 +9522,7 @@ export declare namespace ReactUnity {
9323
9522
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
9324
9523
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9325
9524
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
9525
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
9326
9526
  GetComponentInParent(t: System.Type): UnityEngine.Component;
9327
9527
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9328
9528
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -9412,7 +9612,8 @@ export declare namespace ReactUnity {
9412
9612
  BottomColor: UnityEngine.Color;
9413
9613
  LeftColor: UnityEngine.Color;
9414
9614
  BorderSize: UnityEngine.Vector4;
9415
- BorderRadius: UnityEngine.Vector4;
9615
+ InsetBorder: ReactUnity.UGUI.Internal.RoundedBorderMaskImage;
9616
+ BorderRadius: ReactUnity.Types.YogaValue2[];
9416
9617
  Size: UnityEngine.Vector4;
9417
9618
  GetDefaultMaterial(): UnityEngine.Material;
9418
9619
  DisableSpriteOptimizations(): void;
@@ -9472,6 +9673,7 @@ export declare namespace ReactUnity {
9472
9673
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
9473
9674
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9474
9675
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
9676
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
9475
9677
  GetComponentInParent(t: System.Type): UnityEngine.Component;
9476
9678
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9477
9679
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -9558,6 +9760,7 @@ export declare namespace ReactUnity {
9558
9760
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
9559
9761
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9560
9762
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
9763
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
9561
9764
  GetComponentInParent(t: System.Type): UnityEngine.Component;
9562
9765
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9563
9766
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -9644,8 +9847,7 @@ export declare namespace ReactUnity {
9644
9847
  hideFlags: UnityEngine.HideFlags;
9645
9848
  MaskRoot: UnityEngine.Transform;
9646
9849
  Shadow: ReactUnity.Types.BoxShadow;
9647
- BorderSize: UnityEngine.Vector4;
9648
- BorderRadius: UnityEngine.Vector4;
9850
+ BorderRadius: ReactUnity.Types.YogaValue2[];
9649
9851
  Size: UnityEngine.Vector4;
9650
9852
  GetDefaultMaterial(): UnityEngine.Material;
9651
9853
  DisableSpriteOptimizations(): void;
@@ -9705,6 +9907,7 @@ export declare namespace ReactUnity {
9705
9907
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
9706
9908
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9707
9909
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
9910
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
9708
9911
  GetComponentInParent(t: System.Type): UnityEngine.Component;
9709
9912
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9710
9913
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -9777,6 +9980,7 @@ export declare namespace ReactUnity {
9777
9980
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
9778
9981
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9779
9982
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
9983
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
9780
9984
  GetComponentInParent(t: System.Type): UnityEngine.Component;
9781
9985
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9782
9986
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -9861,7 +10065,7 @@ export declare namespace ReactUnity {
9861
10065
  particleSystem: UnityEngine.Component;
9862
10066
  name: string;
9863
10067
  hideFlags: UnityEngine.HideFlags;
9864
- BorderRadius: UnityEngine.Vector4;
10068
+ BorderRadius: ReactUnity.Types.YogaValue2[];
9865
10069
  Size: UnityEngine.Vector4;
9866
10070
  GetDefaultMaterial(): UnityEngine.Material;
9867
10071
  DisableSpriteOptimizations(): void;
@@ -9921,6 +10125,7 @@ export declare namespace ReactUnity {
9921
10125
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
9922
10126
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9923
10127
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
10128
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
9924
10129
  GetComponentInParent(t: System.Type): UnityEngine.Component;
9925
10130
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9926
10131
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -9994,6 +10199,7 @@ export declare namespace ReactUnity {
9994
10199
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
9995
10200
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9996
10201
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
10202
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
9997
10203
  GetComponentInParent(t: System.Type): UnityEngine.Component;
9998
10204
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9999
10205
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -10067,6 +10273,7 @@ export declare namespace ReactUnity {
10067
10273
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
10068
10274
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
10069
10275
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
10276
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
10070
10277
  GetComponentInParent(t: System.Type): UnityEngine.Component;
10071
10278
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
10072
10279
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -10138,6 +10345,7 @@ export declare namespace ReactUnity {
10138
10345
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
10139
10346
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
10140
10347
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
10348
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
10141
10349
  GetComponentInParent(t: System.Type): UnityEngine.Component;
10142
10350
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
10143
10351
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -10209,6 +10417,7 @@ export declare namespace ReactUnity {
10209
10417
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
10210
10418
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
10211
10419
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
10420
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
10212
10421
  GetComponentInParent(t: System.Type): UnityEngine.Component;
10213
10422
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
10214
10423
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -10278,6 +10487,7 @@ export declare namespace ReactUnity {
10278
10487
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
10279
10488
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
10280
10489
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
10490
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
10281
10491
  GetComponentInParent(t: System.Type): UnityEngine.Component;
10282
10492
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
10283
10493
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -10349,6 +10559,7 @@ export declare namespace ReactUnity {
10349
10559
  GetComponentInChildren(t: System.Type): UnityEngine.Component;
10350
10560
  GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
10351
10561
  GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
10562
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
10352
10563
  GetComponentInParent(t: System.Type): UnityEngine.Component;
10353
10564
  GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
10354
10565
  GetComponentsInParent(t: System.Type): UnityEngine.Component[];
@@ -10403,6 +10614,7 @@ export declare namespace ReactUnity {
10403
10614
  ClassName: string;
10404
10615
  ClassList: ReactUnity.Helpers.ClassList;
10405
10616
  Id: string;
10617
+ RefId: number;
10406
10618
  IsContainer: boolean;
10407
10619
  Children: ReactUnity.IReactComponent[];
10408
10620
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -10481,6 +10693,7 @@ export declare namespace ReactUnity {
10481
10693
  ClassName: string;
10482
10694
  ClassList: ReactUnity.Helpers.ClassList;
10483
10695
  Id: string;
10696
+ RefId: number;
10484
10697
  IsContainer: boolean;
10485
10698
  Children: ReactUnity.IReactComponent[];
10486
10699
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -10564,6 +10777,7 @@ export declare namespace ReactUnity {
10564
10777
  ClassName: string;
10565
10778
  ClassList: ReactUnity.Helpers.ClassList;
10566
10779
  Id: string;
10780
+ RefId: number;
10567
10781
  IsContainer: boolean;
10568
10782
  Children: ReactUnity.IReactComponent[];
10569
10783
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -10649,6 +10863,7 @@ export declare namespace ReactUnity {
10649
10863
  ClassName: string;
10650
10864
  ClassList: ReactUnity.Helpers.ClassList;
10651
10865
  Id: string;
10866
+ RefId: number;
10652
10867
  IsContainer: boolean;
10653
10868
  Children: ReactUnity.IReactComponent[];
10654
10869
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -10729,6 +10944,7 @@ export declare namespace ReactUnity {
10729
10944
  ClassName: string;
10730
10945
  ClassList: ReactUnity.Helpers.ClassList;
10731
10946
  Id: string;
10947
+ RefId: number;
10732
10948
  IsContainer: boolean;
10733
10949
  Children: ReactUnity.IReactComponent[];
10734
10950
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -10803,6 +11019,7 @@ export declare namespace ReactUnity {
10803
11019
  ClassName: string;
10804
11020
  ClassList: ReactUnity.Helpers.ClassList;
10805
11021
  Id: string;
11022
+ RefId: number;
10806
11023
  IsContainer: boolean;
10807
11024
  Children: ReactUnity.IReactComponent[];
10808
11025
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -10879,6 +11096,7 @@ export declare namespace ReactUnity {
10879
11096
  ClassName: string;
10880
11097
  ClassList: ReactUnity.Helpers.ClassList;
10881
11098
  Id: string;
11099
+ RefId: number;
10882
11100
  IsContainer: boolean;
10883
11101
  Children: ReactUnity.IReactComponent[];
10884
11102
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -10926,9 +11144,9 @@ export declare namespace ReactUnity {
10926
11144
  GetType(): System.Type;
10927
11145
  ToString(): string;
10928
11146
  }
10929
- class IMGUIComponent {
10930
- constructor(context: ReactUnity.UIToolkit.UIToolkitContext);
10931
- Element: UnityEngine.UIElements.IMGUIContainer;
11147
+ class ImageComponent {
11148
+ constructor(context: ReactUnity.UIToolkit.UIToolkitContext, tag: string);
11149
+ Element: UnityEngine.UIElements.Image;
10932
11150
  TargetElement: UnityEngine.UIElements.VisualElement;
10933
11151
  Name: string;
10934
11152
  ClientWidth: number;
@@ -10953,6 +11171,7 @@ export declare namespace ReactUnity {
10953
11171
  ClassName: string;
10954
11172
  ClassList: ReactUnity.Helpers.ClassList;
10955
11173
  Id: string;
11174
+ RefId: number;
10956
11175
  IsContainer: boolean;
10957
11176
  Children: ReactUnity.IReactComponent[];
10958
11177
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -10964,8 +11183,6 @@ export declare namespace ReactUnity {
10964
11183
  ScrollWidth: number;
10965
11184
  ScrollHeight: number;
10966
11185
  SetProperty(property: string, value: any): void;
10967
- MarkDirtyLayout(): void;
10968
- MarkDirtyRepaint(): void;
10969
11186
  AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
10970
11187
  GetComponent(type: System.Type): any;
10971
11188
  AddComponent(type: System.Type): any;
@@ -11002,9 +11219,9 @@ export declare namespace ReactUnity {
11002
11219
  GetType(): System.Type;
11003
11220
  ToString(): string;
11004
11221
  }
11005
- class ImageComponent {
11006
- constructor(context: ReactUnity.UIToolkit.UIToolkitContext, tag: string);
11007
- Element: UnityEngine.UIElements.Image;
11222
+ class IMGUIComponent {
11223
+ constructor(context: ReactUnity.UIToolkit.UIToolkitContext);
11224
+ Element: UnityEngine.UIElements.IMGUIContainer;
11008
11225
  TargetElement: UnityEngine.UIElements.VisualElement;
11009
11226
  Name: string;
11010
11227
  ClientWidth: number;
@@ -11029,6 +11246,7 @@ export declare namespace ReactUnity {
11029
11246
  ClassName: string;
11030
11247
  ClassList: ReactUnity.Helpers.ClassList;
11031
11248
  Id: string;
11249
+ RefId: number;
11032
11250
  IsContainer: boolean;
11033
11251
  Children: ReactUnity.IReactComponent[];
11034
11252
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -11040,6 +11258,8 @@ export declare namespace ReactUnity {
11040
11258
  ScrollWidth: number;
11041
11259
  ScrollHeight: number;
11042
11260
  SetProperty(property: string, value: any): void;
11261
+ MarkDirtyLayout(): void;
11262
+ MarkDirtyRepaint(): void;
11043
11263
  AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
11044
11264
  GetComponent(type: System.Type): any;
11045
11265
  AddComponent(type: System.Type): any;
@@ -11106,6 +11326,7 @@ export declare namespace ReactUnity {
11106
11326
  ClassName: string;
11107
11327
  ClassList: ReactUnity.Helpers.ClassList;
11108
11328
  Id: string;
11329
+ RefId: number;
11109
11330
  IsContainer: boolean;
11110
11331
  Children: ReactUnity.IReactComponent[];
11111
11332
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -11187,6 +11408,7 @@ export declare namespace ReactUnity {
11187
11408
  ClassName: string;
11188
11409
  ClassList: ReactUnity.Helpers.ClassList;
11189
11410
  Id: string;
11411
+ RefId: number;
11190
11412
  IsContainer: boolean;
11191
11413
  Children: ReactUnity.IReactComponent[];
11192
11414
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -11266,6 +11488,7 @@ export declare namespace ReactUnity {
11266
11488
  ClassName: string;
11267
11489
  ClassList: ReactUnity.Helpers.ClassList;
11268
11490
  Id: string;
11491
+ RefId: number;
11269
11492
  IsContainer: boolean;
11270
11493
  Children: ReactUnity.IReactComponent[];
11271
11494
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -11345,6 +11568,7 @@ export declare namespace ReactUnity {
11345
11568
  ClassName: string;
11346
11569
  ClassList: ReactUnity.Helpers.ClassList;
11347
11570
  Id: string;
11571
+ RefId: number;
11348
11572
  IsContainer: boolean;
11349
11573
  Children: ReactUnity.IReactComponent[];
11350
11574
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -11427,6 +11651,7 @@ export declare namespace ReactUnity {
11427
11651
  ClassName: string;
11428
11652
  ClassList: ReactUnity.Helpers.ClassList;
11429
11653
  Id: string;
11654
+ RefId: number;
11430
11655
  IsContainer: boolean;
11431
11656
  Children: ReactUnity.IReactComponent[];
11432
11657
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -11503,6 +11728,7 @@ export declare namespace ReactUnity {
11503
11728
  ClassName: string;
11504
11729
  ClassList: ReactUnity.Helpers.ClassList;
11505
11730
  Id: string;
11731
+ RefId: number;
11506
11732
  IsContainer: boolean;
11507
11733
  Children: ReactUnity.IReactComponent[];
11508
11734
  BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
@@ -11594,6 +11820,7 @@ export declare namespace ReactUnity {
11594
11820
  parent: UnityEngine.UIElements.VisualElement;
11595
11821
  panel: UnityEngine.UIElements.IPanel;
11596
11822
  contentContainer: UnityEngine.UIElements.VisualElement;
11823
+ visualTreeAssetSource: UnityEngine.UIElements.VisualTreeAsset;
11597
11824
  childCount: number;
11598
11825
  schedule: UnityEngine.UIElements.IVisualElementScheduler;
11599
11826
  style: UnityEngine.UIElements.IStyle;
@@ -11648,6 +11875,90 @@ export declare namespace ReactUnity {
11648
11875
  GetHashCode(): number;
11649
11876
  GetType(): System.Type;
11650
11877
  }
11878
+ class ReactUnityUIDocument {
11879
+ constructor();
11880
+ Root: UnityEngine.UIElements.VisualElement;
11881
+ MediaProvider: ReactUnity.Styling.Rules.IMediaProvider;
11882
+ Context: ReactUnity.ReactContext;
11883
+ timer: ReactUnity.Scheduling.ITimer;
11884
+ useGUILayout: boolean;
11885
+ runInEditMode: boolean;
11886
+ enabled: boolean;
11887
+ isActiveAndEnabled: boolean;
11888
+ transform: UnityEngine.Transform;
11889
+ gameObject: UnityEngine.GameObject;
11890
+ tag: string;
11891
+ rigidbody: UnityEngine.Component;
11892
+ rigidbody2D: UnityEngine.Component;
11893
+ camera: UnityEngine.Component;
11894
+ light: UnityEngine.Component;
11895
+ animation: UnityEngine.Component;
11896
+ constantForce: UnityEngine.Component;
11897
+ renderer: UnityEngine.Component;
11898
+ audio: UnityEngine.Component;
11899
+ networkView: UnityEngine.Component;
11900
+ collider: UnityEngine.Component;
11901
+ collider2D: UnityEngine.Component;
11902
+ hingeJoint: UnityEngine.Component;
11903
+ particleSystem: UnityEngine.Component;
11904
+ name: string;
11905
+ hideFlags: UnityEngine.HideFlags;
11906
+ Source: ReactUnity.ScriptSource;
11907
+ Debug: boolean;
11908
+ AwaitDebugger: boolean;
11909
+ EngineType: ReactUnity.Scripting.JavascriptEngineType;
11910
+ Globals: ReactUnity.Helpers.SerializableDictionary;
11911
+ Stylesheets: UnityEngine.TextAsset[];
11912
+ AutoRender: boolean;
11913
+ BeforeStart: UnityEngine.Events.UnityEvent;
11914
+ AfterStart: UnityEngine.Events.UnityEvent;
11915
+ PlayAudio(clip: UnityEngine.AudioClip): void;
11916
+ Render(): void;
11917
+ IsInvoking(): boolean;
11918
+ CancelInvoke(): void;
11919
+ Invoke(methodName: string, time: number): void;
11920
+ InvokeRepeating(methodName: string, time: number, repeatRate: number): void;
11921
+ CancelInvoke(methodName: string): void;
11922
+ IsInvoking(methodName: string): boolean;
11923
+ StartCoroutine(methodName: string): UnityEngine.Coroutine;
11924
+ StartCoroutine(methodName: string, value: any): UnityEngine.Coroutine;
11925
+ StartCoroutine(routine: System.Collections.IEnumerator): UnityEngine.Coroutine;
11926
+ StartCoroutine_Auto(routine: System.Collections.IEnumerator): UnityEngine.Coroutine;
11927
+ StopCoroutine(routine: System.Collections.IEnumerator): void;
11928
+ StopCoroutine(routine: UnityEngine.Coroutine): void;
11929
+ StopCoroutine(methodName: string): void;
11930
+ StopAllCoroutines(): void;
11931
+ GetComponent(type: System.Type): UnityEngine.Component;
11932
+ GetComponent(type: string): UnityEngine.Component;
11933
+ GetComponentInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component;
11934
+ GetComponentInChildren(t: System.Type): UnityEngine.Component;
11935
+ GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
11936
+ GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
11937
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
11938
+ GetComponentInParent(t: System.Type): UnityEngine.Component;
11939
+ GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
11940
+ GetComponentsInParent(t: System.Type): UnityEngine.Component[];
11941
+ GetComponents(type: System.Type): UnityEngine.Component[];
11942
+ GetComponents(type: System.Type, results: UnityEngine.Component[]): void;
11943
+ CompareTag(tag: string): boolean;
11944
+ SendMessageUpwards(methodName: string, value: any, options: UnityEngine.SendMessageOptions): void;
11945
+ SendMessageUpwards(methodName: string, value: any): void;
11946
+ SendMessageUpwards(methodName: string): void;
11947
+ SendMessageUpwards(methodName: string, options: UnityEngine.SendMessageOptions): void;
11948
+ SendMessage(methodName: string, value: any): void;
11949
+ SendMessage(methodName: string): void;
11950
+ SendMessage(methodName: string, value: any, options: UnityEngine.SendMessageOptions): void;
11951
+ SendMessage(methodName: string, options: UnityEngine.SendMessageOptions): void;
11952
+ BroadcastMessage(methodName: string, parameter: any, options: UnityEngine.SendMessageOptions): void;
11953
+ BroadcastMessage(methodName: string, parameter: any): void;
11954
+ BroadcastMessage(methodName: string): void;
11955
+ BroadcastMessage(methodName: string, options: UnityEngine.SendMessageOptions): void;
11956
+ GetInstanceID(): number;
11957
+ GetHashCode(): number;
11958
+ Equals(other: any): boolean;
11959
+ ToString(): string;
11960
+ GetType(): System.Type;
11961
+ }
11651
11962
  class ResourcesHelper {
11652
11963
  static DefaultFont: UnityEngine.Font;
11653
11964
  static UtilityStylesheet: UnityEngine.UIElements.StyleSheet;
@@ -11717,6 +12028,10 @@ export declare namespace ReactUnity {
11717
12028
  CreateStaticScript(path: string): ReactUnity.ScriptSource;
11718
12029
  Start(): void;
11719
12030
  Dispose(): void;
12031
+ SetRef(refId: number, cmp: ReactUnity.IReactComponent): void;
12032
+ GetRef(refId: number, ensureUpdate?: boolean): ReactUnity.IReactComponent;
12033
+ BindCommands(commandsObject: any, callbacksObject: any, getObjectCallback: any, getEventAsObjectCallback: any): void;
12034
+ FlushCommands(serializedCommands?: string): void;
11720
12035
  Equals(obj: any): boolean;
11721
12036
  GetHashCode(): number;
11722
12037
  GetType(): System.Type;