@reactunity/renderer 0.10.0 → 0.12.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 (48) hide show
  1. package/dist/index.d.ts +1 -0
  2. package/dist/index.js +1 -0
  3. package/dist/src/helpers/icons.d.ts +7 -0
  4. package/dist/src/helpers/icons.js +29 -0
  5. package/dist/src/models/base.d.ts +10 -7
  6. package/dist/src/models/editor/jsx.d.ts +10 -1
  7. package/dist/src/models/environment/index.d.ts +3 -0
  8. package/dist/src/models/generated/editor.d.ts +456 -26
  9. package/dist/src/models/generated/editor.js +1 -1
  10. package/dist/src/models/generated/react.d.ts +1897 -731
  11. package/dist/src/models/generated/react.js +1 -1
  12. package/dist/src/models/generated/system.d.ts +148 -148
  13. package/dist/src/models/generated/system.js +1 -1
  14. package/dist/src/models/generated/tests.js +1 -1
  15. package/dist/src/models/generated/unity.d.ts +5392 -1283
  16. package/dist/src/models/generated/unity.js +2 -2
  17. package/dist/src/models/generated/yoga.js +1 -1
  18. package/dist/src/models/properties/styles.d.ts +8 -7
  19. package/dist/src/models/properties/values.d.ts +7 -0
  20. package/dist/src/models/richtext.d.ts +65 -0
  21. package/dist/src/models/richtext.js +2 -0
  22. package/dist/src/models/svg.d.ts +68 -0
  23. package/dist/src/models/svg.js +1 -0
  24. package/dist/src/models/ugui/components.d.ts +12 -7
  25. package/dist/src/models/ugui/events.d.ts +1 -0
  26. package/dist/src/models/ugui/jsx.d.ts +10 -1
  27. package/dist/src/models/uitoolkit/components.d.ts +3 -1
  28. package/dist/src/models/uitoolkit/jsx.d.ts +9 -0
  29. package/dist/src/renderer/async/callbacks.js +22 -8
  30. package/dist/src/renderer/async/reconciler.d.ts +1 -8
  31. package/dist/src/renderer/async/reconciler.js +208 -60
  32. package/dist/src/renderer/async/serializer.d.ts +9 -0
  33. package/dist/src/renderer/async/serializer.js +31 -0
  34. package/dist/src/renderer/async/types.d.ts +31 -5
  35. package/dist/src/renderer/constants.d.ts +5 -0
  36. package/dist/src/renderer/constants.js +12 -0
  37. package/dist/src/renderer/diffing.js +1 -1
  38. package/dist/src/renderer/renderer.d.ts +11 -10
  39. package/dist/src/renderer/renderer.js +7 -9
  40. package/dist/src/renderer/subcontexts/index.d.ts +6 -0
  41. package/dist/src/renderer/subcontexts/index.js +6 -0
  42. package/dist/src/renderer/subcontexts/richtext.d.ts +3 -0
  43. package/dist/src/renderer/subcontexts/richtext.js +52 -0
  44. package/dist/src/renderer/subcontexts/svg.d.ts +3 -0
  45. package/dist/src/renderer/subcontexts/svg.js +70 -0
  46. package/dist/src/version.d.ts +1 -1
  47. package/dist/src/version.js +1 -1
  48. package/package.json +6 -6
@@ -2,6 +2,7 @@ import { InlineStyleRemap } from '../properties/style';
2
2
  import { System } from './system';
3
3
  import { UnityEngine } from './unity';
4
4
  import { Facebook } from './yoga';
5
+ declare type Byte = number;
5
6
  export declare namespace ReactUnity {
6
7
  class BaseReactComponent<ContextType = any> {
7
8
  Context: ContextType;
@@ -57,7 +58,7 @@ export declare namespace ReactUnity {
57
58
  Closest(query: string): ReactUnity.IReactComponent;
58
59
  QuerySelector(query: string): ReactUnity.IReactComponent;
59
60
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
60
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
61
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
61
62
  AddBefore(): void;
62
63
  RemoveBefore(): void;
63
64
  AddAfter(): void;
@@ -104,7 +105,7 @@ export declare namespace ReactUnity {
104
105
  ApplyLayoutStyles(): void;
105
106
  ResolveStyle(recursive?: boolean): void;
106
107
  Update(): void;
107
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
108
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
108
109
  SetParent(parent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
109
110
  SetProperty(property: string, value: any): void;
110
111
  SetData(property: string, value: any): void;
@@ -136,7 +137,7 @@ export declare namespace ReactUnity {
136
137
  Content: string;
137
138
  SetText(text: string): void;
138
139
  }
139
- interface IHostComponent extends ReactUnity.IReactComponent, ReactUnity.IContainerComponent {
140
+ interface IHostComponent extends ReactUnity.IContainerComponent, ReactUnity.IReactComponent {
140
141
  Width: number;
141
142
  Height: number;
142
143
  }
@@ -207,7 +208,7 @@ export declare namespace ReactUnity {
207
208
  ApplyLayoutStyles(): void;
208
209
  ResolveStyle(recursive?: boolean): void;
209
210
  Update(): void;
210
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
211
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
211
212
  SetParent(parent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
212
213
  SetProperty(property: string, value: any): void;
213
214
  SetData(property: string, value: any): void;
@@ -273,7 +274,7 @@ export declare namespace ReactUnity {
273
274
  ApplyLayoutStyles(): void;
274
275
  ResolveStyle(recursive?: boolean): void;
275
276
  Update(): void;
276
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
277
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
277
278
  SetParent(parent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
278
279
  SetProperty(property: string, value: any): void;
279
280
  SetData(property: string, value: any): void;
@@ -306,6 +307,7 @@ export declare namespace ReactUnity {
306
307
  DetachedRoots: System.Collections.Generic.HashSet<ReactUnity.IReactComponent>;
307
308
  Globals: ReactUnity.Helpers.GlobalRecord;
308
309
  IsDisposed: boolean;
310
+ IsEditorContext: boolean;
309
311
  options: ReactUnity.ReactContext_Options;
310
312
  Source: ReactUnity.ScriptSource;
311
313
  Timer: ReactUnity.Scheduling.ITimer;
@@ -322,6 +324,7 @@ export declare namespace ReactUnity {
322
324
  CursorSet: ReactUnity.Styling.CursorSet;
323
325
  CursorAPI: ReactUnity.Helpers.CursorAPI;
324
326
  Disposables: (() => void)[];
327
+ UpdateElementsRecursively(): void;
325
328
  InsertStyle(style: string): ReactUnity.Styling.StyleSheet;
326
329
  InsertStyle(style: string, importanceOffset: number): ReactUnity.Styling.StyleSheet;
327
330
  InsertStyle(sheet: ReactUnity.Styling.StyleSheet): ReactUnity.Styling.StyleSheet;
@@ -333,11 +336,11 @@ export declare namespace ReactUnity {
333
336
  CreateComponent(tag: string, text: string): ReactUnity.IReactComponent;
334
337
  CreatePseudoComponent(tag: string): ReactUnity.IReactComponent;
335
338
  PlayAudio(clip: UnityEngine.AudioClip): void;
336
- Start(): void;
339
+ Start(afterStart?: (() => void)): void;
337
340
  Dispose(): void;
341
+ BindCommands(commandsObject: any, callbacksObject: any, getObjectCallback: any, getEventAsObjectCallback: any): void;
338
342
  SetRef(refId: number, cmp: ReactUnity.IReactComponent): void;
339
343
  GetRef(refId: number, ensureUpdate?: boolean): ReactUnity.IReactComponent;
340
- BindCommands(commandsObject: any, callbacksObject: any, getObjectCallback: any, getEventAsObjectCallback: any): void;
341
344
  FlushCommands(serializedCommands?: string): void;
342
345
  Equals(obj: any): boolean;
343
346
  GetHashCode(): number;
@@ -379,7 +382,7 @@ export declare namespace ReactUnity {
379
382
  AutoRender: boolean;
380
383
  BeforeStart: UnityEngine.Events.UnityEvent;
381
384
  AfterStart: UnityEngine.Events.UnityEvent;
382
- Render(): void;
385
+ Render(): ReactUnity.ReactUnityBase_WaitForRenderToComplete;
383
386
  IsInvoking(): boolean;
384
387
  CancelInvoke(): void;
385
388
  Invoke(methodName: string, time: number): void;
@@ -466,8 +469,8 @@ export declare namespace ReactUnity {
466
469
  static Resource(path: string): ReactUnity.ScriptSource;
467
470
  static Text(path: string): ReactUnity.ScriptSource;
468
471
  GetResolvedSourceUrl(useDevServer?: boolean): string;
469
- GetScript(callback: ((arg0: string) => void), dispatcher?: ReactUnity.Scheduling.IDispatcher, useDevServer?: boolean): System.IDisposable;
470
- static WatchFileSystem(path: string, callback: ((arg0: string) => void)): System.IDisposable;
472
+ GetScript(callback: ((obj: string) => void), dispatcher?: ReactUnity.Scheduling.IDispatcher, useDevServer?: boolean): System.IDisposable;
473
+ static WatchFileSystem(path: string, callback: ((obj: string) => void)): System.IDisposable;
471
474
  Equals(obj: any): boolean;
472
475
  GetHashCode(): number;
473
476
  GetType(): System.Type;
@@ -488,7 +491,7 @@ export declare namespace ReactUnity {
488
491
  constructor(cmp: ReactUnity.IContainerComponent);
489
492
  constructor(ctx: ReactUnity.ReactContext, tag: string);
490
493
  Content: string;
491
- InnerContent: string;
494
+ ResolvedContent: string;
492
495
  Source: any;
493
496
  Proxy: ReactUnity.IContainerComponent;
494
497
  Context: ReactUnity.ReactContext;
@@ -528,7 +531,7 @@ export declare namespace ReactUnity {
528
531
  ApplyLayoutStyles(): void;
529
532
  ResolveStyle(recursive?: boolean): void;
530
533
  Update(): void;
531
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
534
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
532
535
  SetParent(parent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
533
536
  SetData(property: string, value: any): void;
534
537
  SetEventListener(eventType: string, callback: ReactUnity.Helpers.Callback): void;
@@ -595,255 +598,17 @@ export declare namespace ReactUnity {
595
598
  GetType(): System.Type;
596
599
  ToString(): string;
597
600
  }
598
- namespace Converters {
599
- class AllConverters {
600
- constructor();
601
- static DefaultConverter: ReactUnity.Converters.IStyleConverter;
602
- static StringConverter: ReactUnity.Converters.IStyleConverter;
603
- static FloatConverter: ReactUnity.Converters.IStyleConverter;
604
- static AngleConverter: ReactUnity.Converters.IStyleConverter;
605
- static LengthConverter: ReactUnity.Converters.IStyleConverter;
606
- static FontSizeConverter: ReactUnity.Converters.IStyleConverter;
607
- static DurationConverter: ReactUnity.Converters.IStyleConverter;
608
- static PercentageConverter: ReactUnity.Converters.IStyleConverter;
609
- static ColorValueConverter: ReactUnity.Converters.IStyleConverter;
610
- static UrlConverter: ReactUnity.Converters.IStyleConverter;
611
- static GeneralConverter: ReactUnity.Converters.IStyleConverter;
612
- static YogaValueConverter: ReactUnity.Converters.IStyleConverter;
613
- static YogaValue2Converter: ReactUnity.Converters.IStyleConverter;
614
- static BorderRadiusConverter: ReactUnity.Converters.IStyleConverter;
615
- static Vector2Converter: ReactUnity.Converters.IStyleConverter;
616
- static Vector3Converter: ReactUnity.Converters.IStyleConverter;
617
- static IntConverter: ReactUnity.Converters.IStyleConverter;
618
- static IterationCountConverter: ReactUnity.Converters.IStyleConverter;
619
- static BoolConverter: ReactUnity.Converters.IStyleConverter;
620
- static ColorConverter: ReactUnity.Converters.IStyleConverter;
621
- static BoxShadowConverter: ReactUnity.Converters.IStyleConverter;
622
- static ImageReferenceConverter: ReactUnity.Converters.IStyleConverter;
623
- static ImageSourceConverter: ReactUnity.Converters.IStyleConverter;
624
- static TextReferenceConverter: ReactUnity.Converters.IStyleConverter;
625
- static AudioReferenceConverter: ReactUnity.Converters.IStyleConverter;
626
- static VideoReferenceConverter: ReactUnity.Converters.IStyleConverter;
627
- static FontReferenceConverter: ReactUnity.Converters.IStyleConverter;
628
- static RotateConverter: ReactUnity.Converters.IStyleConverter;
629
- static ScaleConverter: ReactUnity.Converters.IStyleConverter;
630
- static TransitionPropertyConverter: ReactUnity.Converters.IStyleConverter;
631
- static CursorListConverter: ReactUnity.Converters.IStyleConverter;
632
- static TimingFunctionConverter: ReactUnity.Converters.IStyleConverter;
633
- static FontWeightConverter: ReactUnity.Converters.IStyleConverter;
634
- static ImageDefinitionConverter: ReactUnity.Converters.IStyleConverter;
635
- static BackgroundSizeConverter: ReactUnity.Converters.IStyleConverter;
636
- static Get(type: System.Type): ReactUnity.Converters.GeneralConverter;
637
- Equals(obj: any): boolean;
638
- GetHashCode(): number;
639
- GetType(): System.Type;
640
- ToString(): string;
641
- }
642
- class BoolConverter {
643
- constructor(truthyValues: string[], falsyValues: string[]);
644
- CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
645
- Convert(value: any): any;
646
- Parse(value: string): any;
647
- static IsTruthy(obj: any): boolean;
648
- Equals(obj: any): boolean;
649
- GetHashCode(): number;
650
- GetType(): System.Type;
651
- ToString(): string;
652
- }
653
- class ColorConverter {
654
- constructor();
655
- CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
656
- Parse(value: string): any;
657
- Convert(value: any): any;
658
- Equals(obj: any): boolean;
659
- GetHashCode(): number;
660
- GetType(): System.Type;
661
- ToString(): string;
662
- }
663
- class CountConverter {
664
- constructor();
665
- AllowFloats: boolean;
666
- AllowInfinite: boolean;
667
- InfiniteValue: number;
668
- Min: number;
669
- Max: number;
670
- FloatConverter: ReactUnity.Converters.FloatConverter;
671
- CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
672
- Validate(value: number): any;
673
- Parse(value: string): any;
674
- Convert(value: any): any;
675
- Equals(obj: any): boolean;
676
- GetHashCode(): number;
677
- GetType(): System.Type;
678
- ToString(): string;
679
- }
680
- class EnumConverter<T = any> {
681
- constructor(allowFlags: boolean, keywordOnly: boolean);
682
- constructor(keywordOnly: boolean);
683
- EnumType: System.Type;
684
- AllowFlags: boolean;
685
- KeywordOnly: boolean;
686
- Convert(value: any): any;
687
- Parse(value: string): any;
688
- CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
689
- Equals(obj: any): boolean;
690
- GetHashCode(): number;
691
- GetType(): System.Type;
692
- ToString(): string;
693
- }
694
- class FloatConverter {
695
- constructor();
696
- constructor(suffixMap: Record<string, number>, suffixMapper?: Record<string, ((arg0: number) => any)>, allowSuffixless?: boolean);
697
- CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
698
- Parse(value: string): any;
699
- Convert(value: any): any;
700
- Equals(obj: any): boolean;
701
- GetHashCode(): number;
702
- GetType(): System.Type;
703
- ToString(): string;
704
- }
705
- class PercentageConverter {
706
- constructor();
707
- CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
708
- Parse(value: string): any;
709
- Convert(value: any): any;
710
- Equals(obj: any): boolean;
711
- GetHashCode(): number;
712
- GetType(): System.Type;
713
- ToString(): string;
714
- }
715
- class ColorValueConverter {
716
- constructor();
717
- CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
718
- Parse(value: string): any;
719
- Convert(value: any): any;
720
- Equals(obj: any): boolean;
721
- GetHashCode(): number;
722
- GetType(): System.Type;
723
- ToString(): string;
724
- }
725
- class LengthConverter {
726
- constructor();
727
- CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
728
- Parse(value: string): any;
729
- Convert(value: any): any;
730
- Equals(obj: any): boolean;
731
- GetHashCode(): number;
732
- GetType(): System.Type;
733
- ToString(): string;
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
- }
745
- class AngleConverter {
746
- constructor();
747
- CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
748
- Parse(value: string): any;
749
- Convert(value: any): any;
750
- Equals(obj: any): boolean;
751
- GetHashCode(): number;
752
- GetType(): System.Type;
753
- ToString(): string;
754
- }
755
- class DurationConverter {
756
- constructor();
757
- CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
758
- Parse(value: string): any;
759
- Convert(value: any): any;
760
- Equals(obj: any): boolean;
761
- GetHashCode(): number;
762
- GetType(): System.Type;
763
- ToString(): string;
764
- }
765
- class GeneralConverter {
766
- constructor(baseConverter?: ReactUnity.Converters.IStyleConverter);
767
- static Wrap(baseConverter: ReactUnity.Converters.IStyleConverter): ReactUnity.Converters.GeneralConverter;
768
- CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
769
- Convert(value: any): any;
770
- Parse(value: string): any;
771
- Equals(obj: any): boolean;
772
- GetHashCode(): number;
773
- GetType(): System.Type;
774
- ToString(): string;
775
- }
776
- class IntConverter {
777
- constructor();
778
- FloatParser: ReactUnity.Converters.FloatConverter;
779
- CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
780
- Parse(value: string): any;
781
- Convert(value: any): any;
782
- Equals(obj: any): boolean;
783
- GetHashCode(): number;
784
- GetType(): System.Type;
785
- ToString(): string;
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
- }
794
- class StringConverter {
795
- constructor();
796
- CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
797
- Convert(value: any): any;
798
- Parse(value: string): any;
799
- static Normalize(value: string): string;
800
- Equals(obj: any): boolean;
801
- GetHashCode(): number;
802
- GetType(): System.Type;
803
- ToString(): string;
804
- }
805
- class UrlConverter {
806
- constructor();
807
- CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
808
- Convert(value: any): any;
809
- Parse(value: string): any;
810
- Equals(obj: any): boolean;
811
- GetHashCode(): number;
812
- GetType(): System.Type;
813
- ToString(): string;
814
- }
815
- class Vector2Converter {
816
- constructor();
817
- CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
818
- Parse(value: string): any;
819
- Convert(value: any): any;
820
- Equals(obj: any): boolean;
821
- GetHashCode(): number;
822
- GetType(): System.Type;
823
- ToString(): string;
824
- }
825
- class Vector3Converter {
826
- constructor(singleValueMode?: ((arg0: number) => UnityEngine.Vector3), floatParser?: ReactUnity.Converters.IStyleConverter, defaultZValue?: number);
827
- CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
828
- Parse(value: string): any;
829
- Convert(value: any): any;
830
- Equals(obj: any): boolean;
831
- GetHashCode(): number;
832
- GetType(): System.Type;
833
- ToString(): string;
834
- }
835
- class YogaValueConverter {
836
- constructor(allowHorizontal?: boolean, allowVertical?: boolean);
837
- static Horizontal: ReactUnity.Converters.YogaValueConverter;
838
- static Vertical: ReactUnity.Converters.YogaValueConverter;
839
- CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
840
- Parse(value: string): any;
841
- Convert(value: any): any;
842
- Equals(obj: any): boolean;
843
- GetHashCode(): number;
844
- GetType(): System.Type;
845
- ToString(): string;
846
- }
601
+ class ReactUnityBase_WaitForRenderToComplete {
602
+ constructor();
603
+ rendered: boolean;
604
+ keepWaiting: boolean;
605
+ Current: any;
606
+ MoveNext(): boolean;
607
+ Reset(): void;
608
+ Equals(obj: any): boolean;
609
+ GetHashCode(): number;
610
+ GetType(): System.Type;
611
+ ToString(): string;
847
612
  }
848
613
  namespace Editor {
849
614
  class ReactElementDrawer {
@@ -916,6 +681,7 @@ export declare namespace ReactUnity {
916
681
  Timer: ReactUnity.Scheduling.ITimer;
917
682
  AutoRun: boolean;
918
683
  rootVisualElement: UnityEngine.UIElements.VisualElement;
684
+ overlayCanvas: any;
919
685
  wantsMouseMove: boolean;
920
686
  wantsMouseEnterLeaveWindow: boolean;
921
687
  wantsLessLayoutEvents: boolean;
@@ -973,6 +739,7 @@ export declare namespace ReactUnity {
973
739
  }
974
740
  class QuickStartWindow {
975
741
  constructor();
742
+ static ShowWindowOnStartup: boolean;
976
743
  NodeVersion: number;
977
744
  Context: ReactUnity.ReactContext;
978
745
  HostElement: ReactUnity.Editor.UIToolkit.ReactUnityEditorElement;
@@ -982,6 +749,7 @@ export declare namespace ReactUnity {
982
749
  Timer: ReactUnity.Scheduling.ITimer;
983
750
  AutoRun: boolean;
984
751
  rootVisualElement: UnityEngine.UIElements.VisualElement;
752
+ overlayCanvas: any;
985
753
  wantsMouseMove: boolean;
986
754
  wantsMouseEnterLeaveWindow: boolean;
987
755
  wantsLessLayoutEvents: boolean;
@@ -1000,6 +768,10 @@ export declare namespace ReactUnity {
1000
768
  position: UnityEngine.Rect;
1001
769
  name: string;
1002
770
  hideFlags: UnityEngine.HideFlags;
771
+ static WindowVersion: string;
772
+ static ScopeName: string;
773
+ static ScopeUrl: string;
774
+ static CompanyScope: string;
1003
775
  static PackageName: string;
1004
776
  RequiredNodeVersion: number;
1005
777
  NodeUrl: string;
@@ -1008,17 +780,18 @@ export declare namespace ReactUnity {
1008
780
  LatestVersion: string;
1009
781
  HasUpdate: boolean;
1010
782
  static ShowDefaultWindow(): void;
783
+ GetProjectFullPath(): string;
1011
784
  GetProjectPath(): string;
1012
785
  CreateProject(): void;
1013
- GetNodeVersion(callback?: ((arg0: number) => void)): void;
1014
- GetNodeVersion(callback: any): void;
786
+ GetNodeVersion(callback: ((obj: number) => void)): void;
1015
787
  RunCommand(target: string, args: string, hasOutput?: boolean): System.Diagnostics.Process;
1016
788
  CanvasExistsInScene(): boolean;
1017
789
  CreateCanvas(): void;
1018
790
  SelectCanvas(): void;
1019
- CheckVersion(callback: (() => void)): void;
1020
- CheckVersion(callback: any): void;
1021
- UpdatePackage(version: string): void;
791
+ CheckVersion(packageName: string, callback: ((currentVersion: string, latestVersion: string, hasUpdate: boolean) => void)): void;
792
+ InstallScopedPlugin(packageName: string): void;
793
+ InstallUnityPlugin(pluginName: string): void;
794
+ UninstallUnityPlugin(pluginName: string): void;
1022
795
  Run(root?: UnityEngine.UIElements.VisualElement): void;
1023
796
  Restart(root?: UnityEngine.UIElements.VisualElement): void;
1024
797
  AddSelectionChange(cb: any): (() => void);
@@ -1087,10 +860,9 @@ export declare namespace ReactUnity {
1087
860
  ToString(): string;
1088
861
  GetType(): System.Type;
1089
862
  }
1090
- class ReactUnityBuildPreprocessor {
1091
- constructor();
1092
- callbackOrder: number;
1093
- OnPostprocessBuild(report: any): void;
863
+ class PackageManagerHelpers {
864
+ static ManifestPath: string;
865
+ static AddScopedRegistry(name: string, url: string, ...scopesToAdd: string[]): void;
1094
866
  Equals(obj: any): boolean;
1095
867
  GetHashCode(): number;
1096
868
  GetType(): System.Type;
@@ -1105,17 +877,46 @@ export declare namespace ReactUnity {
1105
877
  GetType(): System.Type;
1106
878
  ToString(): string;
1107
879
  }
880
+ class QuickStartWindow_CheckVersionCallback {
881
+ constructor(object: any, method: System.IntPtr);
882
+ Method: System.Reflection.MethodInfo;
883
+ Target: any;
884
+ Invoke(currentVersion: string, latestVersion: string, hasUpdate: boolean): void;
885
+ BeginInvoke(currentVersion: string, latestVersion: string, hasUpdate: boolean, callback: ((ar: System.IAsyncResult) => void), object: any): System.IAsyncResult;
886
+ EndInvoke(result: System.IAsyncResult): void;
887
+ GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext): void;
888
+ Equals(obj: any): boolean;
889
+ GetHashCode(): number;
890
+ GetInvocationList(): System.Delegate[];
891
+ DynamicInvoke(...args: any[]): any;
892
+ Clone(): any;
893
+ GetType(): System.Type;
894
+ ToString(): string;
895
+ }
1108
896
  namespace Developer {
1109
897
  class TypescriptModelsGenerator {
1110
- constructor(assemblies: System.Reflection.Assembly[], include: string[], exclude: string[], importCS: Record<string, string>, excludeTypes: string[], exportAsClass?: boolean, generateGenericClasses?: boolean, allowIndexer?: boolean);
898
+ constructor();
899
+ Assemblies: System.Reflection.Assembly[];
900
+ IncludedNamespaces: string[];
901
+ ExcludedNamespaces: string[];
902
+ ExcludedTypes: string[];
903
+ ImportNamespaces: Record<string, string>;
904
+ Remaps: Record<string, string>;
905
+ ExportAsClass: boolean;
906
+ AllowGeneric: boolean;
907
+ AllowIndexer: boolean;
908
+ AllowPointer: boolean;
909
+ WriteDocs: boolean;
910
+ IncludeExterns: boolean;
1111
911
  static GenerateUnity(): void;
1112
912
  static GenerateEditor(): void;
1113
913
  static GenerateReactUnity(): void;
1114
914
  static GenerateYoga(): void;
1115
915
  static GenerateSystem(): void;
916
+ static GenerateQuickJS(): void;
1116
917
  static GenerateCurrentProject(): void;
1117
- static GenerateWith(assemblies: System.Reflection.Assembly[], include: string[], exclude: string[], importCS: any, excludeTypes: string[], exportAsClass?: boolean, generateGenericClasses?: boolean, allowIndexer?: boolean): void;
1118
- Generate(): void;
918
+ PickFileAndGenerate(): string;
919
+ GenerateTo(filePath: string): void;
1119
920
  GetTypescript(): string;
1120
921
  Equals(obj: any): boolean;
1121
922
  GetHashCode(): number;
@@ -1130,6 +931,7 @@ export declare namespace ReactUnity {
1130
931
  Inspector: ReactUnity.Editor.Renderer.ReactInspector;
1131
932
  Property: ReactUnity.Editor.Renderer.ReactProperty;
1132
933
  static UseragentStylesheet: UnityEngine.TextAsset;
934
+ IsEditorContext: boolean;
1133
935
  StateHandlers: Record<string, System.Type>;
1134
936
  HostElement: UnityEngine.UIElements.VisualElement;
1135
937
  CalculatesLayout: boolean;
@@ -1159,17 +961,18 @@ export declare namespace ReactUnity {
1159
961
  CreateText(text: string): ReactUnity.ITextComponent;
1160
962
  CreateDefaultComponent(tag: string, text: string): ReactUnity.IReactComponent;
1161
963
  CreatePseudoComponent(tag: string): ReactUnity.IReactComponent;
964
+ UpdateElementsRecursively(): void;
1162
965
  InsertStyle(style: string): ReactUnity.Styling.StyleSheet;
1163
966
  InsertStyle(style: string, importanceOffset: number): ReactUnity.Styling.StyleSheet;
1164
967
  InsertStyle(sheet: ReactUnity.Styling.StyleSheet): ReactUnity.Styling.StyleSheet;
1165
968
  RemoveStyle(sheet: ReactUnity.Styling.StyleSheet): void;
1166
969
  ResolvePath(path: string): string;
1167
970
  CreateStaticScript(path: string): ReactUnity.ScriptSource;
1168
- Start(): void;
971
+ Start(afterStart?: (() => void)): void;
1169
972
  Dispose(): void;
973
+ BindCommands(commandsObject: any, callbacksObject: any, getObjectCallback: any, getEventAsObjectCallback: any): void;
1170
974
  SetRef(refId: number, cmp: ReactUnity.IReactComponent): void;
1171
975
  GetRef(refId: number, ensureUpdate?: boolean): ReactUnity.IReactComponent;
1172
- BindCommands(commandsObject: any, callbacksObject: any, getObjectCallback: any, getEventAsObjectCallback: any): void;
1173
976
  FlushCommands(serializedCommands?: string): void;
1174
977
  Equals(obj: any): boolean;
1175
978
  GetHashCode(): number;
@@ -1194,6 +997,7 @@ export declare namespace ReactUnity {
1194
997
  Timer: ReactUnity.Scheduling.ITimer;
1195
998
  AutoRun: boolean;
1196
999
  rootVisualElement: UnityEngine.UIElements.VisualElement;
1000
+ overlayCanvas: any;
1197
1001
  wantsMouseMove: boolean;
1198
1002
  wantsMouseEnterLeaveWindow: boolean;
1199
1003
  wantsLessLayoutEvents: boolean;
@@ -1301,6 +1105,7 @@ export declare namespace ReactUnity {
1301
1105
  Timer: ReactUnity.Scheduling.ITimer;
1302
1106
  AutoRun: boolean;
1303
1107
  rootVisualElement: UnityEngine.UIElements.VisualElement;
1108
+ overlayCanvas: any;
1304
1109
  wantsMouseMove: boolean;
1305
1110
  wantsMouseEnterLeaveWindow: boolean;
1306
1111
  wantsLessLayoutEvents: boolean;
@@ -1360,7 +1165,7 @@ export declare namespace ReactUnity {
1360
1165
  Inspector: ReactUnity.Editor.Renderer.ReactInspector;
1361
1166
  Property: ReactUnity.Editor.Renderer.ReactProperty;
1362
1167
  HostElement: UnityEngine.UIElements.VisualElement;
1363
- OnAudioPlayback: ((arg0: UnityEngine.AudioClip) => void);
1168
+ OnAudioPlayback: ((obj: UnityEngine.AudioClip) => void);
1364
1169
  Globals: ReactUnity.Helpers.SerializableDictionary;
1365
1170
  Source: ReactUnity.ScriptSource;
1366
1171
  Timer: ReactUnity.Scheduling.ITimer;
@@ -1442,7 +1247,7 @@ export declare namespace ReactUnity {
1442
1247
  Closest(query: string): ReactUnity.IReactComponent;
1443
1248
  QuerySelector(query: string): ReactUnity.IReactComponent;
1444
1249
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
1445
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
1250
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
1446
1251
  AddBefore(): void;
1447
1252
  RemoveBefore(): void;
1448
1253
  AddAfter(): void;
@@ -1467,6 +1272,7 @@ export declare namespace ReactUnity {
1467
1272
  class DialogWindow {
1468
1273
  constructor();
1469
1274
  rootVisualElement: UnityEngine.UIElements.VisualElement;
1275
+ overlayCanvas: any;
1470
1276
  wantsMouseMove: boolean;
1471
1277
  wantsMouseEnterLeaveWindow: boolean;
1472
1278
  wantsLessLayoutEvents: boolean;
@@ -1540,7 +1346,7 @@ export declare namespace ReactUnity {
1540
1346
  enabledInHierarchy: boolean;
1541
1347
  enabledSelf: boolean;
1542
1348
  visible: boolean;
1543
- generateVisualContent: ((arg0: UnityEngine.UIElements.MeshGenerationContext) => void);
1349
+ generateVisualContent: ((obj: UnityEngine.UIElements.MeshGenerationContext) => void);
1544
1350
  experimental: UnityEngine.UIElements.IExperimentalFeatures;
1545
1351
  hierarchy: UnityEngine.UIElements.VisualElement_Hierarchy;
1546
1352
  cacheAsBitmap: boolean;
@@ -1589,7 +1395,7 @@ export declare namespace ReactUnity {
1589
1395
  ElementAt(index: number): UnityEngine.UIElements.VisualElement;
1590
1396
  IndexOf(element: UnityEngine.UIElements.VisualElement): number;
1591
1397
  Children(): System.Collections.Generic.IEnumerable<UnityEngine.UIElements.VisualElement>;
1592
- Sort(comp: System.Comparison<UnityEngine.UIElements.VisualElement>): void;
1398
+ Sort(comp: ((x: UnityEngine.UIElements.VisualElement, y: UnityEngine.UIElements.VisualElement) => number)): void;
1593
1399
  BringToFront(): void;
1594
1400
  SendToBack(): void;
1595
1401
  PlaceBehind(sibling: UnityEngine.UIElements.VisualElement): void;
@@ -1669,7 +1475,7 @@ export declare namespace ReactUnity {
1669
1475
  Closest(query: string): ReactUnity.IReactComponent;
1670
1476
  QuerySelector(query: string): ReactUnity.IReactComponent;
1671
1477
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
1672
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
1478
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
1673
1479
  AddBefore(): void;
1674
1480
  RemoveBefore(): void;
1675
1481
  AddAfter(): void;
@@ -1751,7 +1557,7 @@ export declare namespace ReactUnity {
1751
1557
  Closest(query: string): ReactUnity.IReactComponent;
1752
1558
  QuerySelector(query: string): ReactUnity.IReactComponent;
1753
1559
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
1754
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
1560
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
1755
1561
  AddBefore(): void;
1756
1562
  RemoveBefore(): void;
1757
1563
  AddAfter(): void;
@@ -1833,7 +1639,7 @@ export declare namespace ReactUnity {
1833
1639
  Closest(query: string): ReactUnity.IReactComponent;
1834
1640
  QuerySelector(query: string): ReactUnity.IReactComponent;
1835
1641
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
1836
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
1642
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
1837
1643
  AddBefore(): void;
1838
1644
  RemoveBefore(): void;
1839
1645
  AddAfter(): void;
@@ -1874,7 +1680,7 @@ export declare namespace ReactUnity {
1874
1680
  enabledInHierarchy: boolean;
1875
1681
  enabledSelf: boolean;
1876
1682
  visible: boolean;
1877
- generateVisualContent: ((arg0: UnityEngine.UIElements.MeshGenerationContext) => void);
1683
+ generateVisualContent: ((obj: UnityEngine.UIElements.MeshGenerationContext) => void);
1878
1684
  experimental: UnityEngine.UIElements.IExperimentalFeatures;
1879
1685
  hierarchy: UnityEngine.UIElements.VisualElement_Hierarchy;
1880
1686
  cacheAsBitmap: boolean;
@@ -1920,7 +1726,7 @@ export declare namespace ReactUnity {
1920
1726
  ElementAt(index: number): UnityEngine.UIElements.VisualElement;
1921
1727
  IndexOf(element: UnityEngine.UIElements.VisualElement): number;
1922
1728
  Children(): System.Collections.Generic.IEnumerable<UnityEngine.UIElements.VisualElement>;
1923
- Sort(comp: System.Comparison<UnityEngine.UIElements.VisualElement>): void;
1729
+ Sort(comp: ((x: UnityEngine.UIElements.VisualElement, y: UnityEngine.UIElements.VisualElement) => number)): void;
1924
1730
  BringToFront(): void;
1925
1731
  SendToBack(): void;
1926
1732
  PlaceBehind(sibling: UnityEngine.UIElements.VisualElement): void;
@@ -1940,16 +1746,15 @@ export declare namespace ReactUnity {
1940
1746
  }
1941
1747
  namespace Helpers {
1942
1748
  class Callback {
1943
- constructor(callback: ((arg0: any, arg1: any[]) => any), engine: any);
1944
- constructor(callback: any);
1945
- constructor(callback: any);
1749
+ constructor(callback: any, context?: ReactUnity.ReactContext);
1946
1750
  constructor(index: number, context: ReactUnity.ReactContext);
1947
1751
  callback: any;
1948
- Engine: any;
1752
+ static Noop: ReactUnity.Helpers.Callback;
1949
1753
  static From(value: any, context?: ReactUnity.ReactContext, thisVal?: any): ReactUnity.Helpers.Callback;
1950
1754
  Call(): any;
1951
1755
  Call(...args: any[]): any;
1952
1756
  CallWithPriority(priority: ReactUnity.EventPriority, ...args: any[]): any;
1757
+ Dispose(): void;
1953
1758
  Equals(obj: any): boolean;
1954
1759
  GetHashCode(): number;
1955
1760
  GetType(): System.Type;
@@ -2001,8 +1806,8 @@ export declare namespace ReactUnity {
2001
1806
  }
2002
1807
  class SetPropertyEvent {
2003
1808
  constructor();
2004
- AddListener(call: UnityEngine.Events.UnityAction<string, any>): void;
2005
- RemoveListener(call: UnityEngine.Events.UnityAction<string, any>): void;
1809
+ AddListener(call: ((arg0: string, arg1: any) => void)): void;
1810
+ RemoveListener(call: ((arg0: string, arg1: any) => void)): void;
2006
1811
  Invoke(arg0: string, arg1: any): void;
2007
1812
  GetPersistentEventCount(): number;
2008
1813
  GetPersistentTarget(index: number): UnityEngine.Object;
@@ -2017,8 +1822,8 @@ export declare namespace ReactUnity {
2017
1822
  }
2018
1823
  class SetEventListenerEvent {
2019
1824
  constructor();
2020
- AddListener(call: UnityEngine.Events.UnityAction<string, ReactUnity.Helpers.Callback>): void;
2021
- RemoveListener(call: UnityEngine.Events.UnityAction<string, ReactUnity.Helpers.Callback>): void;
1825
+ AddListener(call: ((arg0: string, arg1: ReactUnity.Helpers.Callback) => void)): void;
1826
+ RemoveListener(call: ((arg0: string, arg1: ReactUnity.Helpers.Callback) => void)): void;
2022
1827
  Invoke(arg0: string, arg1: ReactUnity.Helpers.Callback): void;
2023
1828
  GetPersistentEventCount(): number;
2024
1829
  GetPersistentTarget(index: number): UnityEngine.Object;
@@ -2052,8 +1857,8 @@ export declare namespace ReactUnity {
2052
1857
  GetEnumerator(): System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, any>>;
2053
1858
  Remove(key: string): boolean;
2054
1859
  RemoveWithoutNotify(key: string): boolean;
2055
- AddListener(listener: ((arg0: string, arg1: any, arg2: ReactUnity.Helpers.WatchableDictionary<string, any>) => void)): (() => void);
2056
1860
  AddListener(cb: any): (() => void);
1861
+ AddListener(listener: ((arg1: string, arg2: any, arg3: ReactUnity.Helpers.WatchableDictionary<string, any>) => void)): (() => void);
2057
1862
  GetValueOrDefault(key: string): any;
2058
1863
  Dispose(): void;
2059
1864
  Equals(obj: any): boolean;
@@ -2074,6 +1879,7 @@ export declare namespace ReactUnity {
2074
1879
  GetNamespace(nsName: string, assembly: System.Reflection.Assembly): any;
2075
1880
  AddType(name: string, type: System.Type): any;
2076
1881
  AddNamespace(name: string, nsName: string, ...assemblies: System.Reflection.Assembly[]): any;
1882
+ Dispose(): void;
2077
1883
  Add(key: string, value: any): void;
2078
1884
  Clear(): void;
2079
1885
  ContainsKey(key: string): boolean;
@@ -2116,7 +1922,7 @@ export declare namespace ReactUnity {
2116
1922
  IsReadOnly: boolean;
2117
1923
  OnAfterDeserialize(): void;
2118
1924
  OnBeforeSerialize(): void;
2119
- AddReserializeListener(callback: ((arg0: ReactUnity.Helpers.SerializableDictionary) => void)): (() => void);
1925
+ AddReserializeListener(callback: ((obj: ReactUnity.Helpers.SerializableDictionary) => void)): (() => void);
2120
1926
  OnExposedToScriptCode(engine: any): void;
2121
1927
  Set(key: string, value: any): void;
2122
1928
  SetWithoutNotify(key: string, value: any): void;
@@ -2128,8 +1934,8 @@ export declare namespace ReactUnity {
2128
1934
  GetEnumerator(): System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, any>>;
2129
1935
  Remove(key: string): boolean;
2130
1936
  RemoveWithoutNotify(key: string): boolean;
2131
- AddListener(listener: ((arg0: string, arg1: any, arg2: ReactUnity.Helpers.WatchableDictionary<string, any>) => void)): (() => void);
2132
1937
  AddListener(cb: any): (() => void);
1938
+ AddListener(listener: ((arg1: string, arg2: any, arg3: ReactUnity.Helpers.WatchableDictionary<string, any>) => void)): (() => void);
2133
1939
  GetValueOrDefault(key: string): any;
2134
1940
  Dispose(): void;
2135
1941
  Equals(obj: any): boolean;
@@ -2171,8 +1977,8 @@ export declare namespace ReactUnity {
2171
1977
  GetEnumerator(): System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<TKey, T>>;
2172
1978
  Remove(key: TKey): boolean;
2173
1979
  RemoveWithoutNotify(key: TKey): boolean;
2174
- AddListener(listener: ((arg0: TKey, arg1: T, arg2: ReactUnity.Helpers.WatchableDictionary<TKey, T>) => void)): (() => void);
2175
1980
  AddListener(cb: any): (() => void);
1981
+ AddListener(listener: ((arg1: TKey, arg2: T, arg3: ReactUnity.Helpers.WatchableDictionary<TKey, T>) => void)): (() => void);
2176
1982
  GetValueOrDefault(key: TKey): T;
2177
1983
  Dispose(): void;
2178
1984
  Equals(obj: any): boolean;
@@ -2206,8 +2012,8 @@ export declare namespace ReactUnity {
2206
2012
  GetEnumerator(): System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<TKey, T>>;
2207
2013
  Remove(key: TKey): boolean;
2208
2014
  RemoveWithoutNotify(key: TKey): boolean;
2209
- AddListener(listener: ((arg0: TKey, arg1: T, arg2: ReactUnity.Helpers.WatchableDictionary<TKey, T>) => void)): (() => void);
2210
2015
  AddListener(cb: any): (() => void);
2016
+ AddListener(listener: ((arg1: TKey, arg2: T, arg3: ReactUnity.Helpers.WatchableDictionary<TKey, T>) => void)): (() => void);
2211
2017
  GetValueOrDefault(key: TKey): T;
2212
2018
  Dispose(): void;
2213
2019
  Equals(obj: any): boolean;
@@ -2242,8 +2048,8 @@ export declare namespace ReactUnity {
2242
2048
  GetEnumerator(): System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<TKey, T>>;
2243
2049
  Remove(key: TKey): boolean;
2244
2050
  RemoveWithoutNotify(key: TKey): boolean;
2245
- AddListener(listener: ((arg0: TKey, arg1: T, arg2: ReactUnity.Helpers.WatchableDictionary<TKey, T>) => void)): (() => void);
2246
2051
  AddListener(cb: any): (() => void);
2052
+ AddListener(listener: ((arg1: TKey, arg2: T, arg3: ReactUnity.Helpers.WatchableDictionary<TKey, T>) => void)): (() => void);
2247
2053
  GetValueOrDefault(key: TKey): T;
2248
2054
  Dispose(): void;
2249
2055
  Equals(obj: any): boolean;
@@ -2268,8 +2074,8 @@ export declare namespace ReactUnity {
2268
2074
  GetEnumerator(): System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, T>>;
2269
2075
  Remove(key: string): boolean;
2270
2076
  RemoveWithoutNotify(key: string): boolean;
2271
- AddListener(listener: ((arg0: string, arg1: T, arg2: ReactUnity.Helpers.WatchableDictionary<string, T>) => void)): (() => void);
2272
2077
  AddListener(cb: any): (() => void);
2078
+ AddListener(listener: ((arg1: string, arg2: T, arg3: ReactUnity.Helpers.WatchableDictionary<string, T>) => void)): (() => void);
2273
2079
  GetValueOrDefault(key: string): T;
2274
2080
  Dispose(): void;
2275
2081
  Equals(obj: any): boolean;
@@ -2295,8 +2101,8 @@ export declare namespace ReactUnity {
2295
2101
  GetEnumerator(): System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, any>>;
2296
2102
  Remove(key: string): boolean;
2297
2103
  RemoveWithoutNotify(key: string): boolean;
2298
- AddListener(listener: ((arg0: string, arg1: any, arg2: ReactUnity.Helpers.WatchableDictionary<string, any>) => void)): (() => void);
2299
2104
  AddListener(cb: any): (() => void);
2105
+ AddListener(listener: ((arg1: string, arg2: any, arg3: ReactUnity.Helpers.WatchableDictionary<string, any>) => void)): (() => void);
2300
2106
  GetValueOrDefault(key: string): any;
2301
2107
  Dispose(): void;
2302
2108
  Equals(obj: any): boolean;
@@ -2339,7 +2145,7 @@ export declare namespace ReactUnity {
2339
2145
  }
2340
2146
  namespace Visitors {
2341
2147
  class ReactComponentVisitor {
2342
- Visit(component: ReactUnity.IReactComponent): void;
2148
+ Visit(component: ReactUnity.IReactComponent): boolean;
2343
2149
  Equals(obj: any): boolean;
2344
2150
  GetHashCode(): number;
2345
2151
  GetType(): System.Type;
@@ -2351,7 +2157,7 @@ export declare namespace ReactUnity {
2351
2157
  class HtmlComponent {
2352
2158
  constructor(ctx: ReactUnity.ReactContext, tag?: string, text?: string);
2353
2159
  Content: string;
2354
- InnerContent: string;
2160
+ ResolvedContent: string;
2355
2161
  Source: any;
2356
2162
  Proxy: ReactUnity.IContainerComponent;
2357
2163
  Context: ReactUnity.ReactContext;
@@ -2391,7 +2197,7 @@ export declare namespace ReactUnity {
2391
2197
  ApplyLayoutStyles(): void;
2392
2198
  ResolveStyle(recursive?: boolean): void;
2393
2199
  Update(): void;
2394
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
2200
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
2395
2201
  SetParent(parent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
2396
2202
  SetData(property: string, value: any): void;
2397
2203
  SetEventListener(eventType: string, callback: ReactUnity.Helpers.Callback): void;
@@ -2437,6 +2243,27 @@ export declare namespace ReactUnity {
2437
2243
  }
2438
2244
  }
2439
2245
  namespace Scheduling {
2246
+ class BaseDispatcher<CoroutineType = any> {
2247
+ Scheduler: ReactUnity.Scheduling.IScheduler;
2248
+ OnEveryLateUpdate(callback: (() => void)): number;
2249
+ OnEveryUpdate(callback: (() => void)): number;
2250
+ OnceUpdate(callback: (() => void)): number;
2251
+ OnceLateUpdate(callback: (() => void)): number;
2252
+ Timeout(callback: (() => void), timeSeconds: number): number;
2253
+ AnimationFrame(callback: (() => void)): number;
2254
+ Interval(callback: (() => void), intervalSeconds: number): number;
2255
+ Immediate(callback: (() => void)): number;
2256
+ StartDeferred(cr: System.Collections.IEnumerator): number;
2257
+ StartDeferred(cr: System.Collections.IEnumerator, handle: number): number;
2258
+ StopDeferred(cr: number): void;
2259
+ Dispose(): void;
2260
+ Update(): void;
2261
+ LateUpdate(): void;
2262
+ Equals(obj: any): boolean;
2263
+ GetHashCode(): number;
2264
+ GetType(): System.Type;
2265
+ ToString(): string;
2266
+ }
2440
2267
  class ControlledTimer {
2441
2268
  constructor();
2442
2269
  AnimationTime: number;
@@ -2473,6 +2300,7 @@ export declare namespace ReactUnity {
2473
2300
  particleSystem: UnityEngine.Component;
2474
2301
  name: string;
2475
2302
  hideFlags: UnityEngine.HideFlags;
2303
+ state: string;
2476
2304
  IsInvoking(): boolean;
2477
2305
  CancelInvoke(): void;
2478
2306
  Invoke(methodName: string, time: number): void;
@@ -2536,8 +2364,9 @@ export declare namespace ReactUnity {
2536
2364
  class EditorDispatcher {
2537
2365
  constructor(ctx: ReactUnity.ReactContext);
2538
2366
  Scheduler: ReactUnity.Scheduling.IScheduler;
2539
- OnEveryUpdate(call: (() => void)): number;
2540
- OnEveryLateUpdate(call: (() => void)): number;
2367
+ Dispose(): void;
2368
+ OnEveryLateUpdate(callback: (() => void)): number;
2369
+ OnEveryUpdate(callback: (() => void)): number;
2541
2370
  OnceUpdate(callback: (() => void)): number;
2542
2371
  OnceLateUpdate(callback: (() => void)): number;
2543
2372
  Timeout(callback: (() => void), timeSeconds: number): number;
@@ -2547,8 +2376,8 @@ export declare namespace ReactUnity {
2547
2376
  StartDeferred(cr: System.Collections.IEnumerator): number;
2548
2377
  StartDeferred(cr: System.Collections.IEnumerator, handle: number): number;
2549
2378
  StopDeferred(cr: number): void;
2550
- StopAll(): void;
2551
- Dispose(): void;
2379
+ Update(): void;
2380
+ LateUpdate(): void;
2552
2381
  Equals(obj: any): boolean;
2553
2382
  GetHashCode(): number;
2554
2383
  GetType(): System.Type;
@@ -2598,10 +2427,8 @@ export declare namespace ReactUnity {
2598
2427
  GetType(): System.Type;
2599
2428
  ToString(): string;
2600
2429
  }
2601
- class RuntimeDispatcher {
2430
+ class RuntimeDispatcherBehavior {
2602
2431
  constructor();
2603
- Scheduler: ReactUnity.Scheduling.IScheduler;
2604
- CurrentLifecycle: ReactUnity.Scheduling.CurrentLifecycle;
2605
2432
  useGUILayout: boolean;
2606
2433
  runInEditMode: boolean;
2607
2434
  enabled: boolean;
@@ -2624,20 +2451,7 @@ export declare namespace ReactUnity {
2624
2451
  particleSystem: UnityEngine.Component;
2625
2452
  name: string;
2626
2453
  hideFlags: UnityEngine.HideFlags;
2627
- static Create(ctx: ReactUnity.ReactContext): ReactUnity.Scheduling.RuntimeDispatcher;
2628
- OnEveryLateUpdate(callback: (() => void)): number;
2629
- OnEveryUpdate(callback: (() => void)): number;
2630
- OnceUpdate(callback: (() => void)): number;
2631
- OnceLateUpdate(callback: (() => void)): number;
2632
- Timeout(callback: (() => void), timeSeconds: number): number;
2633
- AnimationFrame(callback: (() => void)): number;
2634
- Interval(callback: (() => void), intervalSeconds: number): number;
2635
- Immediate(callback: (() => void)): number;
2636
- IsMainThread(): boolean;
2637
- StartDeferred(cr: System.Collections.IEnumerator): number;
2638
- StartDeferred(cr: System.Collections.IEnumerator, handle: number): number;
2639
- StopDeferred(cr: number): void;
2640
- Dispose(): void;
2454
+ static Create(ctx: ReactUnity.ReactContext): ReactUnity.Scheduling.RuntimeDispatcherBehavior_RuntimeDispatcher;
2641
2455
  IsInvoking(): boolean;
2642
2456
  CancelInvoke(): void;
2643
2457
  Invoke(methodName: string, time: number): void;
@@ -2692,22 +2506,50 @@ export declare namespace ReactUnity {
2692
2506
  GetType(): System.Type;
2693
2507
  ToString(): string;
2694
2508
  }
2509
+ class RuntimeDispatcherBehavior_RuntimeDispatcher {
2510
+ constructor(ctx: ReactUnity.ReactContext, behavior: ReactUnity.Scheduling.RuntimeDispatcherBehavior);
2511
+ CurrentLifecycle: ReactUnity.Scheduling.CurrentLifecycle;
2512
+ Scheduler: ReactUnity.Scheduling.IScheduler;
2513
+ Behavior: ReactUnity.Scheduling.RuntimeDispatcherBehavior;
2514
+ Dispose(): void;
2515
+ OnEveryLateUpdate(callback: (() => void)): number;
2516
+ OnEveryUpdate(callback: (() => void)): number;
2517
+ OnceUpdate(callback: (() => void)): number;
2518
+ OnceLateUpdate(callback: (() => void)): number;
2519
+ Timeout(callback: (() => void), timeSeconds: number): number;
2520
+ AnimationFrame(callback: (() => void)): number;
2521
+ Interval(callback: (() => void), intervalSeconds: number): number;
2522
+ Immediate(callback: (() => void)): number;
2523
+ StartDeferred(cr: System.Collections.IEnumerator): number;
2524
+ StartDeferred(cr: System.Collections.IEnumerator, handle: number): number;
2525
+ StopDeferred(cr: number): void;
2526
+ Update(): void;
2527
+ LateUpdate(): void;
2528
+ Equals(obj: any): boolean;
2529
+ GetHashCode(): number;
2530
+ GetType(): System.Type;
2531
+ ToString(): string;
2532
+ }
2695
2533
  }
2696
2534
  namespace Scripting {
2697
2535
  class ClearScriptEngine {
2698
2536
  constructor(context: ReactUnity.ReactContext, debug: boolean, awaitDebugger: boolean);
2699
2537
  Key: string;
2538
+ Capabilities: ReactUnity.Scripting.EngineCapabilities;
2700
2539
  Engine: any;
2701
2540
  NativeEngine: any;
2702
2541
  Evaluate(code: string, fileName?: string): any;
2703
2542
  Execute(code: string, fileName?: string): void;
2704
2543
  TryExecute(code: string, fileName?: string): System.Exception;
2705
- GetValue(key: string): any;
2544
+ GetGlobal(key: string): any;
2545
+ DeleteGlobal(key: string): void;
2706
2546
  CreateTypeReference(type: System.Type): any;
2707
2547
  CreateNamespaceReference(ns: string, ...assemblies: System.Reflection.Assembly[]): any;
2708
- CreateNativeObject(props: Record<string, any>): any;
2548
+ CreateScriptObject(props: System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, any>>): any;
2709
2549
  Dispose(): void;
2710
2550
  TraverseScriptObject(obj: any): System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, any>>;
2551
+ IsScriptObject(obj: any): boolean;
2552
+ Update(): void;
2711
2553
  Equals(obj: any): boolean;
2712
2554
  GetHashCode(): number;
2713
2555
  GetType(): System.Type;
@@ -2716,47 +2558,65 @@ export declare namespace ReactUnity {
2716
2558
  class ClearScriptEngineFactory {
2717
2559
  constructor();
2718
2560
  EngineType: ReactUnity.Scripting.JavascriptEngineType;
2719
- Create(context: ReactUnity.ReactContext, debug: boolean, awaitDebugger: boolean): ReactUnity.Scripting.IJavaScriptEngine;
2561
+ Create(context: ReactUnity.ReactContext, debug: boolean, awaitDebugger: boolean, onInitialize: ((obj: ReactUnity.Scripting.IJavaScriptEngine) => void)): ReactUnity.Scripting.IJavaScriptEngine;
2720
2562
  Equals(obj: any): boolean;
2721
2563
  GetHashCode(): number;
2722
2564
  GetType(): System.Type;
2723
2565
  ToString(): string;
2724
2566
  }
2567
+ enum EngineCapabilities {
2568
+ None = 0,
2569
+ Fetch = 1,
2570
+ XHR = 2,
2571
+ WebSocket = 4,
2572
+ Console = 8,
2573
+ Scheduler = 16,
2574
+ Base64 = 32
2575
+ }
2725
2576
  enum JavascriptEngineType {
2726
2577
  Auto = 0,
2727
2578
  Jint = 1,
2728
- ClearScript = 2
2579
+ ClearScript = 2,
2580
+ QuickJS = 3
2729
2581
  }
2730
2582
  interface IJavaScriptEngine {
2731
2583
  Key: string;
2732
2584
  NativeEngine: any;
2585
+ Capabilities: ReactUnity.Scripting.EngineCapabilities;
2733
2586
  Execute(code: string, fileName?: string): void;
2734
2587
  TryExecute(code: string, fileName?: string): System.Exception;
2735
2588
  Evaluate(code: string, fileName?: string): any;
2736
- GetValue(key: string): any;
2737
- CreateNativeObject(props: Record<string, any>): any;
2589
+ GetGlobal(key: string): any;
2590
+ DeleteGlobal(key: string): void;
2591
+ CreateScriptObject(props: System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, any>>): any;
2592
+ IsScriptObject(obj: any): boolean;
2738
2593
  CreateTypeReference(type: System.Type): any;
2739
2594
  CreateNamespaceReference(ns: string, ...assemblies: System.Reflection.Assembly[]): any;
2740
2595
  TraverseScriptObject(obj: any): System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, any>>;
2596
+ Update(): void;
2741
2597
  }
2742
2598
  interface IJavaScriptEngineFactory {
2743
2599
  EngineType: ReactUnity.Scripting.JavascriptEngineType;
2744
- Create(context: ReactUnity.ReactContext, debug: boolean, awaitDebugger: boolean): ReactUnity.Scripting.IJavaScriptEngine;
2600
+ Create(context: ReactUnity.ReactContext, debug: boolean, awaitDebugger: boolean, onInitialize: ((obj: ReactUnity.Scripting.IJavaScriptEngine) => void)): ReactUnity.Scripting.IJavaScriptEngine;
2745
2601
  }
2746
2602
  class JintEngine {
2747
2603
  constructor(context: ReactUnity.ReactContext, debug: boolean, awaitDebugger: boolean);
2748
2604
  Key: string;
2749
2605
  Engine: any;
2750
2606
  NativeEngine: any;
2607
+ Capabilities: ReactUnity.Scripting.EngineCapabilities;
2751
2608
  Evaluate(code: string, fileName?: string): any;
2752
2609
  Execute(code: string, fileName?: string): void;
2753
2610
  TryExecute(code: string, fileName?: string): System.Exception;
2754
- GetValue(key: string): any;
2611
+ GetGlobal(key: string): any;
2612
+ DeleteGlobal(key: string): void;
2755
2613
  CreateTypeReference(type: System.Type): any;
2756
2614
  CreateNamespaceReference(ns: string, ...assemblies: System.Reflection.Assembly[]): any;
2757
- CreateNativeObject(props: Record<string, any>): any;
2615
+ CreateScriptObject(props: System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, any>>): any;
2758
2616
  Dispose(): void;
2759
2617
  TraverseScriptObject(obj: any): System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, any>>;
2618
+ IsScriptObject(obj: any): boolean;
2619
+ Update(): void;
2760
2620
  Equals(obj: any): boolean;
2761
2621
  GetHashCode(): number;
2762
2622
  GetType(): System.Type;
@@ -2765,66 +2625,153 @@ export declare namespace ReactUnity {
2765
2625
  class JintEngineFactory {
2766
2626
  constructor();
2767
2627
  EngineType: ReactUnity.Scripting.JavascriptEngineType;
2768
- Create(context: ReactUnity.ReactContext, debug: boolean, awaitDebugger: boolean): ReactUnity.Scripting.IJavaScriptEngine;
2628
+ Create(context: ReactUnity.ReactContext, debug: boolean, awaitDebugger: boolean, onInitialize: ((obj: ReactUnity.Scripting.IJavaScriptEngine) => void)): ReactUnity.Scripting.IJavaScriptEngine;
2629
+ Equals(obj: any): boolean;
2630
+ GetHashCode(): number;
2631
+ GetType(): System.Type;
2632
+ ToString(): string;
2633
+ }
2634
+ class JintExtensions {
2635
+ static RunContinuations(engine: any): void;
2769
2636
  Equals(obj: any): boolean;
2770
2637
  GetHashCode(): number;
2771
2638
  GetType(): System.Type;
2772
2639
  ToString(): string;
2773
2640
  }
2774
2641
  class JintTypeConverter {
2775
- constructor(engine: any);
2642
+ constructor(context: ReactUnity.ReactContext, engine: any);
2776
2643
  Convert(value: any, type: System.Type, formatProvider: System.IFormatProvider): any;
2777
2644
  Equals(obj: any): boolean;
2778
2645
  GetHashCode(): number;
2779
2646
  GetType(): System.Type;
2780
2647
  ToString(): string;
2781
2648
  }
2782
- class ScriptComponent {
2783
- constructor(ctx: ReactUnity.ReactContext, tag?: string, text?: string);
2784
- Content: string;
2785
- InnerContent: string;
2786
- Source: any;
2787
- Proxy: ReactUnity.IContainerComponent;
2788
- Context: ReactUnity.ReactContext;
2789
- Parent: ReactUnity.IContainerComponent;
2790
- IsPseudoElement: boolean;
2791
- Destroyed: boolean;
2792
- Entering: boolean;
2793
- Leaving: boolean;
2794
- Layout: Facebook.Yoga.YogaNode;
2795
- StyleState: ReactUnity.Styling.StyleState;
2796
- ComputedStyle: ReactUnity.Styling.NodeStyle;
2797
- Style: ReactUnity.Styling.InlineStyles;
2798
- InlineStylesheet: ReactUnity.Styling.StyleSheet;
2799
- Id: string;
2800
- Name: string;
2801
- Tag: string;
2802
- TextContent: string;
2803
- RefId: number;
2804
- ClassName: string;
2805
- ClassList: ReactUnity.Helpers.ClassList;
2806
- StateStyles: ReactUnity.Styling.StateStyles;
2807
- Data: ReactUnity.Helpers.WatchableObjectRecord;
2808
- ParentIndex: number;
2809
- CurrentOrder: number;
2810
- ScrollLeft: number;
2811
- ScrollTop: number;
2812
- ScrollWidth: number;
2813
- ScrollHeight: number;
2814
- ClientWidth: number;
2815
- ClientHeight: number;
2816
- Children: ReactUnity.IReactComponent[];
2817
- BeforePseudo: ReactUnity.IReactComponent;
2818
- AfterPseudo: ReactUnity.IReactComponent;
2819
- BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
2820
- AfterRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
2821
- Execute(): void;
2649
+ class QuickJSApiBridge {
2650
+ constructor();
2651
+ static KeyForCSharpIdentity: string;
2652
+ GetPayloadHeader(context: any, val: any): any;
2653
+ NewBridgeObject(context: any, o: any, proto: any): any;
2654
+ Equals(obj: any): boolean;
2655
+ GetHashCode(): number;
2656
+ GetType(): System.Type;
2657
+ ToString(): string;
2658
+ }
2659
+ class QuickJSConverters {
2660
+ static RegisterAllConverters(): void;
2661
+ static js_push_array(ctx: any, o: System.Array): any;
2662
+ static js_push_delegate(ctx: any, o: System.Delegate): any;
2663
+ Equals(obj: any): boolean;
2664
+ GetHashCode(): number;
2665
+ GetType(): System.Type;
2666
+ ToString(): string;
2667
+ }
2668
+ class QuickJSEngine {
2669
+ constructor(context: ReactUnity.ReactContext, debug: boolean, awaitDebugger: boolean, onInitialize: ((obj: ReactUnity.Scripting.IJavaScriptEngine) => void));
2670
+ Key: string;
2671
+ NativeEngine: any;
2672
+ Capabilities: ReactUnity.Scripting.EngineCapabilities;
2673
+ Runtime: any;
2674
+ MainContext: any;
2675
+ Global: any;
2676
+ TypeDB: any;
2677
+ ObjectCache: any;
2678
+ static InvokeReflectBinding(runtime: any): void;
2679
+ Evaluate(code: string, fileName?: string): any;
2680
+ Execute(code: string, fileName?: string): void;
2681
+ TryExecute(code: string, fileName?: string): System.Exception;
2682
+ GetGlobal(key: string): any;
2683
+ DeleteGlobal(key: string): void;
2684
+ CreateNativeValue(v: any): any;
2685
+ CreateTypeReference(type: System.Type): any;
2686
+ CreateNamespaceReference(ns: string, ...assemblies: System.Reflection.Assembly[]): any;
2687
+ CreateScriptObject(props: System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, any>>): any;
2688
+ Dispose(): void;
2689
+ TraverseScriptObject(obj: any): System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, any>>;
2690
+ IsScriptObject(obj: any): boolean;
2691
+ Update(): void;
2692
+ Equals(obj: any): boolean;
2693
+ GetHashCode(): number;
2694
+ GetType(): System.Type;
2695
+ ToString(): string;
2696
+ }
2697
+ class QuickJSEngineFactory {
2698
+ constructor();
2699
+ EngineType: ReactUnity.Scripting.JavascriptEngineType;
2700
+ Create(context: ReactUnity.ReactContext, debug: boolean, awaitDebugger: boolean, onInitialize: ((obj: ReactUnity.Scripting.IJavaScriptEngine) => void)): ReactUnity.Scripting.IJavaScriptEngine;
2701
+ Equals(obj: any): boolean;
2702
+ GetHashCode(): number;
2703
+ GetType(): System.Type;
2704
+ ToString(): string;
2705
+ }
2706
+ class QuickJSNamespaceReference {
2707
+ constructor(engine: ReactUnity.Scripting.QuickJSEngine, path: string, allowedAssemblies: System.Reflection.Assembly[]);
2708
+ [key: string]: any;
2709
+ Keys: System.Collections.Generic.ICollection<string>;
2710
+ Values: System.Collections.Generic.ICollection<any>;
2711
+ Count: number;
2712
+ IsReadOnly: boolean;
2713
+ Get(property: string): any;
2714
+ GetPath(path: string): any;
2715
+ ToString(): string;
2716
+ Add(key: string, value: any): void;
2717
+ ContainsKey(key: string): boolean;
2718
+ Remove(key: string): boolean;
2719
+ Add(item: System.Collections.Generic.KeyValuePair<string, any>): void;
2720
+ Clear(): void;
2721
+ Contains(item: System.Collections.Generic.KeyValuePair<string, any>): boolean;
2722
+ CopyTo(array: System.Collections.Generic.KeyValuePair<string, any>[], arrayIndex: number): void;
2723
+ Remove(item: System.Collections.Generic.KeyValuePair<string, any>): boolean;
2724
+ GetEnumerator(): System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, any>>;
2725
+ Equals(obj: any): boolean;
2726
+ GetHashCode(): number;
2727
+ GetType(): System.Type;
2728
+ }
2729
+ class ScriptComponent {
2730
+ constructor(ctx: ReactUnity.ReactContext, tag?: string, text?: string);
2731
+ Content: string;
2732
+ ResolvedContent: string;
2733
+ Source: any;
2734
+ Proxy: ReactUnity.IContainerComponent;
2735
+ Context: ReactUnity.ReactContext;
2736
+ Parent: ReactUnity.IContainerComponent;
2737
+ IsPseudoElement: boolean;
2738
+ Destroyed: boolean;
2739
+ Entering: boolean;
2740
+ Leaving: boolean;
2741
+ Layout: Facebook.Yoga.YogaNode;
2742
+ StyleState: ReactUnity.Styling.StyleState;
2743
+ ComputedStyle: ReactUnity.Styling.NodeStyle;
2744
+ Style: ReactUnity.Styling.InlineStyles;
2745
+ InlineStylesheet: ReactUnity.Styling.StyleSheet;
2746
+ Id: string;
2747
+ Name: string;
2748
+ Tag: string;
2749
+ TextContent: string;
2750
+ RefId: number;
2751
+ ClassName: string;
2752
+ ClassList: ReactUnity.Helpers.ClassList;
2753
+ StateStyles: ReactUnity.Styling.StateStyles;
2754
+ Data: ReactUnity.Helpers.WatchableObjectRecord;
2755
+ ParentIndex: number;
2756
+ CurrentOrder: number;
2757
+ ScrollLeft: number;
2758
+ ScrollTop: number;
2759
+ ScrollWidth: number;
2760
+ ScrollHeight: number;
2761
+ ClientWidth: number;
2762
+ ClientHeight: number;
2763
+ Children: ReactUnity.IReactComponent[];
2764
+ BeforePseudo: ReactUnity.IReactComponent;
2765
+ AfterPseudo: ReactUnity.IReactComponent;
2766
+ BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
2767
+ AfterRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
2768
+ Execute(): void;
2822
2769
  SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
2823
2770
  SetProperty(propertyName: string, value: any): void;
2824
2771
  ApplyLayoutStyles(): void;
2825
2772
  ResolveStyle(recursive?: boolean): void;
2826
2773
  Update(): void;
2827
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
2774
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
2828
2775
  SetData(property: string, value: any): void;
2829
2776
  SetEventListener(eventType: string, callback: ReactUnity.Helpers.Callback): void;
2830
2777
  AddEventListener(eventType: string, callback: ReactUnity.Helpers.Callback): (() => void);
@@ -2853,13 +2800,14 @@ export declare namespace ReactUnity {
2853
2800
  Engine: ReactUnity.Scripting.IJavaScriptEngine;
2854
2801
  Interop: ReactUnity.Helpers.ReactInterop;
2855
2802
  Initialized: boolean;
2803
+ EngineInitialized: boolean;
2856
2804
  Debug: boolean;
2857
2805
  AwaitDebugger: boolean;
2858
2806
  Context: ReactUnity.ReactContext;
2859
2807
  EngineType: ReactUnity.Scripting.JavascriptEngineType;
2860
2808
  EngineFactory: ReactUnity.Scripting.IJavaScriptEngineFactory;
2861
- RunScript(script: string, beforeStart?: (() => void), afterStart?: (() => void)): void;
2862
- Initialize(): void;
2809
+ RunMainScript(script: string, beforeStart?: (() => void), afterStart?: (() => void)): void;
2810
+ Initialize(callback: (() => void)): void;
2863
2811
  ExecuteScript(code: string, fileName?: string): void;
2864
2812
  EvaluateScript(code: string, fileName?: string): any;
2865
2813
  CreateEventCallback(code: string, thisVal: any): ReactUnity.Helpers.Callback;
@@ -2872,17 +2820,11 @@ export declare namespace ReactUnity {
2872
2820
  namespace DomProxies {
2873
2821
  class ConsoleProxy {
2874
2822
  constructor(ctx: ReactUnity.ReactContext);
2875
- log(msg: any): void;
2876
2823
  log(msg: any, ...subs: any[]): void;
2877
- info(msg: any): void;
2878
2824
  info(msg: any, ...subs: any[]): void;
2879
- debug(msg: any): void;
2880
2825
  debug(msg: any, ...subs: any[]): void;
2881
- warn(msg: any): void;
2882
2826
  warn(msg: any, ...subs: any[]): void;
2883
- error(msg: any): void;
2884
2827
  error(msg: any, ...subs: any[]): void;
2885
- dir(msg: any): void;
2886
2828
  dir(msg: any, ...subs: any[]): void;
2887
2829
  count(msg?: any): number;
2888
2830
  clear(): void;
@@ -2894,9 +2836,11 @@ export declare namespace ReactUnity {
2894
2836
  }
2895
2837
  class DocumentProxy {
2896
2838
  constructor(context: ReactUnity.ReactContext, origin: string);
2839
+ documentElement: ReactUnity.Scripting.DomProxies.DocumentProxy;
2897
2840
  head: ReactUnity.Scripting.DomProxies.HeadProxy;
2898
2841
  Origin: string;
2899
2842
  Context: ReactUnity.ReactContext;
2843
+ nodeType: number;
2900
2844
  createElement(type: string): any;
2901
2845
  createTextNode(text: string): string;
2902
2846
  querySelector(query: string): any;
@@ -2935,6 +2879,7 @@ export declare namespace ReactUnity {
2935
2879
  constructor();
2936
2880
  tagName: string;
2937
2881
  Children: ReactUnity.Scripting.DomProxies.IDomElementProxy[];
2882
+ childNodes: ReactUnity.Scripting.DomProxies.IDomElementProxy[];
2938
2883
  nodeType: number;
2939
2884
  nextSibling: any;
2940
2885
  id: string;
@@ -2980,22 +2925,27 @@ export declare namespace ReactUnity {
2980
2925
  class StyleProxy {
2981
2926
  constructor(document: ReactUnity.Scripting.DomProxies.DocumentProxy);
2982
2927
  tagName: string;
2928
+ childNodes: ReactUnity.Scripting.DomProxies.NodeList<string>;
2983
2929
  firstChild: string;
2930
+ lastChild: string;
2931
+ sheet: ReactUnity.Styling.StyleSheet;
2932
+ textContent: string;
2984
2933
  nodeType: number;
2985
2934
  nextSibling: any;
2986
- childNodes: string[];
2987
2935
  Sheet: ReactUnity.Styling.StyleSheet;
2988
2936
  styleSheet: ReactUnity.Scripting.DomProxies.StyleProxy_StyleSheetProxy;
2989
2937
  enabled: boolean;
2990
2938
  document: ReactUnity.Scripting.DomProxies.DocumentProxy;
2991
2939
  parentNode: ReactUnity.Scripting.DomProxies.HeadProxy;
2992
2940
  id: string;
2941
+ hasChildNodes(): boolean;
2993
2942
  OnAppend(): void;
2994
2943
  OnRemove(): void;
2995
- appendChild(text: string): void;
2996
- removeChild(text: string): void;
2997
2944
  setAttribute(key: any, value: any): void;
2998
2945
  removeAttribute(key: any): void;
2946
+ appendChild(text: string): void;
2947
+ removeChild(text: string): void;
2948
+ insertBefore(child: string, before: any): void;
2999
2949
  hasAttribute(key: any): boolean;
3000
2950
  getAttribute(key: any): any;
3001
2951
  Equals(obj: any): boolean;
@@ -3059,12 +3009,33 @@ export declare namespace ReactUnity {
3059
3009
  GetType(): System.Type;
3060
3010
  ToString(): string;
3061
3011
  }
3012
+ class NodeList<T = any> {
3013
+ constructor(values: T[]);
3014
+ [key: string]: any;
3015
+ Keys: System.Collections.Generic.ICollection<string>;
3016
+ Values: System.Collections.Generic.ICollection<any>;
3017
+ Count: number;
3018
+ IsReadOnly: boolean;
3019
+ Add(key: string, value: any): void;
3020
+ Add(item: System.Collections.Generic.KeyValuePair<string, any>): void;
3021
+ Clear(): void;
3022
+ Contains(item: System.Collections.Generic.KeyValuePair<string, any>): boolean;
3023
+ ContainsKey(key: string): boolean;
3024
+ CopyTo(array: System.Collections.Generic.KeyValuePair<string, any>[], arrayIndex: number): void;
3025
+ GetEnumerator(): System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, any>>;
3026
+ Remove(key: string): boolean;
3027
+ Remove(item: System.Collections.Generic.KeyValuePair<string, any>): boolean;
3028
+ Equals(obj: any): boolean;
3029
+ GetHashCode(): number;
3030
+ GetType(): System.Type;
3031
+ ToString(): string;
3032
+ }
3062
3033
  class WebSocketOpenEventHandler {
3063
3034
  constructor(object: any, method: System.IntPtr);
3064
3035
  Method: System.Reflection.MethodInfo;
3065
3036
  Target: any;
3066
3037
  Invoke(): void;
3067
- BeginInvoke(callback: System.AsyncCallback, object: any): System.IAsyncResult;
3038
+ BeginInvoke(callback: ((ar: System.IAsyncResult) => void), object: any): System.IAsyncResult;
3068
3039
  EndInvoke(result: System.IAsyncResult): void;
3069
3040
  GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext): void;
3070
3041
  Equals(obj: any): boolean;
@@ -3079,8 +3050,8 @@ export declare namespace ReactUnity {
3079
3050
  constructor(object: any, method: System.IntPtr);
3080
3051
  Method: System.Reflection.MethodInfo;
3081
3052
  Target: any;
3082
- Invoke(data: System.Byte[]): void;
3083
- BeginInvoke(data: System.Byte[], callback: System.AsyncCallback, object: any): System.IAsyncResult;
3053
+ Invoke(data: Byte[]): void;
3054
+ BeginInvoke(data: Byte[], callback: ((ar: System.IAsyncResult) => void), object: any): System.IAsyncResult;
3084
3055
  EndInvoke(result: System.IAsyncResult): void;
3085
3056
  GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext): void;
3086
3057
  Equals(obj: any): boolean;
@@ -3096,7 +3067,7 @@ export declare namespace ReactUnity {
3096
3067
  Method: System.Reflection.MethodInfo;
3097
3068
  Target: any;
3098
3069
  Invoke(errorMsg: string): void;
3099
- BeginInvoke(errorMsg: string, callback: System.AsyncCallback, object: any): System.IAsyncResult;
3070
+ BeginInvoke(errorMsg: string, callback: ((ar: System.IAsyncResult) => void), object: any): System.IAsyncResult;
3100
3071
  EndInvoke(result: System.IAsyncResult): void;
3101
3072
  GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext): void;
3102
3073
  Equals(obj: any): boolean;
@@ -3112,7 +3083,7 @@ export declare namespace ReactUnity {
3112
3083
  Method: System.Reflection.MethodInfo;
3113
3084
  Target: any;
3114
3085
  Invoke(closeCode: ReactUnity.Scripting.DomProxies.WebSocketCloseCode, reason: string): void;
3115
- BeginInvoke(closeCode: ReactUnity.Scripting.DomProxies.WebSocketCloseCode, reason: string, callback: System.AsyncCallback, object: any): System.IAsyncResult;
3086
+ BeginInvoke(closeCode: ReactUnity.Scripting.DomProxies.WebSocketCloseCode, reason: string, callback: ((ar: System.IAsyncResult) => void), object: any): System.IAsyncResult;
3116
3087
  EndInvoke(result: System.IAsyncResult): void;
3117
3088
  GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext): void;
3118
3089
  Equals(obj: any): boolean;
@@ -3148,7 +3119,7 @@ export declare namespace ReactUnity {
3148
3119
  interface IWebSocket {
3149
3120
  Connect(): void;
3150
3121
  Close(code?: ReactUnity.Scripting.DomProxies.WebSocketCloseCode, reason?: string): void;
3151
- Send(data: System.Byte[]): void;
3122
+ Send(data: Byte[]): void;
3152
3123
  GetState(): ReactUnity.Scripting.DomProxies.WebSocketState;
3153
3124
  }
3154
3125
  class WebSocketHelpers {
@@ -3243,7 +3214,7 @@ export declare namespace ReactUnity {
3243
3214
  constructor(url: string);
3244
3215
  Connect(): void;
3245
3216
  Close(code?: ReactUnity.Scripting.DomProxies.WebSocketCloseCode, reason?: string): void;
3246
- Send(data: System.Byte[]): void;
3217
+ Send(data: Byte[]): void;
3247
3218
  GetState(): ReactUnity.Scripting.DomProxies.WebSocketState;
3248
3219
  Equals(obj: any): boolean;
3249
3220
  GetHashCode(): number;
@@ -3320,6 +3291,7 @@ export declare namespace ReactUnity {
3320
3291
  }
3321
3292
  namespace Styling {
3322
3293
  class CssFunctions {
3294
+ static Calc: ReactUnity.Styling.ICssFunction;
3323
3295
  static Steps: ReactUnity.Styling.ICssFunction;
3324
3296
  static CubicBezier: ReactUnity.Styling.ICssFunction;
3325
3297
  static Url: ReactUnity.Styling.ICssFunction;
@@ -3339,18 +3311,16 @@ export declare namespace ReactUnity {
3339
3311
  interface ICssFunction {
3340
3312
  Name: string;
3341
3313
  CanHandleArguments(count: number, name: string, args: string[]): boolean;
3342
- Call(name: string, args: string[], argsCombined: string): any;
3314
+ Call(name: string, args: string[], argsCombined: string, converter: ReactUnity.Styling.Converters.StyleConverterBase): any;
3343
3315
  }
3344
3316
  enum CssKeyword {
3345
3317
  NoKeyword = 0,
3346
- Invalid = 1,
3347
3318
  Initial = 2,
3348
3319
  Inherit = 3,
3349
3320
  Auto = 4,
3350
3321
  None = 5,
3351
3322
  Unset = 6,
3352
- Default = 7,
3353
- CurrentColor = 8
3323
+ Default = 7
3354
3324
  }
3355
3325
  class CssProperties {
3356
3326
  static PropertyMap: any;
@@ -3405,8 +3375,8 @@ export declare namespace ReactUnity {
3405
3375
  GetEnumerator(): System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, ReactUnity.Styling.CursorPair>>;
3406
3376
  Remove(key: string): boolean;
3407
3377
  RemoveWithoutNotify(key: string): boolean;
3408
- AddListener(listener: ((arg0: string, arg1: ReactUnity.Styling.CursorPair, arg2: ReactUnity.Helpers.WatchableDictionary<string, ReactUnity.Styling.CursorPair>) => void)): (() => void);
3409
3378
  AddListener(cb: any): (() => void);
3379
+ AddListener(listener: ((arg1: string, arg2: ReactUnity.Styling.CursorPair, arg3: ReactUnity.Helpers.WatchableDictionary<string, ReactUnity.Styling.CursorPair>) => void)): (() => void);
3410
3380
  GetValueOrDefault(key: string): ReactUnity.Styling.CursorPair;
3411
3381
  Dispose(): void;
3412
3382
  Equals(obj: any): boolean;
@@ -3458,8 +3428,8 @@ export declare namespace ReactUnity {
3458
3428
  GetEnumerator(): System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<ReactUnity.Styling.IStyleProperty, any>>;
3459
3429
  Remove(key: ReactUnity.Styling.IStyleProperty): boolean;
3460
3430
  RemoveWithoutNotify(key: ReactUnity.Styling.IStyleProperty): boolean;
3461
- AddListener(listener: ((arg0: ReactUnity.Styling.IStyleProperty, arg1: any, arg2: ReactUnity.Helpers.WatchableDictionary<ReactUnity.Styling.IStyleProperty, any>) => void)): (() => void);
3462
3431
  AddListener(cb: any): (() => void);
3432
+ AddListener(listener: ((arg1: ReactUnity.Styling.IStyleProperty, arg2: any, arg3: ReactUnity.Helpers.WatchableDictionary<ReactUnity.Styling.IStyleProperty, any>) => void)): (() => void);
3463
3433
  GetValueOrDefault(key: ReactUnity.Styling.IStyleProperty): any;
3464
3434
  Dispose(): void;
3465
3435
  Equals(obj: any): boolean;
@@ -3479,7 +3449,7 @@ export declare namespace ReactUnity {
3479
3449
  zIndex: number;
3480
3450
  visibility: boolean;
3481
3451
  position: ReactUnity.Types.PositionType;
3482
- cursor: ReactUnity.Types.CursorList;
3452
+ cursor: ReactUnity.Types.ICssValueList<ReactUnity.Types.Cursor>;
3483
3453
  pointerEvents: ReactUnity.Types.PointerEvents;
3484
3454
  borderTopLeftRadius: ReactUnity.Types.YogaValue2;
3485
3455
  borderTopRightRadius: ReactUnity.Types.YogaValue2;
@@ -3532,11 +3502,11 @@ export declare namespace ReactUnity {
3532
3502
  maskRepeatY: ReactUnity.Types.ICssValueList<ReactUnity.Types.BackgroundRepeat>;
3533
3503
  transitionProperty: ReactUnity.Types.ICssValueList<ReactUnity.Styling.Animations.TransitionProperty>;
3534
3504
  transitionDuration: ReactUnity.Types.ICssValueList<number>;
3535
- transitionTimingFunction: ReactUnity.Types.ICssValueList<ReactUnity.Styling.Animations.TimingFunction>;
3505
+ transitionTimingFunction: ReactUnity.Types.ICssValueList<((value: number, start?: number, end?: number) => number)>;
3536
3506
  transitionDelay: ReactUnity.Types.ICssValueList<number>;
3537
3507
  transitionPlayState: ReactUnity.Types.ICssValueList<ReactUnity.Styling.Animations.AnimationPlayState>;
3538
3508
  motionDuration: number;
3539
- motionTimingFunction: ReactUnity.Styling.Animations.TimingFunction;
3509
+ motionTimingFunction: ((value: number, start?: number, end?: number) => number);
3540
3510
  motionDelay: number;
3541
3511
  animationDelay: ReactUnity.Types.ICssValueList<number>;
3542
3512
  animationDirection: ReactUnity.Types.ICssValueList<ReactUnity.Styling.Animations.AnimationDirection>;
@@ -3545,7 +3515,7 @@ export declare namespace ReactUnity {
3545
3515
  animationIterationCount: ReactUnity.Types.ICssValueList<number>;
3546
3516
  animationName: ReactUnity.Types.ICssValueList<string>;
3547
3517
  animationPlayState: ReactUnity.Types.ICssValueList<ReactUnity.Styling.Animations.AnimationPlayState>;
3548
- animationTimingFunction: ReactUnity.Types.ICssValueList<ReactUnity.Styling.Animations.TimingFunction>;
3518
+ animationTimingFunction: ReactUnity.Types.ICssValueList<((value: number, start?: number, end?: number) => number)>;
3549
3519
  audioClip: ReactUnity.Types.ICssValueList<ReactUnity.Types.AudioReference>;
3550
3520
  audioIterationCount: ReactUnity.Types.ICssValueList<number>;
3551
3521
  audioDelay: ReactUnity.Types.ICssValueList<number>;
@@ -3569,7 +3539,6 @@ export declare namespace ReactUnity {
3569
3539
  inherited: boolean;
3570
3540
  affectsLayout: boolean;
3571
3541
  GetStyle(style: ReactUnity.Styling.NodeStyle): any;
3572
- Convert(value: any): any;
3573
3542
  }
3574
3543
  class LayoutProperties {
3575
3544
  static StyleDirection: any;
@@ -3632,7 +3601,7 @@ export declare namespace ReactUnity {
3632
3601
  interface ILayoutProperty {
3633
3602
  }
3634
3603
  class LayoutProperty<T = any> {
3635
- constructor(name: string, transitionable?: boolean, defaultValue?: T, converter?: ReactUnity.Converters.IStyleConverter);
3604
+ constructor(name: string, transitionable?: boolean, defaultValue?: T, converter?: ReactUnity.Styling.Converters.StyleConverterBase);
3636
3605
  affectsLayout: boolean;
3637
3606
  name: string;
3638
3607
  type: System.Type;
@@ -3640,10 +3609,10 @@ export declare namespace ReactUnity {
3640
3609
  transitionable: boolean;
3641
3610
  inherited: boolean;
3642
3611
  ModifiedProperties: ReactUnity.Styling.IStyleProperty[];
3643
- converter: ReactUnity.Converters.GeneralConverter;
3644
- Convert(value: any): any;
3612
+ converter: ReactUnity.Styling.Converters.StyleConverterBase;
3613
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
3614
+ Stringify(value: any): string;
3645
3615
  CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
3646
- Parse(value: string): any;
3647
3616
  GetHashCode(): number;
3648
3617
  Equals(obj: any): boolean;
3649
3618
  GetStyle(style: ReactUnity.Styling.NodeStyle): any;
@@ -3733,7 +3702,7 @@ export declare namespace ReactUnity {
3733
3702
  ToString(): string;
3734
3703
  }
3735
3704
  class StyleProperty<T = any> {
3736
- constructor(name: string, initialValue?: any, transitionable?: boolean, inherited?: boolean, converter?: ReactUnity.Converters.IStyleConverter);
3705
+ constructor(name: string, initialValue?: any, transitionable?: boolean, inherited?: boolean, converter?: ReactUnity.Styling.Converters.StyleConverterBase);
3737
3706
  name: string;
3738
3707
  type: System.Type;
3739
3708
  defaultValue: any;
@@ -3741,10 +3710,10 @@ export declare namespace ReactUnity {
3741
3710
  inherited: boolean;
3742
3711
  affectsLayout: boolean;
3743
3712
  ModifiedProperties: ReactUnity.Styling.IStyleProperty[];
3744
- converter: ReactUnity.Converters.GeneralConverter;
3745
- Convert(value: any): any;
3713
+ converter: ReactUnity.Styling.Converters.StyleConverterBase;
3714
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
3715
+ Stringify(value: any): string;
3746
3716
  CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
3747
- Parse(value: string): any;
3748
3717
  GetHashCode(): number;
3749
3718
  Equals(obj: any): boolean;
3750
3719
  GetStyle(style: ReactUnity.Styling.NodeStyle): any;
@@ -3752,9 +3721,20 @@ export declare namespace ReactUnity {
3752
3721
  GetType(): System.Type;
3753
3722
  ToString(): string;
3754
3723
  }
3724
+ class SVGProperties {
3725
+ static fill: any;
3726
+ static stroke: any;
3727
+ static PropertyMap: any;
3728
+ Equals(obj: any): boolean;
3729
+ GetHashCode(): number;
3730
+ GetType(): System.Type;
3731
+ ToString(): string;
3732
+ }
3755
3733
  class ValueListStyleProperty<T = any> {
3756
- constructor(name: string, initialValue?: any, transitionable?: boolean, inherited?: boolean, converter?: ReactUnity.Converters.IStyleConverter, baseConverter?: ReactUnity.Converters.IStyleConverter);
3757
- constructor(name: string, emptyValue: T, transitionable?: boolean, inherited?: boolean, converter?: ReactUnity.Converters.IStyleConverter, baseConverter?: ReactUnity.Converters.IStyleConverter);
3734
+ constructor(name: string, initialValue: any, transitionable: boolean, inherited: boolean, converter: ReactUnity.Styling.Converters.StyleConverterBase);
3735
+ constructor(name: string, initialValue?: T[], transitionable?: boolean, inherited?: boolean, baseConverter?: ReactUnity.Styling.Converters.StyleConverterBase);
3736
+ constructor(name: string, emptyValue: T, transitionable?: boolean, inherited?: boolean, baseConverter?: ReactUnity.Styling.Converters.StyleConverterBase);
3737
+ Converter: ReactUnity.Types.CssValueList<T>;
3758
3738
  name: string;
3759
3739
  type: System.Type;
3760
3740
  defaultValue: any;
@@ -3762,10 +3742,10 @@ export declare namespace ReactUnity {
3762
3742
  inherited: boolean;
3763
3743
  affectsLayout: boolean;
3764
3744
  ModifiedProperties: ReactUnity.Styling.IStyleProperty[];
3765
- converter: ReactUnity.Converters.GeneralConverter;
3766
- Convert(value: any): any;
3745
+ converter: ReactUnity.Styling.Converters.StyleConverterBase;
3746
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
3747
+ Stringify(value: any): string;
3767
3748
  CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
3768
- Parse(value: string): any;
3769
3749
  GetHashCode(): number;
3770
3750
  Equals(obj: any): boolean;
3771
3751
  GetStyle(style: ReactUnity.Styling.NodeStyle): any;
@@ -3783,7 +3763,8 @@ export declare namespace ReactUnity {
3783
3763
  noneValue: any;
3784
3764
  affectsLayout: boolean;
3785
3765
  ModifiedProperties: ReactUnity.Styling.IStyleProperty[];
3786
- Convert(value: any): any;
3766
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
3767
+ Stringify(value: any): string;
3787
3768
  GetStyle(style: ReactUnity.Styling.NodeStyle): any;
3788
3769
  GetHashCode(): number;
3789
3770
  Equals(obj: any): boolean;
@@ -3797,6 +3778,7 @@ export declare namespace ReactUnity {
3797
3778
  SubscribeToState(state: string): ReactUnity.IStateHandler;
3798
3779
  StartState(state: string): boolean;
3799
3780
  EndState(state: string): boolean;
3781
+ GetState(state: string): boolean;
3800
3782
  GetStateOrSubscribe(state: string): boolean;
3801
3783
  Equals(obj: any): boolean;
3802
3784
  GetHashCode(): number;
@@ -3810,7 +3792,7 @@ export declare namespace ReactUnity {
3810
3792
  Active: boolean;
3811
3793
  Sheet: ReactUnity.Styling.StyleSheet;
3812
3794
  Content: string;
3813
- InnerContent: string;
3795
+ ResolvedContent: string;
3814
3796
  Source: any;
3815
3797
  Proxy: ReactUnity.IContainerComponent;
3816
3798
  Context: ReactUnity.ReactContext;
@@ -3853,7 +3835,7 @@ export declare namespace ReactUnity {
3853
3835
  ApplyLayoutStyles(): void;
3854
3836
  ResolveStyle(recursive?: boolean): void;
3855
3837
  Update(): void;
3856
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
3838
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
3857
3839
  SetData(property: string, value: any): void;
3858
3840
  SetEventListener(eventType: string, callback: ReactUnity.Helpers.Callback): void;
3859
3841
  AddEventListener(eventType: string, callback: ReactUnity.Helpers.Callback): (() => void);
@@ -3897,10 +3879,18 @@ export declare namespace ReactUnity {
3897
3879
  ToString(): string;
3898
3880
  }
3899
3881
  class StyleSheet {
3900
- constructor(context: ReactUnity.Styling.StyleContext, style: string, importanceOffset?: number, scope?: ReactUnity.IReactComponent);
3882
+ constructor(context: ReactUnity.Styling.StyleContext, style: string, importanceOffset?: number, scope?: ReactUnity.IReactComponent, media?: string);
3883
+ Attached: boolean;
3884
+ Enabled: boolean;
3885
+ selectorText: string;
3886
+ name: string;
3887
+ style: any;
3888
+ media: any;
3889
+ cssRules: ReactUnity.Styling.StyleSheetNode[];
3901
3890
  Context: ReactUnity.Styling.StyleContext;
3902
3891
  Scope: ReactUnity.IReactComponent;
3903
3892
  ImportanceOffset: number;
3893
+ Media: ReactUnity.Styling.Rules.MediaQueryList;
3904
3894
  FontFamilies: Record<string, ReactUnity.Types.FontReference>;
3905
3895
  Keyframes: Record<string, ReactUnity.KeyframeList>;
3906
3896
  MediaQueries: ReactUnity.Styling.Rules.MediaQueryList[];
@@ -3910,6 +3900,28 @@ export declare namespace ReactUnity {
3910
3900
  Enable(): void;
3911
3901
  Disable(): void;
3912
3902
  ResolveStyle(): void;
3903
+ insertRule(text: string, index?: number): void;
3904
+ appendRule(text: string): void;
3905
+ deleteRule(index: number): void;
3906
+ replace(text: string): ReactUnity.Styling.StyleSheetNode;
3907
+ replaceSync(text: string): void;
3908
+ Equals(obj: any): boolean;
3909
+ GetHashCode(): number;
3910
+ GetType(): System.Type;
3911
+ ToString(): string;
3912
+ }
3913
+ class StyleSheetNode {
3914
+ constructor(sheet: ReactUnity.Styling.StyleSheet, original: any);
3915
+ selectorText: string;
3916
+ name: string;
3917
+ style: any;
3918
+ media: any;
3919
+ cssRules: ReactUnity.Styling.StyleSheetNode[];
3920
+ insertRule(text: string, index?: number): void;
3921
+ appendRule(text: string): void;
3922
+ deleteRule(index: number): void;
3923
+ replace(text: string): ReactUnity.Styling.StyleSheetNode;
3924
+ replaceSync(text: string): void;
3913
3925
  Equals(obj: any): boolean;
3914
3926
  GetHashCode(): number;
3915
3927
  GetType(): System.Type;
@@ -3928,6 +3940,16 @@ export declare namespace ReactUnity {
3928
3940
  GetType(): System.Type;
3929
3941
  ToString(): string;
3930
3942
  }
3943
+ class StyleSheetNode_MediaList {
3944
+ constructor(rule: any, node: ReactUnity.Styling.StyleSheetNode);
3945
+ mediaText: string;
3946
+ Node: ReactUnity.Styling.StyleSheetNode;
3947
+ Rule: any;
3948
+ Equals(obj: any): boolean;
3949
+ GetHashCode(): number;
3950
+ GetType(): System.Type;
3951
+ ToString(): string;
3952
+ }
3931
3953
  namespace Animations {
3932
3954
  class AnimationEvent {
3933
3955
  constructor();
@@ -3984,19 +4006,15 @@ export declare namespace ReactUnity {
3984
4006
  static Interpolate(from: UnityEngine.Vector3, to: UnityEngine.Vector3, t: number, easeType: ReactUnity.Styling.Animations.TimingFunctionType): UnityEngine.Vector3;
3985
4007
  static Interpolate(from: UnityEngine.Vector4, to: UnityEngine.Vector4, t: number, easeType: ReactUnity.Styling.Animations.TimingFunctionType): UnityEngine.Vector4;
3986
4008
  static Interpolate(from: UnityEngine.Quaternion, to: UnityEngine.Quaternion, t: number, easeType: ReactUnity.Styling.Animations.TimingFunctionType): UnityEngine.Quaternion;
3987
- static Interpolate(t: number, timingFunction: ReactUnity.Styling.Animations.TimingFunction, mirror?: boolean): number;
3988
- static Interpolate(from: number, to: number, t: number, timingFunction: ReactUnity.Styling.Animations.TimingFunction): number;
3989
- static Interpolate(from: UnityEngine.Color, to: UnityEngine.Color, t: number, timingFunction: ReactUnity.Styling.Animations.TimingFunction): UnityEngine.Color;
3990
- static Interpolate(from: UnityEngine.Vector2, to: UnityEngine.Vector2, t: number, timingFunction: ReactUnity.Styling.Animations.TimingFunction): UnityEngine.Vector2;
3991
- static Interpolate(from: UnityEngine.Vector3, to: UnityEngine.Vector3, t: number, timingFunction: ReactUnity.Styling.Animations.TimingFunction): UnityEngine.Vector3;
3992
- static Interpolate(from: UnityEngine.Vector4, to: UnityEngine.Vector4, t: number, timingFunction: ReactUnity.Styling.Animations.TimingFunction): UnityEngine.Vector4;
3993
- static Interpolate(from: UnityEngine.Quaternion, to: UnityEngine.Quaternion, t: number, timingFunction: ReactUnity.Styling.Animations.TimingFunction): UnityEngine.Quaternion;
4009
+ static Interpolate(t: number, timingFunction: ((value: number, start?: number, end?: number) => number), mirror?: boolean): number;
4010
+ static Interpolate(from: number, to: number, t: number, timingFunction: ((value: number, start?: number, end?: number) => number)): number;
4011
+ static Interpolate(from: UnityEngine.Color, to: UnityEngine.Color, t: number, timingFunction: ((value: number, start?: number, end?: number) => number)): UnityEngine.Color;
4012
+ static Interpolate(from: UnityEngine.Vector2, to: UnityEngine.Vector2, t: number, timingFunction: ((value: number, start?: number, end?: number) => number)): UnityEngine.Vector2;
4013
+ static Interpolate(from: UnityEngine.Vector3, to: UnityEngine.Vector3, t: number, timingFunction: ((value: number, start?: number, end?: number) => number)): UnityEngine.Vector3;
4014
+ static Interpolate(from: UnityEngine.Vector4, to: UnityEngine.Vector4, t: number, timingFunction: ((value: number, start?: number, end?: number) => number)): UnityEngine.Vector4;
4015
+ static Interpolate(from: UnityEngine.Quaternion, to: UnityEngine.Quaternion, t: number, timingFunction: ((value: number, start?: number, end?: number) => number)): UnityEngine.Quaternion;
3994
4016
  static Interpolate(from: any, to: any, t: number): any;
3995
- static Interpolate(from: any, to: any, t: number, type: System.Type): any;
3996
- static Interpolate(from: any, to: any, t: number, timingFunction: ReactUnity.Styling.Animations.TimingFunction): any;
3997
- static Interpolate(from: any, to: any, t: number, timingFunction: ReactUnity.Styling.Animations.TimingFunction, type: System.Type): any;
3998
- static Interpolate(from: any, to: any, t: number, timingFunctionType: ReactUnity.Styling.Animations.TimingFunctionType): any;
3999
- static Interpolate(from: any, to: any, t: number, timingFunctionType: ReactUnity.Styling.Animations.TimingFunctionType, type: System.Type): any;
4017
+ static Interpolate(from: any, to: any, t: number, timingFunction: ((value: number, start?: number, end?: number) => number)): any;
4000
4018
  Equals(obj: any): boolean;
4001
4019
  GetHashCode(): number;
4002
4020
  GetType(): System.Type;
@@ -4007,7 +4025,7 @@ export declare namespace ReactUnity {
4007
4025
  Method: System.Reflection.MethodInfo;
4008
4026
  Target: any;
4009
4027
  Invoke(value: number, start?: number, end?: number): number;
4010
- BeginInvoke(value: number, start: number, end: number, callback: System.AsyncCallback, object: any): System.IAsyncResult;
4028
+ BeginInvoke(value: number, start: number, end: number, callback: ((ar: System.IAsyncResult) => void), object: any): System.IAsyncResult;
4011
4029
  EndInvoke(result: System.IAsyncResult): number;
4012
4030
  GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext): void;
4013
4031
  Equals(obj: any): boolean;
@@ -4019,17 +4037,17 @@ export declare namespace ReactUnity {
4019
4037
  ToString(): string;
4020
4038
  }
4021
4039
  class TimingFunctions {
4022
- static Ease: ReactUnity.Styling.Animations.TimingFunction;
4023
- static EaseIn: ReactUnity.Styling.Animations.TimingFunction;
4024
- static EaseOut: ReactUnity.Styling.Animations.TimingFunction;
4025
- static EaseInOut: ReactUnity.Styling.Animations.TimingFunction;
4026
- static StepStart: ReactUnity.Styling.Animations.TimingFunction;
4027
- static StepEnd: ReactUnity.Styling.Animations.TimingFunction;
4028
- static Default: ReactUnity.Styling.Animations.TimingFunction;
4040
+ static Ease: ((value: number, start?: number, end?: number) => number);
4041
+ static EaseIn: ((value: number, start?: number, end?: number) => number);
4042
+ static EaseOut: ((value: number, start?: number, end?: number) => number);
4043
+ static EaseInOut: ((value: number, start?: number, end?: number) => number);
4044
+ static StepStart: ((value: number, start?: number, end?: number) => number);
4045
+ static StepEnd: ((value: number, start?: number, end?: number) => number);
4046
+ static Default: ((value: number, start?: number, end?: number) => number);
4029
4047
  static Linear(t: number, start?: number, end?: number): number;
4030
- static Steps(count: number, mode?: ReactUnity.Styling.Animations.StepsJumpMode): ReactUnity.Styling.Animations.TimingFunction;
4031
- static Get(easeType: ReactUnity.Styling.Animations.TimingFunctionType): ReactUnity.Styling.Animations.TimingFunction;
4032
- static Get(easeType: string): ReactUnity.Styling.Animations.TimingFunction;
4048
+ static Steps(count: number, mode?: ReactUnity.Styling.Animations.StepsJumpMode): ((value: number, start?: number, end?: number) => number);
4049
+ static Get(easeType: ReactUnity.Styling.Animations.TimingFunctionType): ((value: number, start?: number, end?: number) => number);
4050
+ static Get(easeType: string): ((value: number, start?: number, end?: number) => number);
4033
4051
  Equals(obj: any): boolean;
4034
4052
  GetHashCode(): number;
4035
4053
  GetType(): System.Type;
@@ -4068,7 +4086,7 @@ export declare namespace ReactUnity {
4068
4086
  }
4069
4087
  class TimingFunctions_CubicBezier {
4070
4088
  static Linear(value: number, start?: number, end?: number): number;
4071
- static Create(mX1: number, mY1: number, mX2: number, mY2: number): ReactUnity.Styling.Animations.TimingFunction;
4089
+ static Create(mX1: number, mY1: number, mX2: number, mY2: number): ((value: number, start?: number, end?: number) => number);
4072
4090
  Equals(obj: any): boolean;
4073
4091
  GetHashCode(): number;
4074
4092
  GetType(): System.Type;
@@ -4076,9 +4094,11 @@ export declare namespace ReactUnity {
4076
4094
  }
4077
4095
  class TimingFunctions_Converter {
4078
4096
  constructor();
4097
+ StringifyInternal(value: any): string;
4098
+ StringifyTyped(value: ((value: number, start?: number, end?: number) => number)): string;
4079
4099
  CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
4080
- Convert(value: any): any;
4081
- Parse(value: string): any;
4100
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
4101
+ Stringify(value: any): string;
4082
4102
  Equals(obj: any): boolean;
4083
4103
  GetHashCode(): number;
4084
4104
  GetType(): System.Type;
@@ -4086,9 +4106,11 @@ export declare namespace ReactUnity {
4086
4106
  }
4087
4107
  class TransitionProperty_Converter {
4088
4108
  constructor();
4109
+ StringifyInternal(value: any): string;
4110
+ StringifyTyped(value: ReactUnity.Styling.Animations.TransitionProperty): string;
4089
4111
  CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
4090
- Convert(value: any): any;
4091
- Parse(value: string): any;
4112
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
4113
+ Stringify(value: any): string;
4092
4114
  Equals(obj: any): boolean;
4093
4115
  GetHashCode(): number;
4094
4116
  GetType(): System.Type;
@@ -4096,18 +4118,44 @@ export declare namespace ReactUnity {
4096
4118
  }
4097
4119
  }
4098
4120
  namespace Computed {
4121
+ class ComputedCalc {
4122
+ constructor(values: System.Collections.Generic.IList<ReactUnity.Styling.Computed.IComputedValue>, operators: System.Collections.Generic.IList<ReactUnity.Styling.Computed.ComputedCalc_CalcOperator>, converter: ReactUnity.Styling.Converters.StyleConverterBase);
4123
+ Values: System.Collections.Generic.IList<ReactUnity.Styling.Computed.IComputedValue>;
4124
+ Operators: System.Collections.Generic.IList<ReactUnity.Styling.Computed.ComputedCalc_CalcOperator>;
4125
+ Converter: ReactUnity.Styling.Converters.StyleConverterBase;
4126
+ AllowUnitless: boolean;
4127
+ GetValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle, converter: ReactUnity.Styling.Converters.IStyleConverter): any;
4128
+ static Create(values: any, operators: any, converter: ReactUnity.Styling.Converters.StyleConverterBase, allConstants?: boolean): ReactUnity.Styling.Computed.IComputedValue;
4129
+ Equals(obj: any): boolean;
4130
+ GetHashCode(): number;
4131
+ ToString(): string;
4132
+ GetType(): System.Type;
4133
+ }
4134
+ class ComputedCompound {
4135
+ constructor(values: ReactUnity.Styling.Computed.IComputedValue[], converters: ReactUnity.Styling.Converters.StyleConverterBase[], callback: ((values: any[]) => any));
4136
+ Callback: ((values: any[]) => any);
4137
+ Values: ReactUnity.Styling.Computed.IComputedValue[];
4138
+ Converters: ReactUnity.Styling.Converters.StyleConverterBase[];
4139
+ GetValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle, converter: ReactUnity.Styling.Converters.IStyleConverter): any;
4140
+ static Create(values: ReactUnity.Styling.Computed.IComputedValue[], converters: ReactUnity.Styling.Converters.StyleConverterBase[], callback: ((values: any[]) => any), allConstants?: boolean): ReactUnity.Styling.Computed.IComputedValue;
4141
+ Equals(obj: any): boolean;
4142
+ GetHashCode(): number;
4143
+ ToString(): string;
4144
+ GetType(): System.Type;
4145
+ }
4099
4146
  class ComputedConstant {
4100
4147
  constructor(value: any);
4101
4148
  Value: any;
4102
- GetValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle): any;
4149
+ ConstantValue: any;
4150
+ GetValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle, converter: ReactUnity.Styling.Converters.IStyleConverter): any;
4151
+ ToString(): string;
4103
4152
  Equals(obj: any): boolean;
4104
4153
  GetHashCode(): number;
4105
- ToString(): string;
4106
4154
  GetType(): System.Type;
4107
4155
  }
4108
4156
  class ComputedCurrentColor {
4109
4157
  static Instance: ReactUnity.Styling.Computed.ComputedCurrentColor;
4110
- GetValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle): any;
4158
+ GetValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle, converter: ReactUnity.Styling.Converters.IStyleConverter): any;
4111
4159
  Equals(obj: any): boolean;
4112
4160
  GetHashCode(): number;
4113
4161
  ToString(): string;
@@ -4116,7 +4164,7 @@ export declare namespace ReactUnity {
4116
4164
  class ComputedDynamic {
4117
4165
  constructor(value: any);
4118
4166
  Value: any;
4119
- GetValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle): any;
4167
+ GetValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle, converter: ReactUnity.Styling.Converters.IStyleConverter): any;
4120
4168
  Equals(obj: any): boolean;
4121
4169
  GetHashCode(): number;
4122
4170
  ToString(): string;
@@ -4126,7 +4174,7 @@ export declare namespace ReactUnity {
4126
4174
  constructor(ratio: number);
4127
4175
  static Default: ReactUnity.Styling.Computed.ComputedFontSize;
4128
4176
  Ratio: number;
4129
- GetValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle): any;
4177
+ GetValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle, converter: ReactUnity.Styling.Converters.IStyleConverter): any;
4130
4178
  Equals(obj: any): boolean;
4131
4179
  GetHashCode(): number;
4132
4180
  ToString(): string;
@@ -4137,7 +4185,51 @@ export declare namespace ReactUnity {
4137
4185
  From: ReactUnity.Styling.Computed.IComputedValue;
4138
4186
  To: ReactUnity.Styling.Computed.IComputedValue;
4139
4187
  Ratio: number;
4140
- GetValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle): any;
4188
+ GetValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle, converter: ReactUnity.Styling.Converters.IStyleConverter): any;
4189
+ static Create(from: ReactUnity.Styling.Computed.IComputedValue, to: ReactUnity.Styling.Computed.IComputedValue, ratio: number): ReactUnity.Styling.Computed.IComputedValue;
4190
+ Equals(obj: any): boolean;
4191
+ GetHashCode(): number;
4192
+ ToString(): string;
4193
+ GetType(): System.Type;
4194
+ }
4195
+ class ComputedKeyword {
4196
+ constructor(keyword: ReactUnity.Styling.CssKeyword);
4197
+ Keyword: ReactUnity.Styling.CssKeyword;
4198
+ GetValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle, converter: ReactUnity.Styling.Converters.IStyleConverter): any;
4199
+ Equals(obj: any): boolean;
4200
+ GetHashCode(): number;
4201
+ ToString(): string;
4202
+ GetType(): System.Type;
4203
+ }
4204
+ class ComputedList {
4205
+ constructor(values: System.Collections.Generic.IList<ReactUnity.Styling.Computed.IComputedValue>, converter: ReactUnity.Styling.Converters.StyleConverterBase, callback: ((values: any[]) => any), defaultValue?: any);
4206
+ Callback: ((values: any[]) => any);
4207
+ Values: System.Collections.Generic.IList<ReactUnity.Styling.Computed.IComputedValue>;
4208
+ Converter: ReactUnity.Styling.Converters.StyleConverterBase;
4209
+ DefaultValue: any;
4210
+ GetValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle, converter: ReactUnity.Styling.Converters.IStyleConverter): any;
4211
+ static Create(values: any, converter: ReactUnity.Styling.Converters.StyleConverterBase, callback: ((values: any[]) => any), defaultValue?: any, allConstants?: boolean): ReactUnity.Styling.Computed.IComputedValue;
4212
+ Equals(obj: any): boolean;
4213
+ GetHashCode(): number;
4214
+ ToString(): string;
4215
+ GetType(): System.Type;
4216
+ }
4217
+ class ComputedMapper {
4218
+ constructor(value: ReactUnity.Styling.Computed.IComputedValue, converter: ReactUnity.Styling.Converters.StyleConverterBase, callback: ((value: any) => any));
4219
+ Callback: ((value: any) => any);
4220
+ Value: ReactUnity.Styling.Computed.IComputedValue;
4221
+ Converter: ReactUnity.Styling.Converters.StyleConverterBase;
4222
+ GetValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle, converter: ReactUnity.Styling.Converters.IStyleConverter): any;
4223
+ static Create(value: ReactUnity.Styling.Computed.IComputedValue, converter: ReactUnity.Styling.Converters.StyleConverterBase, callback: ((value: any) => any)): ReactUnity.Styling.Computed.IComputedValue;
4224
+ Equals(obj: any): boolean;
4225
+ GetHashCode(): number;
4226
+ ToString(): string;
4227
+ GetType(): System.Type;
4228
+ }
4229
+ class ComputedPercentage {
4230
+ constructor(value: number);
4231
+ Value: number;
4232
+ GetValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle, converter: ReactUnity.Styling.Converters.IStyleConverter): any;
4141
4233
  Equals(obj: any): boolean;
4142
4234
  GetHashCode(): number;
4143
4235
  ToString(): string;
@@ -4147,32 +4239,456 @@ export declare namespace ReactUnity {
4147
4239
  constructor(ratio: number, type: ReactUnity.Styling.Computed.ComputedRootRelative_RootValueType);
4148
4240
  Ratio: number;
4149
4241
  Type: ReactUnity.Styling.Computed.ComputedRootRelative_RootValueType;
4150
- GetValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle): any;
4242
+ GetValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle, converter: ReactUnity.Styling.Converters.IStyleConverter): any;
4243
+ Equals(obj: any): boolean;
4244
+ GetHashCode(): number;
4245
+ ToString(): string;
4246
+ GetType(): System.Type;
4247
+ }
4248
+ class ComputedShorthandVariable {
4249
+ Variable: ReactUnity.Styling.Computed.IComputedValue;
4250
+ GetValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle, converter: ReactUnity.Styling.Converters.IStyleConverter): any;
4251
+ Equals(obj: any): boolean;
4252
+ GetHashCode(): number;
4253
+ ToString(): string;
4254
+ GetType(): System.Type;
4255
+ }
4256
+ class ComputedStringTemplate {
4257
+ constructor(template: System.Collections.Generic.IList<string>, variables: System.Collections.Generic.IList<ReactUnity.Styling.Computed.ComputedVariable>);
4258
+ Template: System.Collections.Generic.IList<string>;
4259
+ Variables: System.Collections.Generic.IList<ReactUnity.Styling.Computed.ComputedVariable>;
4260
+ GetValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle, converter: ReactUnity.Styling.Converters.IStyleConverter): any;
4261
+ Equals(obj: any): boolean;
4262
+ GetHashCode(): number;
4263
+ ToString(): string;
4264
+ GetType(): System.Type;
4265
+ }
4266
+ class ComputedVariable {
4267
+ constructor(prop: ReactUnity.Styling.VariableProperty, fallbackValue: any);
4268
+ Property: ReactUnity.Styling.VariableProperty;
4269
+ FallbackValue: any;
4270
+ GetValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle, converter: ReactUnity.Styling.Converters.IStyleConverter): any;
4271
+ Equals(obj: any): boolean;
4272
+ GetHashCode(): number;
4273
+ ToString(): string;
4274
+ GetType(): System.Type;
4275
+ }
4276
+ interface IComputedValue {
4277
+ GetValue(targetProp: ReactUnity.Styling.IStyleProperty, targetStyle: ReactUnity.Styling.NodeStyle, converter: ReactUnity.Styling.Converters.IStyleConverter): any;
4278
+ }
4279
+ interface IComputedConstant {
4280
+ ConstantValue: any;
4281
+ }
4282
+ class ComputedValueExtensions {
4283
+ static ResolveValue(cv: ReactUnity.Styling.Computed.IComputedValue, targetProp: ReactUnity.Styling.IStyleProperty, targetStyle: ReactUnity.Styling.NodeStyle, converter: ReactUnity.Styling.Converters.IStyleConverter): any;
4284
+ Equals(obj: any): boolean;
4285
+ GetHashCode(): number;
4286
+ GetType(): System.Type;
4287
+ ToString(): string;
4288
+ }
4289
+ enum ComputedCalc_CalcOperator {
4290
+ None = 0,
4291
+ Add = 1,
4292
+ Subtract = 2,
4293
+ Multiply = 3,
4294
+ Divide = 4
4295
+ }
4296
+ class ComputedCalc_CalcValue {
4297
+ Value: number;
4298
+ HasUnit: boolean;
4299
+ Equals(obj: any): boolean;
4300
+ GetHashCode(): number;
4301
+ ToString(): string;
4302
+ GetType(): System.Type;
4303
+ }
4304
+ class ComputedCompound_CompoundCallback {
4305
+ constructor(object: any, method: System.IntPtr);
4306
+ Method: System.Reflection.MethodInfo;
4307
+ Target: any;
4308
+ Invoke(values: any[]): any;
4309
+ BeginInvoke(values: any[], callback: ((ar: System.IAsyncResult) => void), object: any): System.IAsyncResult;
4310
+ EndInvoke(result: System.IAsyncResult): any;
4311
+ GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext): void;
4312
+ Equals(obj: any): boolean;
4313
+ GetHashCode(): number;
4314
+ GetInvocationList(): System.Delegate[];
4315
+ DynamicInvoke(...args: any[]): any;
4316
+ Clone(): any;
4317
+ GetType(): System.Type;
4318
+ ToString(): string;
4319
+ }
4320
+ class ComputedList_CompoundCallback {
4321
+ constructor(object: any, method: System.IntPtr);
4322
+ Method: System.Reflection.MethodInfo;
4323
+ Target: any;
4324
+ Invoke(values: any[]): any;
4325
+ BeginInvoke(values: any[], callback: ((ar: System.IAsyncResult) => void), object: any): System.IAsyncResult;
4326
+ EndInvoke(result: System.IAsyncResult): any;
4327
+ GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext): void;
4328
+ Equals(obj: any): boolean;
4329
+ GetHashCode(): number;
4330
+ GetInvocationList(): System.Delegate[];
4331
+ DynamicInvoke(...args: any[]): any;
4332
+ Clone(): any;
4333
+ GetType(): System.Type;
4334
+ ToString(): string;
4335
+ }
4336
+ class ComputedMapper_MapCallback {
4337
+ constructor(object: any, method: System.IntPtr);
4338
+ Method: System.Reflection.MethodInfo;
4339
+ Target: any;
4340
+ Invoke(value: any): any;
4341
+ BeginInvoke(value: any, callback: ((ar: System.IAsyncResult) => void), object: any): System.IAsyncResult;
4342
+ EndInvoke(result: System.IAsyncResult): any;
4343
+ GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext): void;
4344
+ Equals(obj: any): boolean;
4345
+ GetHashCode(): number;
4346
+ GetInvocationList(): System.Delegate[];
4347
+ DynamicInvoke(...args: any[]): any;
4348
+ Clone(): any;
4349
+ GetType(): System.Type;
4350
+ ToString(): string;
4351
+ }
4352
+ enum ComputedRootRelative_RootValueType {
4353
+ None = 0,
4354
+ Width = 1,
4355
+ Height = 2,
4356
+ Min = 3,
4357
+ Max = 4,
4358
+ Rem = 5
4359
+ }
4360
+ }
4361
+ namespace Converters {
4362
+ class AllConverters {
4363
+ constructor();
4364
+ static RawConverter: ReactUnity.Styling.Converters.IStyleConverter;
4365
+ static DefaultConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4366
+ static StringConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4367
+ static FloatConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4368
+ static AngleConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4369
+ static LengthConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4370
+ static FontSizeConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4371
+ static DurationConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4372
+ static PercentageConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4373
+ static ColorValueConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4374
+ static UrlConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4375
+ static YogaValueConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4376
+ static YogaValue2Converter: ReactUnity.Styling.Converters.StyleConverterBase;
4377
+ static BorderRadiusConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4378
+ static Vector2Converter: ReactUnity.Styling.Converters.StyleConverterBase;
4379
+ static Vector3Converter: ReactUnity.Styling.Converters.StyleConverterBase;
4380
+ static IntConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4381
+ static IterationCountConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4382
+ static BoolConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4383
+ static ColorConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4384
+ static BoxShadowConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4385
+ static ImageReferenceConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4386
+ static SpriteSourceConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4387
+ static ImageSourceConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4388
+ static TextReferenceConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4389
+ static AudioReferenceConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4390
+ static VideoReferenceConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4391
+ static FontReferenceConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4392
+ static RotateConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4393
+ static ScaleConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4394
+ static TransitionPropertyConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4395
+ static CursorConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4396
+ static TimingFunctionConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4397
+ static FontWeightConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4398
+ static ImageDefinitionConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4399
+ static BackgroundSizeConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4400
+ static Get(type: System.Type): ReactUnity.Styling.Converters.StyleConverterBase;
4401
+ Equals(obj: any): boolean;
4402
+ GetHashCode(): number;
4403
+ GetType(): System.Type;
4404
+ ToString(): string;
4405
+ }
4406
+ class BoolConverter {
4407
+ constructor(truthyValues: string[], falsyValues: string[]);
4408
+ StringifyInternal(value: any): string;
4409
+ StringifyTyped(value: boolean): string;
4410
+ CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
4411
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
4412
+ Stringify(value: any): string;
4413
+ Equals(obj: any): boolean;
4414
+ GetHashCode(): number;
4415
+ GetType(): System.Type;
4416
+ ToString(): string;
4417
+ }
4418
+ class ColorConverter {
4419
+ constructor();
4420
+ StringifyTyped(value: UnityEngine.Color): string;
4421
+ StringifyInternal(value: any): string;
4422
+ CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
4423
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
4424
+ Stringify(value: any): string;
4425
+ Equals(obj: any): boolean;
4426
+ GetHashCode(): number;
4427
+ GetType(): System.Type;
4428
+ ToString(): string;
4429
+ }
4430
+ class EnumConverter<T = any> {
4431
+ constructor(allowFlags: boolean, keywordOnly: boolean);
4432
+ constructor(keywordOnly: boolean);
4433
+ EnumType: System.Type;
4434
+ AllowFlags: boolean;
4435
+ KeywordOnly: boolean;
4436
+ CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
4437
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
4438
+ Stringify(value: any): string;
4439
+ StringifyInternal(value: any): string;
4440
+ Equals(obj: any): boolean;
4441
+ GetHashCode(): number;
4442
+ GetType(): System.Type;
4443
+ ToString(): string;
4444
+ }
4445
+ class FloatConverter {
4446
+ constructor();
4447
+ constructor(suffixMap: Record<string, number>, suffixMapper?: Record<string, ((arg: number) => any)>, allowSuffixless?: boolean);
4448
+ AllowSuffixless: boolean;
4449
+ CalcConverter: ReactUnity.Styling.Converters.CalcConverter;
4450
+ StringifyTyped(value: number): string;
4451
+ StringifyInternal(value: any): string;
4452
+ CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
4453
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
4454
+ Stringify(value: any): string;
4455
+ Equals(obj: any): boolean;
4456
+ GetHashCode(): number;
4457
+ GetType(): System.Type;
4458
+ ToString(): string;
4459
+ }
4460
+ class PercentageConverter {
4461
+ constructor();
4462
+ AllowSuffixless: boolean;
4463
+ CalcConverter: ReactUnity.Styling.Converters.CalcConverter;
4464
+ StringifyTyped(value: number): string;
4465
+ StringifyInternal(value: any): string;
4466
+ CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
4467
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
4468
+ Stringify(value: any): string;
4469
+ Equals(obj: any): boolean;
4470
+ GetHashCode(): number;
4471
+ GetType(): System.Type;
4472
+ ToString(): string;
4473
+ }
4474
+ class ColorValueConverter {
4475
+ constructor();
4476
+ AllowSuffixless: boolean;
4477
+ CalcConverter: ReactUnity.Styling.Converters.CalcConverter;
4478
+ StringifyTyped(value: number): string;
4479
+ StringifyInternal(value: any): string;
4480
+ CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
4481
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
4482
+ Stringify(value: any): string;
4483
+ Equals(obj: any): boolean;
4484
+ GetHashCode(): number;
4485
+ GetType(): System.Type;
4486
+ ToString(): string;
4487
+ }
4488
+ class LengthConverter {
4489
+ constructor();
4490
+ AllowSuffixless: boolean;
4491
+ CalcConverter: ReactUnity.Styling.Converters.CalcConverter;
4492
+ StringifyTyped(value: number): string;
4493
+ StringifyInternal(value: any): string;
4494
+ CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
4495
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
4496
+ Stringify(value: any): string;
4497
+ Equals(obj: any): boolean;
4498
+ GetHashCode(): number;
4499
+ GetType(): System.Type;
4500
+ ToString(): string;
4501
+ }
4502
+ class FontSizeConverter {
4503
+ constructor();
4504
+ AllowSuffixless: boolean;
4505
+ CalcConverter: ReactUnity.Styling.Converters.CalcConverter;
4506
+ StringifyTyped(value: number): string;
4507
+ StringifyInternal(value: any): string;
4508
+ CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
4509
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
4510
+ Stringify(value: any): string;
4511
+ Equals(obj: any): boolean;
4512
+ GetHashCode(): number;
4513
+ GetType(): System.Type;
4514
+ ToString(): string;
4515
+ }
4516
+ class AngleConverter {
4517
+ constructor();
4518
+ AllowSuffixless: boolean;
4519
+ CalcConverter: ReactUnity.Styling.Converters.CalcConverter;
4520
+ StringifyTyped(value: number): string;
4521
+ StringifyInternal(value: any): string;
4522
+ CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
4523
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
4524
+ Stringify(value: any): string;
4525
+ Equals(obj: any): boolean;
4526
+ GetHashCode(): number;
4527
+ GetType(): System.Type;
4528
+ ToString(): string;
4529
+ }
4530
+ class DurationConverter {
4531
+ constructor();
4532
+ AllowSuffixless: boolean;
4533
+ CalcConverter: ReactUnity.Styling.Converters.CalcConverter;
4534
+ StringifyTyped(value: number): string;
4535
+ StringifyInternal(value: any): string;
4536
+ CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
4537
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
4538
+ Stringify(value: any): string;
4539
+ Equals(obj: any): boolean;
4540
+ GetHashCode(): number;
4541
+ GetType(): System.Type;
4542
+ ToString(): string;
4543
+ }
4544
+ class CalcConverter {
4545
+ constructor(baseConverter: ReactUnity.Styling.Converters.FloatConverter);
4546
+ BaseConverter: ReactUnity.Styling.Converters.FloatConverter;
4547
+ BasePercentage: boolean;
4548
+ AllowsUnitless: boolean;
4549
+ StringifyInternal(value: any): string;
4550
+ StringifyTyped(value: ReactUnity.Styling.Computed.ComputedCalc_CalcValue): string;
4551
+ CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
4552
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
4553
+ Stringify(value: any): string;
4554
+ Equals(obj: any): boolean;
4555
+ GetHashCode(): number;
4556
+ GetType(): System.Type;
4557
+ ToString(): string;
4558
+ }
4559
+ class IntConverter {
4560
+ constructor();
4561
+ AllowFloats: boolean;
4562
+ AllowInfinite: boolean;
4563
+ InfiniteValue: number;
4564
+ Min: number;
4565
+ Max: number;
4566
+ FloatConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4567
+ StringifyInternal(value: any): string;
4568
+ StringifyTyped(value: number): string;
4569
+ CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
4570
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
4571
+ Stringify(value: any): string;
4572
+ Equals(obj: any): boolean;
4573
+ GetHashCode(): number;
4574
+ GetType(): System.Type;
4575
+ ToString(): string;
4576
+ }
4577
+ class CountConverter {
4578
+ constructor();
4579
+ AllowFloats: boolean;
4580
+ AllowInfinite: boolean;
4581
+ InfiniteValue: number;
4582
+ Min: number;
4583
+ Max: number;
4584
+ FloatConverter: ReactUnity.Styling.Converters.StyleConverterBase;
4585
+ StringifyInternal(value: any): string;
4586
+ StringifyTyped(value: number): string;
4587
+ CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
4588
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
4589
+ Stringify(value: any): string;
4590
+ Equals(obj: any): boolean;
4591
+ GetHashCode(): number;
4592
+ GetType(): System.Type;
4593
+ ToString(): string;
4594
+ }
4595
+ class RawConverter {
4596
+ constructor();
4597
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
4598
+ Stringify(value: any): string;
4599
+ Equals(obj: any): boolean;
4600
+ GetHashCode(): number;
4601
+ GetType(): System.Type;
4602
+ ToString(): string;
4603
+ }
4604
+ class StringConverter {
4605
+ constructor();
4606
+ static Normalize(value: string): string;
4607
+ StringifyInternal(value: any): string;
4608
+ StringifyTyped(value: string): string;
4609
+ CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
4610
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
4611
+ Stringify(value: any): string;
4612
+ Equals(obj: any): boolean;
4613
+ GetHashCode(): number;
4614
+ GetType(): System.Type;
4615
+ ToString(): string;
4616
+ }
4617
+ interface IStyleConverter {
4618
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
4619
+ Stringify(value: any): string;
4620
+ }
4621
+ class StyleConverterBase {
4622
+ constructor();
4623
+ CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
4624
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
4625
+ Stringify(value: any): string;
4626
+ StringifyInternal(value: any): string;
4627
+ Equals(obj: any): boolean;
4628
+ GetHashCode(): number;
4629
+ GetType(): System.Type;
4630
+ ToString(): string;
4631
+ }
4632
+ class TypedStyleConverterBase<T = any> {
4633
+ constructor();
4634
+ StringifyInternal(value: any): string;
4635
+ StringifyTyped(value: T): string;
4636
+ CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
4637
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
4638
+ Stringify(value: any): string;
4639
+ Equals(obj: any): boolean;
4640
+ GetHashCode(): number;
4641
+ GetType(): System.Type;
4642
+ ToString(): string;
4643
+ }
4644
+ class UrlConverter {
4645
+ constructor();
4646
+ CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
4647
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
4648
+ Stringify(value: any): string;
4649
+ StringifyInternal(value: any): string;
4650
+ Equals(obj: any): boolean;
4651
+ GetHashCode(): number;
4652
+ GetType(): System.Type;
4653
+ ToString(): string;
4654
+ }
4655
+ class Vector2Converter {
4656
+ constructor(allowLiterals?: boolean);
4657
+ AllowLiterals: boolean;
4658
+ CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
4659
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
4660
+ Stringify(value: any): string;
4661
+ StringifyInternal(value: any): string;
4151
4662
  Equals(obj: any): boolean;
4152
4663
  GetHashCode(): number;
4153
- ToString(): string;
4154
4664
  GetType(): System.Type;
4665
+ ToString(): string;
4155
4666
  }
4156
- class ComputedVariable {
4157
- constructor(prop: ReactUnity.Styling.VariableProperty, fallbackValue: any);
4158
- Property: ReactUnity.Styling.VariableProperty;
4159
- FallbackValue: any;
4160
- GetValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle): any;
4667
+ class Vector3Converter {
4668
+ constructor(singleValueMode?: ((arg: number) => UnityEngine.Vector3), floatParser?: ReactUnity.Styling.Converters.StyleConverterBase, defaultZValue?: number);
4669
+ StringifyInternal(value: any): string;
4670
+ StringifyTyped(value: UnityEngine.Vector3): string;
4671
+ CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
4672
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
4673
+ Stringify(value: any): string;
4161
4674
  Equals(obj: any): boolean;
4162
4675
  GetHashCode(): number;
4163
- ToString(): string;
4164
4676
  GetType(): System.Type;
4677
+ ToString(): string;
4165
4678
  }
4166
- interface IComputedValue {
4167
- GetValue(targetProp: ReactUnity.Styling.IStyleProperty, targetStyle: ReactUnity.Styling.NodeStyle): any;
4168
- }
4169
- enum ComputedRootRelative_RootValueType {
4170
- None = 0,
4171
- Width = 1,
4172
- Height = 2,
4173
- Min = 3,
4174
- Max = 4,
4175
- Rem = 5
4679
+ class YogaValueConverter {
4680
+ constructor(allowHorizontal?: boolean, allowVertical?: boolean);
4681
+ static Horizontal: ReactUnity.Styling.Converters.YogaValueConverter;
4682
+ static Vertical: ReactUnity.Styling.Converters.YogaValueConverter;
4683
+ StringifyInternal(value: any): string;
4684
+ StringifyTyped(value: Facebook.Yoga.YogaValue): string;
4685
+ CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
4686
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
4687
+ Stringify(value: any): string;
4688
+ Equals(obj: any): boolean;
4689
+ GetHashCode(): number;
4690
+ GetType(): System.Type;
4691
+ ToString(): string;
4176
4692
  }
4177
4693
  }
4178
4694
  namespace Rules {
@@ -4222,7 +4738,6 @@ export declare namespace ReactUnity {
4222
4738
  static ConvertStyleDeclarationToRecord(rule: any, important: boolean): any;
4223
4739
  static ConvertStyleDeclarationToRecord(dc: any): any;
4224
4740
  static NormalizeSelector(selector: string): string;
4225
- static GetCssKeyword(value: string): ReactUnity.Styling.CssKeyword;
4226
4741
  Equals(obj: any): boolean;
4227
4742
  GetHashCode(): number;
4228
4743
  GetType(): System.Type;
@@ -4428,14 +4943,14 @@ export declare namespace ReactUnity {
4428
4943
  Data = 8,
4429
4944
  Path = 9
4430
4945
  }
4431
- class AssetReference<AssetType = any> {
4432
- constructor(type: ReactUnity.Types.AssetReferenceType, value: any);
4433
- constructor(url: ReactUnity.Types.Url);
4434
- Type: ReactUnity.Types.AssetReferenceType;
4435
- Value: any;
4436
- static None: any;
4437
- Get(context: ReactUnity.ReactContext, callback: ((arg0: AssetType) => void)): void;
4438
- Dispose(): void;
4946
+ class BaseConverter<AssetType = any, T = any> {
4947
+ constructor(allowWithoutUrl?: boolean);
4948
+ AllowWithoutUrl: boolean;
4949
+ StringifyInternal(value: any): string;
4950
+ StringifyTyped(value: T): string;
4951
+ CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
4952
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
4953
+ Stringify(value: any): string;
4439
4954
  Equals(obj: any): boolean;
4440
4955
  GetHashCode(): number;
4441
4956
  GetType(): System.Type;
@@ -4448,7 +4963,7 @@ export declare namespace ReactUnity {
4448
4963
  Value: any;
4449
4964
  static None: ReactUnity.Types.AudioReference;
4450
4965
  Dispose(): void;
4451
- Get(context: ReactUnity.ReactContext, callback: ((arg0: UnityEngine.AudioClip) => void)): void;
4966
+ Get(context: ReactUnity.ReactContext, callback: ((obj: UnityEngine.AudioClip) => void)): void;
4452
4967
  Equals(obj: any): boolean;
4453
4968
  GetHashCode(): number;
4454
4969
  GetType(): System.Type;
@@ -4528,8 +5043,6 @@ export declare namespace ReactUnity {
4528
5043
  blur: UnityEngine.Vector2;
4529
5044
  inset: boolean;
4530
5045
  Definition: string;
4531
- static ColorParser: ReactUnity.Converters.ColorConverter;
4532
- static FloatParser: ReactUnity.Converters.FloatConverter;
4533
5046
  static Default: ReactUnity.Types.BoxShadow;
4534
5047
  static DefaultInset: ReactUnity.Types.BoxShadow;
4535
5048
  Interpolate(to: any, t: number): any;
@@ -4538,22 +5051,6 @@ export declare namespace ReactUnity {
4538
5051
  GetType(): System.Type;
4539
5052
  ToString(): string;
4540
5053
  }
4541
- interface ICommaSeparatedListItem {
4542
- Definition: string;
4543
- Valid: boolean;
4544
- }
4545
- class CommaSeparatedList<T = any> {
4546
- constructor(item: T);
4547
- constructor(items: T[]);
4548
- constructor(definition: string);
4549
- Definition: string;
4550
- Items: T[];
4551
- Any: boolean;
4552
- Equals(obj: any): boolean;
4553
- GetHashCode(): number;
4554
- ToString(): string;
4555
- GetType(): System.Type;
4556
- }
4557
5054
  interface ICssValueList<T = any> {
4558
5055
  Count: number;
4559
5056
  Any: boolean;
@@ -4584,17 +5081,17 @@ export declare namespace ReactUnity {
4584
5081
  CopyTo(array: T[]): void;
4585
5082
  CopyTo(index: number, array: T[], arrayIndex: number, count: number): void;
4586
5083
  CopyTo(array: T[], arrayIndex: number): void;
4587
- Exists(match: System.Predicate<T>): boolean;
4588
- Find(match: System.Predicate<T>): T;
4589
- FindAll(match: System.Predicate<T>): T[];
4590
- FindIndex(match: System.Predicate<T>): number;
4591
- FindIndex(startIndex: number, match: System.Predicate<T>): number;
4592
- FindIndex(startIndex: number, count: number, match: System.Predicate<T>): number;
4593
- FindLast(match: System.Predicate<T>): T;
4594
- FindLastIndex(match: System.Predicate<T>): number;
4595
- FindLastIndex(startIndex: number, match: System.Predicate<T>): number;
4596
- FindLastIndex(startIndex: number, count: number, match: System.Predicate<T>): number;
4597
- ForEach(action: ((arg0: T) => void)): void;
5084
+ Exists(match: ((obj: T) => boolean)): boolean;
5085
+ Find(match: ((obj: T) => boolean)): T;
5086
+ FindAll(match: ((obj: T) => boolean)): T[];
5087
+ FindIndex(match: ((obj: T) => boolean)): number;
5088
+ FindIndex(startIndex: number, match: ((obj: T) => boolean)): number;
5089
+ FindIndex(startIndex: number, count: number, match: ((obj: T) => boolean)): number;
5090
+ FindLast(match: ((obj: T) => boolean)): T;
5091
+ FindLastIndex(match: ((obj: T) => boolean)): number;
5092
+ FindLastIndex(startIndex: number, match: ((obj: T) => boolean)): number;
5093
+ FindLastIndex(startIndex: number, count: number, match: ((obj: T) => boolean)): number;
5094
+ ForEach(action: ((obj: T) => void)): void;
4598
5095
  GetEnumerator(): System.Collections.Generic.List<T>;
4599
5096
  GetRange(index: number, count: number): T[];
4600
5097
  IndexOf(item: T): number;
@@ -4606,7 +5103,7 @@ export declare namespace ReactUnity {
4606
5103
  LastIndexOf(item: T, index: number): number;
4607
5104
  LastIndexOf(item: T, index: number, count: number): number;
4608
5105
  Remove(item: T): boolean;
4609
- RemoveAll(match: System.Predicate<T>): number;
5106
+ RemoveAll(match: ((obj: T) => boolean)): number;
4610
5107
  RemoveAt(index: number): void;
4611
5108
  RemoveRange(index: number, count: number): void;
4612
5109
  Reverse(): void;
@@ -4614,10 +5111,10 @@ export declare namespace ReactUnity {
4614
5111
  Sort(): void;
4615
5112
  Sort(comparer: System.Collections.Generic.IComparer<T>): void;
4616
5113
  Sort(index: number, count: number, comparer: System.Collections.Generic.IComparer<T>): void;
4617
- Sort(comparison: System.Comparison<T>): void;
5114
+ Sort(comparison: ((x: T, y: T) => number)): void;
4618
5115
  ToArray(): T[];
4619
5116
  TrimExcess(): void;
4620
- TrueForAll(match: System.Predicate<T>): boolean;
5117
+ TrueForAll(match: ((obj: T) => boolean)): boolean;
4621
5118
  Equals(obj: any): boolean;
4622
5119
  GetHashCode(): number;
4623
5120
  GetType(): System.Type;
@@ -4637,25 +5134,9 @@ export declare namespace ReactUnity {
4637
5134
  ToString(): string;
4638
5135
  GetType(): System.Type;
4639
5136
  }
4640
- class CursorList {
4641
- constructor(definition: string);
4642
- constructor(item: ReactUnity.Types.Cursor);
4643
- constructor(items: ReactUnity.Types.Cursor[]);
4644
- Definition: string;
4645
- Items: ReactUnity.Types.Cursor[];
4646
- Any: boolean;
4647
- static Default: ReactUnity.Types.CursorList;
4648
- static None: ReactUnity.Types.CursorList;
4649
- static Pointer: ReactUnity.Types.CursorList;
4650
- static Text: ReactUnity.Types.CursorList;
4651
- GetWebGLDefinition(): string;
4652
- Equals(obj: any): boolean;
4653
- GetHashCode(): number;
4654
- ToString(): string;
4655
- GetType(): System.Type;
4656
- }
4657
5137
  class Cursor {
4658
- constructor(definition: string);
5138
+ constructor(name: string);
5139
+ constructor(image: ReactUnity.Types.ImageReference, offset: UnityEngine.Vector2);
4659
5140
  Offset: UnityEngine.Vector2;
4660
5141
  Name: string;
4661
5142
  Image: ReactUnity.Types.ImageReference;
@@ -4691,7 +5172,7 @@ export declare namespace ReactUnity {
4691
5172
  Type: ReactUnity.Types.AssetReferenceType;
4692
5173
  Value: any;
4693
5174
  static None: ReactUnity.Types.FontReference;
4694
- Get(context: ReactUnity.ReactContext, callback: ((arg0: ReactUnity.Types.FontSource) => void)): void;
5175
+ Get(context: ReactUnity.ReactContext, callback: ((obj: ReactUnity.Types.FontSource) => void)): void;
4695
5176
  Dispose(): void;
4696
5177
  Equals(obj: any): boolean;
4697
5178
  GetHashCode(): number;
@@ -4775,7 +5256,7 @@ export declare namespace ReactUnity {
4775
5256
  ToString(): string;
4776
5257
  }
4777
5258
  class ImageDefinition {
4778
- static None: ReactUnity.Types.ImageDefinition;
5259
+ static NoImage: ReactUnity.Types.ImageDefinition;
4779
5260
  SizeUpdatesGraphic: boolean;
4780
5261
  Equals(obj: any): boolean;
4781
5262
  GetHashCode(): number;
@@ -4808,7 +5289,7 @@ export declare namespace ReactUnity {
4808
5289
  Value: any;
4809
5290
  static None: ReactUnity.Types.ImageReference;
4810
5291
  Dispose(): void;
4811
- Get(context: ReactUnity.ReactContext, callback: ((arg0: UnityEngine.Texture2D) => void)): void;
5292
+ Get(context: ReactUnity.ReactContext, callback: ((obj: UnityEngine.Texture2D) => void)): void;
4812
5293
  Equals(obj: any): boolean;
4813
5294
  GetHashCode(): number;
4814
5295
  GetType(): System.Type;
@@ -4840,14 +5321,28 @@ export declare namespace ReactUnity {
4840
5321
  Vertical = 2,
4841
5322
  Both = 3
4842
5323
  }
5324
+ class SpriteReference {
5325
+ constructor(type: ReactUnity.Types.AssetReferenceType, value: any);
5326
+ constructor(url: ReactUnity.Types.Url);
5327
+ Type: ReactUnity.Types.AssetReferenceType;
5328
+ Value: any;
5329
+ static None: ReactUnity.Types.SpriteReference;
5330
+ static FromTexture(texture: UnityEngine.Texture2D): UnityEngine.Sprite;
5331
+ Get(context: ReactUnity.ReactContext, callback: ((obj: UnityEngine.Sprite) => void)): void;
5332
+ Dispose(): void;
5333
+ Equals(obj: any): boolean;
5334
+ GetHashCode(): number;
5335
+ GetType(): System.Type;
5336
+ ToString(): string;
5337
+ }
4843
5338
  class TextReference {
4844
5339
  constructor(type: ReactUnity.Types.AssetReferenceType, value: any);
4845
5340
  constructor(url: ReactUnity.Types.Url);
4846
5341
  Type: ReactUnity.Types.AssetReferenceType;
4847
5342
  Value: any;
4848
- static None: ReactUnity.Types.ImageReference;
5343
+ static None: ReactUnity.Types.TextReference;
4849
5344
  Dispose(): void;
4850
- Get(context: ReactUnity.ReactContext, callback: ((arg0: UnityEngine.TextAsset) => void)): void;
5345
+ Get(context: ReactUnity.ReactContext, callback: ((obj: UnityEngine.TextAsset) => void)): void;
4851
5346
  Equals(obj: any): boolean;
4852
5347
  GetHashCode(): number;
4853
5348
  GetType(): System.Type;
@@ -4866,7 +5361,7 @@ export declare namespace ReactUnity {
4866
5361
  FullUrl: string;
4867
5362
  NormalizedUrl: string;
4868
5363
  HasKnownProtocol: boolean;
4869
- GetData(): System.Byte[];
5364
+ GetData(): Byte[];
4870
5365
  Equals(obj: any): boolean;
4871
5366
  GetHashCode(): number;
4872
5367
  GetType(): System.Type;
@@ -4899,7 +5394,7 @@ export declare namespace ReactUnity {
4899
5394
  Type: ReactUnity.Types.AssetReferenceType;
4900
5395
  Value: any;
4901
5396
  static None: ReactUnity.Types.VideoReference;
4902
- Get(context: ReactUnity.ReactContext, callback: ((arg0: ReactUnity.Types.VideoComponentSource) => void)): void;
5397
+ Get(context: ReactUnity.ReactContext, callback: ((obj: ReactUnity.Types.VideoComponentSource) => void)): void;
4903
5398
  Dispose(): void;
4904
5399
  Equals(obj: any): boolean;
4905
5400
  GetHashCode(): number;
@@ -4928,10 +5423,13 @@ export declare namespace ReactUnity {
4928
5423
  GetType(): System.Type;
4929
5424
  }
4930
5425
  class AudioReference_Converter {
4931
- constructor();
5426
+ constructor(allowWithoutUrl?: boolean);
5427
+ AllowWithoutUrl: boolean;
5428
+ StringifyInternal(value: any): string;
5429
+ StringifyTyped(value: ReactUnity.Types.AudioReference): string;
4932
5430
  CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
4933
- Convert(value: any): any;
4934
- Parse(value: string): any;
5431
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
5432
+ Stringify(value: any): string;
4935
5433
  Equals(obj: any): boolean;
4936
5434
  GetHashCode(): number;
4937
5435
  GetType(): System.Type;
@@ -4940,8 +5438,9 @@ export declare namespace ReactUnity {
4940
5438
  class BackgroundSize_Converter {
4941
5439
  constructor();
4942
5440
  CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
4943
- Convert(value: any): any;
4944
- Parse(value: string): any;
5441
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
5442
+ Stringify(value: any): string;
5443
+ StringifyInternal(value: any): string;
4945
5444
  Equals(obj: any): boolean;
4946
5445
  GetHashCode(): number;
4947
5446
  GetType(): System.Type;
@@ -4949,29 +5448,37 @@ export declare namespace ReactUnity {
4949
5448
  }
4950
5449
  class BoxShadow_Converter {
4951
5450
  constructor();
5451
+ static ColorParser: ReactUnity.Styling.Converters.StyleConverterBase;
5452
+ static FloatParser: ReactUnity.Styling.Converters.StyleConverterBase;
4952
5453
  CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
4953
- Parse(value: string): any;
4954
- Convert(value: any): any;
5454
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
5455
+ Stringify(value: any): string;
5456
+ StringifyInternal(value: any): string;
4955
5457
  Equals(obj: any): boolean;
4956
5458
  GetHashCode(): number;
4957
5459
  GetType(): System.Type;
4958
5460
  ToString(): string;
4959
5461
  }
4960
- class CursorList_Converter {
5462
+ class Cursor_Converter {
4961
5463
  constructor();
5464
+ StringifyInternal(value: any): string;
5465
+ StringifyTyped(value: ReactUnity.Types.Cursor): string;
4962
5466
  CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
4963
- Convert(value: any): any;
4964
- Parse(value: string): any;
5467
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
5468
+ Stringify(value: any): string;
4965
5469
  Equals(obj: any): boolean;
4966
5470
  GetHashCode(): number;
4967
5471
  GetType(): System.Type;
4968
5472
  ToString(): string;
4969
5473
  }
4970
5474
  class FontReference_Converter {
4971
- constructor();
5475
+ constructor(allowWithoutUrl?: boolean);
5476
+ AllowWithoutUrl: boolean;
5477
+ StringifyInternal(value: any): string;
5478
+ StringifyTyped(value: ReactUnity.Types.FontReference): string;
4972
5479
  CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
4973
- Convert(value: any): any;
4974
- Parse(value: string): any;
5480
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
5481
+ Stringify(value: any): string;
4975
5482
  Equals(obj: any): boolean;
4976
5483
  GetHashCode(): number;
4977
5484
  GetType(): System.Type;
@@ -5000,9 +5507,11 @@ export declare namespace ReactUnity {
5000
5507
  }
5001
5508
  class ImageDefinition_Converter {
5002
5509
  constructor();
5510
+ StringifyInternal(value: any): string;
5511
+ StringifyTyped(value: ReactUnity.Types.ImageDefinition): string;
5003
5512
  CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
5004
- Convert(value: any): any;
5005
- Parse(value: string): any;
5513
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
5514
+ Stringify(value: any): string;
5006
5515
  Equals(obj: any): boolean;
5007
5516
  GetHashCode(): number;
5008
5517
  GetType(): System.Type;
@@ -5011,9 +5520,24 @@ export declare namespace ReactUnity {
5011
5520
  class ImageReference_Converter {
5012
5521
  constructor(allowWithoutUrl?: boolean);
5013
5522
  AllowWithoutUrl: boolean;
5523
+ StringifyInternal(value: any): string;
5524
+ StringifyTyped(value: ReactUnity.Types.ImageReference): string;
5525
+ CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
5526
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
5527
+ Stringify(value: any): string;
5528
+ Equals(obj: any): boolean;
5529
+ GetHashCode(): number;
5530
+ GetType(): System.Type;
5531
+ ToString(): string;
5532
+ }
5533
+ class SpriteReference_Converter {
5534
+ constructor(allowWithoutUrl?: boolean);
5535
+ AllowWithoutUrl: boolean;
5536
+ StringifyInternal(value: any): string;
5537
+ StringifyTyped(value: ReactUnity.Types.SpriteReference): string;
5014
5538
  CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
5015
- Convert(value: any): any;
5016
- Parse(value: string): any;
5539
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
5540
+ Stringify(value: any): string;
5017
5541
  Equals(obj: any): boolean;
5018
5542
  GetHashCode(): number;
5019
5543
  GetType(): System.Type;
@@ -5022,19 +5546,24 @@ export declare namespace ReactUnity {
5022
5546
  class TextReference_Converter {
5023
5547
  constructor(allowWithoutUrl?: boolean);
5024
5548
  AllowWithoutUrl: boolean;
5549
+ StringifyInternal(value: any): string;
5550
+ StringifyTyped(value: ReactUnity.Types.TextReference): string;
5025
5551
  CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
5026
- Convert(value: any): any;
5027
- Parse(value: string): any;
5552
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
5553
+ Stringify(value: any): string;
5028
5554
  Equals(obj: any): boolean;
5029
5555
  GetHashCode(): number;
5030
5556
  GetType(): System.Type;
5031
5557
  ToString(): string;
5032
5558
  }
5033
5559
  class VideoReference_Converter {
5034
- constructor();
5560
+ constructor(allowWithoutUrl?: boolean);
5561
+ AllowWithoutUrl: boolean;
5562
+ StringifyInternal(value: any): string;
5563
+ StringifyTyped(value: ReactUnity.Types.VideoReference): string;
5035
5564
  CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
5036
- Convert(value: any): any;
5037
- Parse(value: string): any;
5565
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
5566
+ Stringify(value: any): string;
5038
5567
  Equals(obj: any): boolean;
5039
5568
  GetHashCode(): number;
5040
5569
  GetType(): System.Type;
@@ -5042,9 +5571,11 @@ export declare namespace ReactUnity {
5042
5571
  }
5043
5572
  class YogaValue2_Converter {
5044
5573
  constructor(allowLiterals?: boolean, separator?: System.Char, singleValueAssignsBoth?: boolean);
5574
+ StringifyInternal(value: any): string;
5575
+ StringifyTyped(value: ReactUnity.Types.YogaValue2): string;
5045
5576
  CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
5046
- Parse(value: string): any;
5047
- Convert(value: any): any;
5577
+ Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
5578
+ Stringify(value: any): string;
5048
5579
  Equals(obj: any): boolean;
5049
5580
  GetHashCode(): number;
5050
5581
  GetType(): System.Type;
@@ -5069,6 +5600,8 @@ export declare namespace ReactUnity {
5069
5600
  Name: string;
5070
5601
  ClientWidth: number;
5071
5602
  ClientHeight: number;
5603
+ EventViewport: UnityEngine.RectTransform;
5604
+ ResolvedEventViewport: UnityEngine.RectTransform;
5072
5605
  Context: ReactUnity.UGUI.UGUIContext;
5073
5606
  Parent: ReactUnity.IContainerComponent;
5074
5607
  Data: ReactUnity.Helpers.WatchableObjectRecord;
@@ -5126,7 +5659,7 @@ export declare namespace ReactUnity {
5126
5659
  Closest(query: string): ReactUnity.IReactComponent;
5127
5660
  QuerySelector(query: string): ReactUnity.IReactComponent;
5128
5661
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
5129
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
5662
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
5130
5663
  AddBefore(): void;
5131
5664
  RemoveBefore(): void;
5132
5665
  AddAfter(): void;
@@ -5141,10 +5674,8 @@ export declare namespace ReactUnity {
5141
5674
  }
5142
5675
  class BaseImageComponent {
5143
5676
  constructor(context: ReactUnity.UGUI.UGUIContext, tag: string);
5144
- Measurer: ReactUnity.UGUI.Behaviours.ImageMeasurer;
5145
- ImageContainer: UnityEngine.GameObject;
5146
- Graphic: UnityEngine.UI.MaskableGraphic;
5147
- ReplacedElement: ReactUnity.UGUI.Behaviours.ReactReplacedElement;
5677
+ Replaced: ReactUnity.UGUI.BaseImageComponent_ReplacedImageHelper;
5678
+ Source: any;
5148
5679
  GameObject: UnityEngine.GameObject;
5149
5680
  RectTransform: UnityEngine.RectTransform;
5150
5681
  Component: ReactUnity.UGUI.Behaviours.ReactElement;
@@ -5157,6 +5688,8 @@ export declare namespace ReactUnity {
5157
5688
  Name: string;
5158
5689
  ClientWidth: number;
5159
5690
  ClientHeight: number;
5691
+ EventViewport: UnityEngine.RectTransform;
5692
+ ResolvedEventViewport: UnityEngine.RectTransform;
5160
5693
  Context: ReactUnity.UGUI.UGUIContext;
5161
5694
  Parent: ReactUnity.IContainerComponent;
5162
5695
  Data: ReactUnity.Helpers.WatchableObjectRecord;
@@ -5212,7 +5745,7 @@ export declare namespace ReactUnity {
5212
5745
  Closest(query: string): ReactUnity.IReactComponent;
5213
5746
  QuerySelector(query: string): ReactUnity.IReactComponent;
5214
5747
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
5215
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
5748
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
5216
5749
  AddBefore(): void;
5217
5750
  RemoveBefore(): void;
5218
5751
  AddAfter(): void;
@@ -5229,10 +5762,8 @@ export declare namespace ReactUnity {
5229
5762
  constructor(context: ReactUnity.UGUI.UGUIContext, tag: string);
5230
5763
  RenderTexture: UnityEngine.RenderTexture;
5231
5764
  Image: UnityEngine.UI.RawImage;
5232
- Graphic: UnityEngine.UI.MaskableGraphic;
5233
- Measurer: ReactUnity.UGUI.Behaviours.ImageMeasurer;
5234
- ImageContainer: UnityEngine.GameObject;
5235
- ReplacedElement: ReactUnity.UGUI.Behaviours.ReactReplacedElement;
5765
+ Replaced: ReactUnity.UGUI.BaseImageComponent_ReplacedImageHelper;
5766
+ Source: any;
5236
5767
  GameObject: UnityEngine.GameObject;
5237
5768
  RectTransform: UnityEngine.RectTransform;
5238
5769
  Component: ReactUnity.UGUI.Behaviours.ReactElement;
@@ -5245,6 +5776,8 @@ export declare namespace ReactUnity {
5245
5776
  Name: string;
5246
5777
  ClientWidth: number;
5247
5778
  ClientHeight: number;
5779
+ EventViewport: UnityEngine.RectTransform;
5780
+ ResolvedEventViewport: UnityEngine.RectTransform;
5248
5781
  Context: ReactUnity.UGUI.UGUIContext;
5249
5782
  Parent: ReactUnity.IContainerComponent;
5250
5783
  Data: ReactUnity.Helpers.WatchableObjectRecord;
@@ -5300,7 +5833,7 @@ export declare namespace ReactUnity {
5300
5833
  Closest(query: string): ReactUnity.IReactComponent;
5301
5834
  QuerySelector(query: string): ReactUnity.IReactComponent;
5302
5835
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
5303
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
5836
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
5304
5837
  AddBefore(): void;
5305
5838
  RemoveBefore(): void;
5306
5839
  AddAfter(): void;
@@ -5329,6 +5862,8 @@ export declare namespace ReactUnity {
5329
5862
  Name: string;
5330
5863
  ClientWidth: number;
5331
5864
  ClientHeight: number;
5865
+ EventViewport: UnityEngine.RectTransform;
5866
+ ResolvedEventViewport: UnityEngine.RectTransform;
5332
5867
  Context: ReactUnity.UGUI.UGUIContext;
5333
5868
  Parent: ReactUnity.IContainerComponent;
5334
5869
  Data: ReactUnity.Helpers.WatchableObjectRecord;
@@ -5385,7 +5920,7 @@ export declare namespace ReactUnity {
5385
5920
  Closest(query: string): ReactUnity.IReactComponent;
5386
5921
  QuerySelector(query: string): ReactUnity.IReactComponent;
5387
5922
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
5388
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
5923
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
5389
5924
  AddBefore(): void;
5390
5925
  RemoveBefore(): void;
5391
5926
  AddAfter(): void;
@@ -5412,6 +5947,8 @@ export declare namespace ReactUnity {
5412
5947
  Name: string;
5413
5948
  ClientWidth: number;
5414
5949
  ClientHeight: number;
5950
+ EventViewport: UnityEngine.RectTransform;
5951
+ ResolvedEventViewport: UnityEngine.RectTransform;
5415
5952
  Context: ReactUnity.UGUI.UGUIContext;
5416
5953
  Parent: ReactUnity.IContainerComponent;
5417
5954
  Data: ReactUnity.Helpers.WatchableObjectRecord;
@@ -5467,7 +6004,7 @@ export declare namespace ReactUnity {
5467
6004
  Closest(query: string): ReactUnity.IReactComponent;
5468
6005
  QuerySelector(query: string): ReactUnity.IReactComponent;
5469
6006
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
5470
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
6007
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
5471
6008
  AddBefore(): void;
5472
6009
  RemoveBefore(): void;
5473
6010
  AddAfter(): void;
@@ -5497,6 +6034,8 @@ export declare namespace ReactUnity {
5497
6034
  Name: string;
5498
6035
  ClientWidth: number;
5499
6036
  ClientHeight: number;
6037
+ EventViewport: UnityEngine.RectTransform;
6038
+ ResolvedEventViewport: UnityEngine.RectTransform;
5500
6039
  Context: ReactUnity.UGUI.UGUIContext;
5501
6040
  Parent: ReactUnity.IContainerComponent;
5502
6041
  Data: ReactUnity.Helpers.WatchableObjectRecord;
@@ -5552,7 +6091,7 @@ export declare namespace ReactUnity {
5552
6091
  Closest(query: string): ReactUnity.IReactComponent;
5553
6092
  QuerySelector(query: string): ReactUnity.IReactComponent;
5554
6093
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
5555
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
6094
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
5556
6095
  AddBefore(): void;
5557
6096
  RemoveBefore(): void;
5558
6097
  AddAfter(): void;
@@ -5585,6 +6124,8 @@ export declare namespace ReactUnity {
5585
6124
  Name: string;
5586
6125
  ClientWidth: number;
5587
6126
  ClientHeight: number;
6127
+ EventViewport: UnityEngine.RectTransform;
6128
+ ResolvedEventViewport: UnityEngine.RectTransform;
5588
6129
  Context: ReactUnity.UGUI.UGUIContext;
5589
6130
  Parent: ReactUnity.IContainerComponent;
5590
6131
  Data: ReactUnity.Helpers.WatchableObjectRecord;
@@ -5643,7 +6184,7 @@ export declare namespace ReactUnity {
5643
6184
  Closest(query: string): ReactUnity.IReactComponent;
5644
6185
  QuerySelector(query: string): ReactUnity.IReactComponent;
5645
6186
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
5646
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
6187
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
5647
6188
  AddBefore(): void;
5648
6189
  RemoveBefore(): void;
5649
6190
  AddAfter(): void;
@@ -5659,10 +6200,8 @@ export declare namespace ReactUnity {
5659
6200
  class ImageComponent {
5660
6201
  constructor(context: ReactUnity.UGUI.UGUIContext, tag?: string);
5661
6202
  Image: UnityEngine.UI.Image;
5662
- Graphic: UnityEngine.UI.MaskableGraphic;
5663
- Measurer: ReactUnity.UGUI.Behaviours.ImageMeasurer;
5664
- ImageContainer: UnityEngine.GameObject;
5665
- ReplacedElement: ReactUnity.UGUI.Behaviours.ReactReplacedElement;
6203
+ Replaced: ReactUnity.UGUI.BaseImageComponent_ReplacedImageHelper;
6204
+ Source: any;
5666
6205
  GameObject: UnityEngine.GameObject;
5667
6206
  RectTransform: UnityEngine.RectTransform;
5668
6207
  Component: ReactUnity.UGUI.Behaviours.ReactElement;
@@ -5675,6 +6214,8 @@ export declare namespace ReactUnity {
5675
6214
  Name: string;
5676
6215
  ClientWidth: number;
5677
6216
  ClientHeight: number;
6217
+ EventViewport: UnityEngine.RectTransform;
6218
+ ResolvedEventViewport: UnityEngine.RectTransform;
5678
6219
  Context: ReactUnity.UGUI.UGUIContext;
5679
6220
  Parent: ReactUnity.IContainerComponent;
5680
6221
  Data: ReactUnity.Helpers.WatchableObjectRecord;
@@ -5730,7 +6271,7 @@ export declare namespace ReactUnity {
5730
6271
  Closest(query: string): ReactUnity.IReactComponent;
5731
6272
  QuerySelector(query: string): ReactUnity.IReactComponent;
5732
6273
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
5733
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
6274
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
5734
6275
  AddBefore(): void;
5735
6276
  RemoveBefore(): void;
5736
6277
  AddAfter(): void;
@@ -5766,6 +6307,8 @@ export declare namespace ReactUnity {
5766
6307
  Name: string;
5767
6308
  ClientWidth: number;
5768
6309
  ClientHeight: number;
6310
+ EventViewport: UnityEngine.RectTransform;
6311
+ ResolvedEventViewport: UnityEngine.RectTransform;
5769
6312
  Context: ReactUnity.UGUI.UGUIContext;
5770
6313
  Parent: ReactUnity.IContainerComponent;
5771
6314
  Data: ReactUnity.Helpers.WatchableObjectRecord;
@@ -5824,7 +6367,7 @@ export declare namespace ReactUnity {
5824
6367
  Closest(query: string): ReactUnity.IReactComponent;
5825
6368
  QuerySelector(query: string): ReactUnity.IReactComponent;
5826
6369
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
5827
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
6370
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
5828
6371
  AddBefore(): void;
5829
6372
  RemoveBefore(): void;
5830
6373
  AddAfter(): void;
@@ -5851,6 +6394,8 @@ export declare namespace ReactUnity {
5851
6394
  Name: string;
5852
6395
  ClientWidth: number;
5853
6396
  ClientHeight: number;
6397
+ EventViewport: UnityEngine.RectTransform;
6398
+ ResolvedEventViewport: UnityEngine.RectTransform;
5854
6399
  Context: ReactUnity.UGUI.UGUIContext;
5855
6400
  Parent: ReactUnity.IContainerComponent;
5856
6401
  Data: ReactUnity.Helpers.WatchableObjectRecord;
@@ -5907,7 +6452,7 @@ export declare namespace ReactUnity {
5907
6452
  Closest(query: string): ReactUnity.IReactComponent;
5908
6453
  QuerySelector(query: string): ReactUnity.IReactComponent;
5909
6454
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
5910
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
6455
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
5911
6456
  AddBefore(): void;
5912
6457
  RemoveBefore(): void;
5913
6458
  AddAfter(): void;
@@ -5924,10 +6469,8 @@ export declare namespace ReactUnity {
5924
6469
  constructor(context: ReactUnity.UGUI.UGUIContext);
5925
6470
  RenderTexture: UnityEngine.RenderTexture;
5926
6471
  Image: UnityEngine.UI.RawImage;
5927
- Graphic: UnityEngine.UI.MaskableGraphic;
5928
- Measurer: ReactUnity.UGUI.Behaviours.ImageMeasurer;
5929
- ImageContainer: UnityEngine.GameObject;
5930
- ReplacedElement: ReactUnity.UGUI.Behaviours.ReactReplacedElement;
6472
+ Replaced: ReactUnity.UGUI.BaseImageComponent_ReplacedImageHelper;
6473
+ Source: any;
5931
6474
  GameObject: UnityEngine.GameObject;
5932
6475
  RectTransform: UnityEngine.RectTransform;
5933
6476
  Component: ReactUnity.UGUI.Behaviours.ReactElement;
@@ -5940,6 +6483,8 @@ export declare namespace ReactUnity {
5940
6483
  Name: string;
5941
6484
  ClientWidth: number;
5942
6485
  ClientHeight: number;
6486
+ EventViewport: UnityEngine.RectTransform;
6487
+ ResolvedEventViewport: UnityEngine.RectTransform;
5943
6488
  Context: ReactUnity.UGUI.UGUIContext;
5944
6489
  Parent: ReactUnity.IContainerComponent;
5945
6490
  Data: ReactUnity.Helpers.WatchableObjectRecord;
@@ -5995,7 +6540,7 @@ export declare namespace ReactUnity {
5995
6540
  Closest(query: string): ReactUnity.IReactComponent;
5996
6541
  QuerySelector(query: string): ReactUnity.IReactComponent;
5997
6542
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
5998
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
6543
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
5999
6544
  AddBefore(): void;
6000
6545
  RemoveBefore(): void;
6001
6546
  AddAfter(): void;
@@ -6011,6 +6556,7 @@ export declare namespace ReactUnity {
6011
6556
  class PortalComponent {
6012
6557
  constructor(context: ReactUnity.UGUI.UGUIContext, tag?: string);
6013
6558
  ShadowParent: ReactUnity.IReactComponent;
6559
+ Detached: boolean;
6014
6560
  GameObject: UnityEngine.GameObject;
6015
6561
  RectTransform: UnityEngine.RectTransform;
6016
6562
  Component: ReactUnity.UGUI.Behaviours.ReactElement;
@@ -6023,6 +6569,8 @@ export declare namespace ReactUnity {
6023
6569
  Name: string;
6024
6570
  ClientWidth: number;
6025
6571
  ClientHeight: number;
6572
+ EventViewport: UnityEngine.RectTransform;
6573
+ ResolvedEventViewport: UnityEngine.RectTransform;
6026
6574
  Context: ReactUnity.UGUI.UGUIContext;
6027
6575
  Parent: ReactUnity.IContainerComponent;
6028
6576
  Data: ReactUnity.Helpers.WatchableObjectRecord;
@@ -6078,7 +6626,7 @@ export declare namespace ReactUnity {
6078
6626
  Closest(query: string): ReactUnity.IReactComponent;
6079
6627
  QuerySelector(query: string): ReactUnity.IReactComponent;
6080
6628
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
6081
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
6629
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
6082
6630
  AddBefore(): void;
6083
6631
  RemoveBefore(): void;
6084
6632
  AddAfter(): void;
@@ -6106,6 +6654,183 @@ export declare namespace ReactUnity {
6106
6654
  Name: string;
6107
6655
  ClientWidth: number;
6108
6656
  ClientHeight: number;
6657
+ EventViewport: UnityEngine.RectTransform;
6658
+ ResolvedEventViewport: UnityEngine.RectTransform;
6659
+ Context: ReactUnity.UGUI.UGUIContext;
6660
+ Parent: ReactUnity.IContainerComponent;
6661
+ Data: ReactUnity.Helpers.WatchableObjectRecord;
6662
+ Layout: Facebook.Yoga.YogaNode;
6663
+ ComputedStyle: ReactUnity.Styling.NodeStyle;
6664
+ StyleState: ReactUnity.Styling.StyleState;
6665
+ StateStyles: ReactUnity.Styling.StateStyles;
6666
+ Style: InlineStyleRemap;
6667
+ InlineStylesheet: ReactUnity.Styling.StyleSheet;
6668
+ ParentIndex: number;
6669
+ CurrentOrder: number;
6670
+ Entering: boolean;
6671
+ Leaving: boolean;
6672
+ Destroyed: boolean;
6673
+ IsPseudoElement: boolean;
6674
+ Tag: string;
6675
+ TextContent: string;
6676
+ ClassName: string;
6677
+ ClassList: ReactUnity.Helpers.ClassList;
6678
+ Id: string;
6679
+ RefId: number;
6680
+ IsContainer: boolean;
6681
+ Children: ReactUnity.IReactComponent[];
6682
+ BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
6683
+ AfterRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
6684
+ BeforePseudo: ReactUnity.IReactComponent;
6685
+ AfterPseudo: ReactUnity.IReactComponent;
6686
+ ScrollLeft: number;
6687
+ ScrollTop: number;
6688
+ ScrollWidth: number;
6689
+ ScrollHeight: number;
6690
+ SetProperty(propertyName: string, value: any): void;
6691
+ AddEventListener(eventName: string, callback: ReactUnity.Helpers.Callback): (() => void);
6692
+ UpdateBackgroundGraphic(updateLayout: boolean, updateStyle: boolean): ReactUnity.UGUI.Internal.BorderAndBackground;
6693
+ GetRelativePosition(x: number, y: number): UnityEngine.Vector2;
6694
+ GetBoundingClientRect(): UnityEngine.Rect;
6695
+ GetComponent(type: System.Type): any;
6696
+ AddComponent(type: System.Type): any;
6697
+ UpdateOrder(prev: number, current: number): boolean;
6698
+ Update(): void;
6699
+ MarkForStyleResolving(recursive: boolean): void;
6700
+ Remove(): void;
6701
+ Destroy(recursive?: boolean): void;
6702
+ SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
6703
+ SetEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): void;
6704
+ FireEvent(eventName: string, arg: any): void;
6705
+ SetData(propertyName: string, value: any): void;
6706
+ ResolveStyle(recursive?: boolean): void;
6707
+ MarkStyleUpdateWithSiblings(recursive: boolean): void;
6708
+ ApplyStyles(): void;
6709
+ ApplyLayoutStyles(): void;
6710
+ Matches(query: string): boolean;
6711
+ Closest(query: string): ReactUnity.IReactComponent;
6712
+ QuerySelector(query: string): ReactUnity.IReactComponent;
6713
+ QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
6714
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
6715
+ AddBefore(): void;
6716
+ RemoveBefore(): void;
6717
+ AddAfter(): void;
6718
+ RemoveAfter(): void;
6719
+ RegisterChild(child: ReactUnity.IReactComponent, index?: number): void;
6720
+ UnregisterChild(child: ReactUnity.IReactComponent): void;
6721
+ Clear(): void;
6722
+ Equals(obj: any): boolean;
6723
+ GetHashCode(): number;
6724
+ GetType(): System.Type;
6725
+ ToString(): string;
6726
+ }
6727
+ class RawImageComponent {
6728
+ constructor(context: ReactUnity.UGUI.UGUIContext, tag?: string);
6729
+ Image: UnityEngine.UI.RawImage;
6730
+ Replaced: ReactUnity.UGUI.BaseImageComponent_ReplacedImageHelper;
6731
+ Source: any;
6732
+ GameObject: UnityEngine.GameObject;
6733
+ RectTransform: UnityEngine.RectTransform;
6734
+ Component: ReactUnity.UGUI.Behaviours.ReactElement;
6735
+ BorderAndBackground: ReactUnity.UGUI.Internal.BorderAndBackground;
6736
+ OverflowMask: ReactUnity.UGUI.Internal.MaskAndImage;
6737
+ Selectable: UnityEngine.UI.Selectable;
6738
+ CanvasGroup: UnityEngine.CanvasGroup;
6739
+ Canvas: UnityEngine.Canvas;
6740
+ Container: UnityEngine.RectTransform;
6741
+ Name: string;
6742
+ ClientWidth: number;
6743
+ ClientHeight: number;
6744
+ EventViewport: UnityEngine.RectTransform;
6745
+ ResolvedEventViewport: UnityEngine.RectTransform;
6746
+ Context: ReactUnity.UGUI.UGUIContext;
6747
+ Parent: ReactUnity.IContainerComponent;
6748
+ Data: ReactUnity.Helpers.WatchableObjectRecord;
6749
+ Layout: Facebook.Yoga.YogaNode;
6750
+ ComputedStyle: ReactUnity.Styling.NodeStyle;
6751
+ StyleState: ReactUnity.Styling.StyleState;
6752
+ StateStyles: ReactUnity.Styling.StateStyles;
6753
+ Style: InlineStyleRemap;
6754
+ InlineStylesheet: ReactUnity.Styling.StyleSheet;
6755
+ ParentIndex: number;
6756
+ CurrentOrder: number;
6757
+ Entering: boolean;
6758
+ Leaving: boolean;
6759
+ Destroyed: boolean;
6760
+ IsPseudoElement: boolean;
6761
+ Tag: string;
6762
+ TextContent: string;
6763
+ ClassName: string;
6764
+ ClassList: ReactUnity.Helpers.ClassList;
6765
+ Id: string;
6766
+ RefId: number;
6767
+ IsContainer: boolean;
6768
+ Children: ReactUnity.IReactComponent[];
6769
+ BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
6770
+ AfterRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
6771
+ BeforePseudo: ReactUnity.IReactComponent;
6772
+ AfterPseudo: ReactUnity.IReactComponent;
6773
+ ScrollLeft: number;
6774
+ ScrollTop: number;
6775
+ ScrollWidth: number;
6776
+ ScrollHeight: number;
6777
+ SetProperty(propertyName: string, value: any): void;
6778
+ AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
6779
+ UpdateBackgroundGraphic(updateLayout: boolean, updateStyle: boolean): ReactUnity.UGUI.Internal.BorderAndBackground;
6780
+ GetRelativePosition(x: number, y: number): UnityEngine.Vector2;
6781
+ GetBoundingClientRect(): UnityEngine.Rect;
6782
+ GetComponent(type: System.Type): any;
6783
+ AddComponent(type: System.Type): any;
6784
+ UpdateOrder(prev: number, current: number): boolean;
6785
+ Update(): void;
6786
+ MarkForStyleResolving(recursive: boolean): void;
6787
+ Remove(): void;
6788
+ Destroy(recursive?: boolean): void;
6789
+ SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
6790
+ SetEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): void;
6791
+ FireEvent(eventName: string, arg: any): void;
6792
+ SetData(propertyName: string, value: any): void;
6793
+ ResolveStyle(recursive?: boolean): void;
6794
+ MarkStyleUpdateWithSiblings(recursive: boolean): void;
6795
+ ApplyStyles(): void;
6796
+ ApplyLayoutStyles(): void;
6797
+ Matches(query: string): boolean;
6798
+ Closest(query: string): ReactUnity.IReactComponent;
6799
+ QuerySelector(query: string): ReactUnity.IReactComponent;
6800
+ QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
6801
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
6802
+ AddBefore(): void;
6803
+ RemoveBefore(): void;
6804
+ AddAfter(): void;
6805
+ RemoveAfter(): void;
6806
+ RegisterChild(child: ReactUnity.IReactComponent, index?: number): void;
6807
+ UnregisterChild(child: ReactUnity.IReactComponent): void;
6808
+ Clear(): void;
6809
+ Equals(obj: any): boolean;
6810
+ GetHashCode(): number;
6811
+ GetType(): System.Type;
6812
+ ToString(): string;
6813
+ }
6814
+ class RenderComponent {
6815
+ constructor(context: ReactUnity.UGUI.UGUIContext);
6816
+ RenderTexture: UnityEngine.RenderTexture;
6817
+ Image: UnityEngine.UI.RawImage;
6818
+ Replaced: ReactUnity.UGUI.BaseImageComponent_ReplacedImageHelper;
6819
+ Source: any;
6820
+ GameObject: UnityEngine.GameObject;
6821
+ RectTransform: UnityEngine.RectTransform;
6822
+ Component: ReactUnity.UGUI.Behaviours.ReactElement;
6823
+ BorderAndBackground: ReactUnity.UGUI.Internal.BorderAndBackground;
6824
+ OverflowMask: ReactUnity.UGUI.Internal.MaskAndImage;
6825
+ Selectable: UnityEngine.UI.Selectable;
6826
+ CanvasGroup: UnityEngine.CanvasGroup;
6827
+ Canvas: UnityEngine.Canvas;
6828
+ Container: UnityEngine.RectTransform;
6829
+ Name: string;
6830
+ ClientWidth: number;
6831
+ ClientHeight: number;
6832
+ EventViewport: UnityEngine.RectTransform;
6833
+ ResolvedEventViewport: UnityEngine.RectTransform;
6109
6834
  Context: ReactUnity.UGUI.UGUIContext;
6110
6835
  Parent: ReactUnity.IContainerComponent;
6111
6836
  Data: ReactUnity.Helpers.WatchableObjectRecord;
@@ -6138,7 +6863,7 @@ export declare namespace ReactUnity {
6138
6863
  ScrollWidth: number;
6139
6864
  ScrollHeight: number;
6140
6865
  SetProperty(propertyName: string, value: any): void;
6141
- AddEventListener(eventName: string, callback: ReactUnity.Helpers.Callback): (() => void);
6866
+ AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
6142
6867
  UpdateBackgroundGraphic(updateLayout: boolean, updateStyle: boolean): ReactUnity.UGUI.Internal.BorderAndBackground;
6143
6868
  GetRelativePosition(x: number, y: number): UnityEngine.Vector2;
6144
6869
  GetBoundingClientRect(): UnityEngine.Rect;
@@ -6161,7 +6886,7 @@ export declare namespace ReactUnity {
6161
6886
  Closest(query: string): ReactUnity.IReactComponent;
6162
6887
  QuerySelector(query: string): ReactUnity.IReactComponent;
6163
6888
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
6164
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
6889
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
6165
6890
  AddBefore(): void;
6166
6891
  RemoveBefore(): void;
6167
6892
  AddAfter(): void;
@@ -6174,13 +6899,11 @@ export declare namespace ReactUnity {
6174
6899
  GetType(): System.Type;
6175
6900
  ToString(): string;
6176
6901
  }
6177
- class RawImageComponent {
6178
- constructor(context: ReactUnity.UGUI.UGUIContext, tag?: string);
6179
- Image: UnityEngine.UI.RawImage;
6180
- Graphic: UnityEngine.UI.MaskableGraphic;
6181
- Measurer: ReactUnity.UGUI.Behaviours.ImageMeasurer;
6182
- ImageContainer: UnityEngine.GameObject;
6183
- ReplacedElement: ReactUnity.UGUI.Behaviours.ReactReplacedElement;
6902
+ class ScrollbarComponent {
6903
+ constructor(context: ReactUnity.UGUI.UGUIContext);
6904
+ Horizontal: boolean;
6905
+ Scrollbar: UnityEngine.UI.Scrollbar;
6906
+ Thumb: ReactUnity.UGUI.ScrollbarThumbComponent;
6184
6907
  GameObject: UnityEngine.GameObject;
6185
6908
  RectTransform: UnityEngine.RectTransform;
6186
6909
  Component: ReactUnity.UGUI.Behaviours.ReactElement;
@@ -6193,6 +6916,8 @@ export declare namespace ReactUnity {
6193
6916
  Name: string;
6194
6917
  ClientWidth: number;
6195
6918
  ClientHeight: number;
6919
+ EventViewport: UnityEngine.RectTransform;
6920
+ ResolvedEventViewport: UnityEngine.RectTransform;
6196
6921
  Context: ReactUnity.UGUI.UGUIContext;
6197
6922
  Parent: ReactUnity.IContainerComponent;
6198
6923
  Data: ReactUnity.Helpers.WatchableObjectRecord;
@@ -6225,6 +6950,7 @@ export declare namespace ReactUnity {
6225
6950
  ScrollWidth: number;
6226
6951
  ScrollHeight: number;
6227
6952
  SetProperty(propertyName: string, value: any): void;
6953
+ SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
6228
6954
  AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
6229
6955
  UpdateBackgroundGraphic(updateLayout: boolean, updateStyle: boolean): ReactUnity.UGUI.Internal.BorderAndBackground;
6230
6956
  GetRelativePosition(x: number, y: number): UnityEngine.Vector2;
@@ -6236,7 +6962,6 @@ export declare namespace ReactUnity {
6236
6962
  MarkForStyleResolving(recursive: boolean): void;
6237
6963
  Remove(): void;
6238
6964
  Destroy(recursive?: boolean): void;
6239
- SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
6240
6965
  SetEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): void;
6241
6966
  FireEvent(eventName: string, arg: any): void;
6242
6967
  SetData(propertyName: string, value: any): void;
@@ -6248,7 +6973,7 @@ export declare namespace ReactUnity {
6248
6973
  Closest(query: string): ReactUnity.IReactComponent;
6249
6974
  QuerySelector(query: string): ReactUnity.IReactComponent;
6250
6975
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
6251
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
6976
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
6252
6977
  AddBefore(): void;
6253
6978
  RemoveBefore(): void;
6254
6979
  AddAfter(): void;
@@ -6261,14 +6986,8 @@ export declare namespace ReactUnity {
6261
6986
  GetType(): System.Type;
6262
6987
  ToString(): string;
6263
6988
  }
6264
- class RenderComponent {
6989
+ class ScrollbarThumbComponent {
6265
6990
  constructor(context: ReactUnity.UGUI.UGUIContext);
6266
- RenderTexture: UnityEngine.RenderTexture;
6267
- Image: UnityEngine.UI.RawImage;
6268
- Graphic: UnityEngine.UI.MaskableGraphic;
6269
- Measurer: ReactUnity.UGUI.Behaviours.ImageMeasurer;
6270
- ImageContainer: UnityEngine.GameObject;
6271
- ReplacedElement: ReactUnity.UGUI.Behaviours.ReactReplacedElement;
6272
6991
  GameObject: UnityEngine.GameObject;
6273
6992
  RectTransform: UnityEngine.RectTransform;
6274
6993
  Component: ReactUnity.UGUI.Behaviours.ReactElement;
@@ -6281,6 +7000,8 @@ export declare namespace ReactUnity {
6281
7000
  Name: string;
6282
7001
  ClientWidth: number;
6283
7002
  ClientHeight: number;
7003
+ EventViewport: UnityEngine.RectTransform;
7004
+ ResolvedEventViewport: UnityEngine.RectTransform;
6284
7005
  Context: ReactUnity.UGUI.UGUIContext;
6285
7006
  Parent: ReactUnity.IContainerComponent;
6286
7007
  Data: ReactUnity.Helpers.WatchableObjectRecord;
@@ -6312,8 +7033,9 @@ export declare namespace ReactUnity {
6312
7033
  ScrollTop: number;
6313
7034
  ScrollWidth: number;
6314
7035
  ScrollHeight: number;
6315
- SetProperty(propertyName: string, value: any): void;
7036
+ SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
6316
7037
  AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
7038
+ SetProperty(propertyName: string, value: any): void;
6317
7039
  UpdateBackgroundGraphic(updateLayout: boolean, updateStyle: boolean): ReactUnity.UGUI.Internal.BorderAndBackground;
6318
7040
  GetRelativePosition(x: number, y: number): UnityEngine.Vector2;
6319
7041
  GetBoundingClientRect(): UnityEngine.Rect;
@@ -6324,7 +7046,6 @@ export declare namespace ReactUnity {
6324
7046
  MarkForStyleResolving(recursive: boolean): void;
6325
7047
  Remove(): void;
6326
7048
  Destroy(recursive?: boolean): void;
6327
- SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
6328
7049
  SetEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): void;
6329
7050
  FireEvent(eventName: string, arg: any): void;
6330
7051
  SetData(propertyName: string, value: any): void;
@@ -6336,7 +7057,7 @@ export declare namespace ReactUnity {
6336
7057
  Closest(query: string): ReactUnity.IReactComponent;
6337
7058
  QuerySelector(query: string): ReactUnity.IReactComponent;
6338
7059
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
6339
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
7060
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
6340
7061
  AddBefore(): void;
6341
7062
  RemoveBefore(): void;
6342
7063
  AddAfter(): void;
@@ -6349,11 +7070,16 @@ export declare namespace ReactUnity {
6349
7070
  GetType(): System.Type;
6350
7071
  ToString(): string;
6351
7072
  }
6352
- class ScrollbarComponent {
6353
- constructor(context: ReactUnity.UGUI.UGUIContext);
6354
- Horizontal: boolean;
6355
- Scrollbar: UnityEngine.UI.Scrollbar;
6356
- Thumb: ReactUnity.UGUI.ScrollbarThumbComponent;
7073
+ class ScrollComponent {
7074
+ constructor(ctx: ReactUnity.UGUI.UGUIContext);
7075
+ ScrollRect: ReactUnity.UGUI.Behaviours.SmoothScrollRect;
7076
+ ContentResizer: ReactUnity.UGUI.Behaviours.ScrollContentResizer;
7077
+ HorizontalScrollbar: ReactUnity.UGUI.ScrollbarComponent;
7078
+ VerticalScrollbar: ReactUnity.UGUI.ScrollbarComponent;
7079
+ ScrollWidth: number;
7080
+ ScrollHeight: number;
7081
+ ScrollLeft: number;
7082
+ ScrollTop: number;
6357
7083
  GameObject: UnityEngine.GameObject;
6358
7084
  RectTransform: UnityEngine.RectTransform;
6359
7085
  Component: ReactUnity.UGUI.Behaviours.ReactElement;
@@ -6366,6 +7092,8 @@ export declare namespace ReactUnity {
6366
7092
  Name: string;
6367
7093
  ClientWidth: number;
6368
7094
  ClientHeight: number;
7095
+ EventViewport: UnityEngine.RectTransform;
7096
+ ResolvedEventViewport: UnityEngine.RectTransform;
6369
7097
  Context: ReactUnity.UGUI.UGUIContext;
6370
7098
  Parent: ReactUnity.IContainerComponent;
6371
7099
  Data: ReactUnity.Helpers.WatchableObjectRecord;
@@ -6393,13 +7121,10 @@ export declare namespace ReactUnity {
6393
7121
  AfterRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
6394
7122
  BeforePseudo: ReactUnity.IReactComponent;
6395
7123
  AfterPseudo: ReactUnity.IReactComponent;
6396
- ScrollLeft: number;
6397
- ScrollTop: number;
6398
- ScrollWidth: number;
6399
- ScrollHeight: number;
6400
7124
  SetProperty(propertyName: string, value: any): void;
6401
- SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
6402
7125
  AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
7126
+ ScrollTo(left?: number, top?: number, smoothness?: number): void;
7127
+ ScrollBy(left?: number, top?: number, smoothness?: number): void;
6403
7128
  UpdateBackgroundGraphic(updateLayout: boolean, updateStyle: boolean): ReactUnity.UGUI.Internal.BorderAndBackground;
6404
7129
  GetRelativePosition(x: number, y: number): UnityEngine.Vector2;
6405
7130
  GetBoundingClientRect(): UnityEngine.Rect;
@@ -6410,6 +7135,7 @@ export declare namespace ReactUnity {
6410
7135
  MarkForStyleResolving(recursive: boolean): void;
6411
7136
  Remove(): void;
6412
7137
  Destroy(recursive?: boolean): void;
7138
+ SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
6413
7139
  SetEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): void;
6414
7140
  FireEvent(eventName: string, arg: any): void;
6415
7141
  SetData(propertyName: string, value: any): void;
@@ -6421,7 +7147,7 @@ export declare namespace ReactUnity {
6421
7147
  Closest(query: string): ReactUnity.IReactComponent;
6422
7148
  QuerySelector(query: string): ReactUnity.IReactComponent;
6423
7149
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
6424
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
7150
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
6425
7151
  AddBefore(): void;
6426
7152
  RemoveBefore(): void;
6427
7153
  AddAfter(): void;
@@ -6434,8 +7160,14 @@ export declare namespace ReactUnity {
6434
7160
  GetType(): System.Type;
6435
7161
  ToString(): string;
6436
7162
  }
6437
- class ScrollbarThumbComponent {
6438
- constructor(context: ReactUnity.UGUI.UGUIContext);
7163
+ class SvgComponent {
7164
+ constructor(context: ReactUnity.UGUI.UGUIContext, tag?: string);
7165
+ Content: string;
7166
+ InnerContent: string;
7167
+ ResolvedContent: string;
7168
+ Image: any;
7169
+ Replaced: ReactUnity.UGUI.BaseImageComponent_ReplacedImageHelper;
7170
+ Source: any;
6439
7171
  GameObject: UnityEngine.GameObject;
6440
7172
  RectTransform: UnityEngine.RectTransform;
6441
7173
  Component: ReactUnity.UGUI.Behaviours.ReactElement;
@@ -6448,6 +7180,8 @@ export declare namespace ReactUnity {
6448
7180
  Name: string;
6449
7181
  ClientWidth: number;
6450
7182
  ClientHeight: number;
7183
+ EventViewport: UnityEngine.RectTransform;
7184
+ ResolvedEventViewport: UnityEngine.RectTransform;
6451
7185
  Context: ReactUnity.UGUI.UGUIContext;
6452
7186
  Parent: ReactUnity.IContainerComponent;
6453
7187
  Data: ReactUnity.Helpers.WatchableObjectRecord;
@@ -6479,19 +7213,19 @@ export declare namespace ReactUnity {
6479
7213
  ScrollTop: number;
6480
7214
  ScrollWidth: number;
6481
7215
  ScrollHeight: number;
6482
- SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
6483
- AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
6484
7216
  SetProperty(propertyName: string, value: any): void;
7217
+ Update(): void;
7218
+ AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
6485
7219
  UpdateBackgroundGraphic(updateLayout: boolean, updateStyle: boolean): ReactUnity.UGUI.Internal.BorderAndBackground;
6486
7220
  GetRelativePosition(x: number, y: number): UnityEngine.Vector2;
6487
7221
  GetBoundingClientRect(): UnityEngine.Rect;
6488
7222
  GetComponent(type: System.Type): any;
6489
7223
  AddComponent(type: System.Type): any;
6490
7224
  UpdateOrder(prev: number, current: number): boolean;
6491
- Update(): void;
6492
7225
  MarkForStyleResolving(recursive: boolean): void;
6493
7226
  Remove(): void;
6494
7227
  Destroy(recursive?: boolean): void;
7228
+ SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
6495
7229
  SetEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): void;
6496
7230
  FireEvent(eventName: string, arg: any): void;
6497
7231
  SetData(propertyName: string, value: any): void;
@@ -6503,7 +7237,7 @@ export declare namespace ReactUnity {
6503
7237
  Closest(query: string): ReactUnity.IReactComponent;
6504
7238
  QuerySelector(query: string): ReactUnity.IReactComponent;
6505
7239
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
6506
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
7240
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
6507
7241
  AddBefore(): void;
6508
7242
  RemoveBefore(): void;
6509
7243
  AddAfter(): void;
@@ -6516,16 +7250,11 @@ export declare namespace ReactUnity {
6516
7250
  GetType(): System.Type;
6517
7251
  ToString(): string;
6518
7252
  }
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;
7253
+ class SvgImageComponent {
7254
+ constructor(context: ReactUnity.UGUI.UGUIContext, tag?: string);
7255
+ Image: any;
7256
+ Replaced: ReactUnity.UGUI.BaseImageComponent_ReplacedImageHelper;
7257
+ Source: any;
6529
7258
  GameObject: UnityEngine.GameObject;
6530
7259
  RectTransform: UnityEngine.RectTransform;
6531
7260
  Component: ReactUnity.UGUI.Behaviours.ReactElement;
@@ -6538,6 +7267,8 @@ export declare namespace ReactUnity {
6538
7267
  Name: string;
6539
7268
  ClientWidth: number;
6540
7269
  ClientHeight: number;
7270
+ EventViewport: UnityEngine.RectTransform;
7271
+ ResolvedEventViewport: UnityEngine.RectTransform;
6541
7272
  Context: ReactUnity.UGUI.UGUIContext;
6542
7273
  Parent: ReactUnity.IContainerComponent;
6543
7274
  Data: ReactUnity.Helpers.WatchableObjectRecord;
@@ -6565,10 +7296,12 @@ export declare namespace ReactUnity {
6565
7296
  AfterRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
6566
7297
  BeforePseudo: ReactUnity.IReactComponent;
6567
7298
  AfterPseudo: ReactUnity.IReactComponent;
7299
+ ScrollLeft: number;
7300
+ ScrollTop: number;
7301
+ ScrollWidth: number;
7302
+ ScrollHeight: number;
6568
7303
  SetProperty(propertyName: string, value: any): void;
6569
7304
  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;
6572
7305
  UpdateBackgroundGraphic(updateLayout: boolean, updateStyle: boolean): ReactUnity.UGUI.Internal.BorderAndBackground;
6573
7306
  GetRelativePosition(x: number, y: number): UnityEngine.Vector2;
6574
7307
  GetBoundingClientRect(): UnityEngine.Rect;
@@ -6591,7 +7324,7 @@ export declare namespace ReactUnity {
6591
7324
  Closest(query: string): ReactUnity.IReactComponent;
6592
7325
  QuerySelector(query: string): ReactUnity.IReactComponent;
6593
7326
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
6594
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
7327
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
6595
7328
  AddBefore(): void;
6596
7329
  RemoveBefore(): void;
6597
7330
  AddAfter(): void;
@@ -6604,13 +7337,16 @@ export declare namespace ReactUnity {
6604
7337
  GetType(): System.Type;
6605
7338
  ToString(): string;
6606
7339
  }
6607
- class SvgComponent {
6608
- constructor(context: ReactUnity.UGUI.UGUIContext, tag?: string);
6609
- Image: any;
6610
- Graphic: UnityEngine.UI.MaskableGraphic;
6611
- Measurer: ReactUnity.UGUI.Behaviours.ImageMeasurer;
6612
- ImageContainer: UnityEngine.GameObject;
6613
- ReplacedElement: ReactUnity.UGUI.Behaviours.ReactReplacedElement;
7340
+ class TextComponent {
7341
+ constructor(text: string, context: ReactUnity.UGUI.UGUIContext, tag: string);
7342
+ constructor(linkedTo: ReactUnity.UGUI.TextComponent);
7343
+ Text: any;
7344
+ Width: number;
7345
+ Height: number;
7346
+ Measurer: ReactUnity.UGUI.Behaviours.TextMeasurer;
7347
+ LinkedTextWatcher: ReactUnity.UGUI.Behaviours.LinkedTextWatcher;
7348
+ Content: string;
7349
+ Font: ReactUnity.Types.FontReference;
6614
7350
  GameObject: UnityEngine.GameObject;
6615
7351
  RectTransform: UnityEngine.RectTransform;
6616
7352
  Component: ReactUnity.UGUI.Behaviours.ReactElement;
@@ -6623,6 +7359,8 @@ export declare namespace ReactUnity {
6623
7359
  Name: string;
6624
7360
  ClientWidth: number;
6625
7361
  ClientHeight: number;
7362
+ EventViewport: UnityEngine.RectTransform;
7363
+ ResolvedEventViewport: UnityEngine.RectTransform;
6626
7364
  Context: ReactUnity.UGUI.UGUIContext;
6627
7365
  Parent: ReactUnity.IContainerComponent;
6628
7366
  Data: ReactUnity.Helpers.WatchableObjectRecord;
@@ -6654,7 +7392,9 @@ export declare namespace ReactUnity {
6654
7392
  ScrollTop: number;
6655
7393
  ScrollWidth: number;
6656
7394
  ScrollHeight: number;
6657
- SetProperty(propertyName: string, value: any): void;
7395
+ SetText(text: string): void;
7396
+ SetProperty(property: string, value: any): void;
7397
+ GetLinkInfo(eventData: UnityEngine.EventSystems.PointerEventData): string;
6658
7398
  AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
6659
7399
  UpdateBackgroundGraphic(updateLayout: boolean, updateStyle: boolean): ReactUnity.UGUI.Internal.BorderAndBackground;
6660
7400
  GetRelativePosition(x: number, y: number): UnityEngine.Vector2;
@@ -6678,7 +7418,7 @@ export declare namespace ReactUnity {
6678
7418
  Closest(query: string): ReactUnity.IReactComponent;
6679
7419
  QuerySelector(query: string): ReactUnity.IReactComponent;
6680
7420
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
6681
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
7421
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
6682
7422
  AddBefore(): void;
6683
7423
  RemoveBefore(): void;
6684
7424
  AddAfter(): void;
@@ -6691,9 +7431,8 @@ export declare namespace ReactUnity {
6691
7431
  GetType(): System.Type;
6692
7432
  ToString(): string;
6693
7433
  }
6694
- class TextComponent {
7434
+ class RichTextComponent {
6695
7435
  constructor(text: string, context: ReactUnity.UGUI.UGUIContext, tag: string);
6696
- constructor(linkedTo: ReactUnity.UGUI.TextComponent);
6697
7436
  Text: any;
6698
7437
  Width: number;
6699
7438
  Height: number;
@@ -6713,6 +7452,8 @@ export declare namespace ReactUnity {
6713
7452
  Name: string;
6714
7453
  ClientWidth: number;
6715
7454
  ClientHeight: number;
7455
+ EventViewport: UnityEngine.RectTransform;
7456
+ ResolvedEventViewport: UnityEngine.RectTransform;
6716
7457
  Context: ReactUnity.UGUI.UGUIContext;
6717
7458
  Parent: ReactUnity.IContainerComponent;
6718
7459
  Data: ReactUnity.Helpers.WatchableObjectRecord;
@@ -6746,6 +7487,7 @@ export declare namespace ReactUnity {
6746
7487
  ScrollHeight: number;
6747
7488
  SetText(text: string): void;
6748
7489
  SetProperty(property: string, value: any): void;
7490
+ GetLinkInfo(eventData: UnityEngine.EventSystems.PointerEventData): string;
6749
7491
  AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
6750
7492
  UpdateBackgroundGraphic(updateLayout: boolean, updateStyle: boolean): ReactUnity.UGUI.Internal.BorderAndBackground;
6751
7493
  GetRelativePosition(x: number, y: number): UnityEngine.Vector2;
@@ -6769,7 +7511,7 @@ export declare namespace ReactUnity {
6769
7511
  Closest(query: string): ReactUnity.IReactComponent;
6770
7512
  QuerySelector(query: string): ReactUnity.IReactComponent;
6771
7513
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
6772
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
7514
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
6773
7515
  AddBefore(): void;
6774
7516
  RemoveBefore(): void;
6775
7517
  AddAfter(): void;
@@ -6801,6 +7543,8 @@ export declare namespace ReactUnity {
6801
7543
  Name: string;
6802
7544
  ClientWidth: number;
6803
7545
  ClientHeight: number;
7546
+ EventViewport: UnityEngine.RectTransform;
7547
+ ResolvedEventViewport: UnityEngine.RectTransform;
6804
7548
  Context: ReactUnity.UGUI.UGUIContext;
6805
7549
  Parent: ReactUnity.IContainerComponent;
6806
7550
  Data: ReactUnity.Helpers.WatchableObjectRecord;
@@ -6858,7 +7602,7 @@ export declare namespace ReactUnity {
6858
7602
  Closest(query: string): ReactUnity.IReactComponent;
6859
7603
  QuerySelector(query: string): ReactUnity.IReactComponent;
6860
7604
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
6861
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
7605
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
6862
7606
  AddBefore(): void;
6863
7607
  RemoveBefore(): void;
6864
7608
  AddAfter(): void;
@@ -6884,6 +7628,8 @@ export declare namespace ReactUnity {
6884
7628
  Name: string;
6885
7629
  ClientWidth: number;
6886
7630
  ClientHeight: number;
7631
+ EventViewport: UnityEngine.RectTransform;
7632
+ ResolvedEventViewport: UnityEngine.RectTransform;
6887
7633
  Context: ReactUnity.UGUI.UGUIContext;
6888
7634
  Parent: ReactUnity.IContainerComponent;
6889
7635
  Data: ReactUnity.Helpers.WatchableObjectRecord;
@@ -6939,7 +7685,7 @@ export declare namespace ReactUnity {
6939
7685
  Closest(query: string): ReactUnity.IReactComponent;
6940
7686
  QuerySelector(query: string): ReactUnity.IReactComponent;
6941
7687
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
6942
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
7688
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
6943
7689
  AddBefore(): void;
6944
7690
  RemoveBefore(): void;
6945
7691
  AddAfter(): void;
@@ -6956,10 +7702,8 @@ export declare namespace ReactUnity {
6956
7702
  constructor(context: ReactUnity.UGUI.UGUIContext);
6957
7703
  RenderTexture: UnityEngine.RenderTexture;
6958
7704
  Image: UnityEngine.UI.RawImage;
6959
- Graphic: UnityEngine.UI.MaskableGraphic;
6960
- Measurer: ReactUnity.UGUI.Behaviours.ImageMeasurer;
6961
- ImageContainer: UnityEngine.GameObject;
6962
- ReplacedElement: ReactUnity.UGUI.Behaviours.ReactReplacedElement;
7705
+ Replaced: ReactUnity.UGUI.BaseImageComponent_ReplacedImageHelper;
7706
+ Source: any;
6963
7707
  GameObject: UnityEngine.GameObject;
6964
7708
  RectTransform: UnityEngine.RectTransform;
6965
7709
  Component: ReactUnity.UGUI.Behaviours.ReactElement;
@@ -6972,6 +7716,8 @@ export declare namespace ReactUnity {
6972
7716
  Name: string;
6973
7717
  ClientWidth: number;
6974
7718
  ClientHeight: number;
7719
+ EventViewport: UnityEngine.RectTransform;
7720
+ ResolvedEventViewport: UnityEngine.RectTransform;
6975
7721
  Context: ReactUnity.UGUI.UGUIContext;
6976
7722
  Parent: ReactUnity.IContainerComponent;
6977
7723
  Data: ReactUnity.Helpers.WatchableObjectRecord;
@@ -7028,7 +7774,7 @@ export declare namespace ReactUnity {
7028
7774
  Closest(query: string): ReactUnity.IReactComponent;
7029
7775
  QuerySelector(query: string): ReactUnity.IReactComponent;
7030
7776
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
7031
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
7777
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
7032
7778
  AddBefore(): void;
7033
7779
  RemoveBefore(): void;
7034
7780
  AddAfter(): void;
@@ -7091,7 +7837,7 @@ export declare namespace ReactUnity {
7091
7837
  AutoRender: boolean;
7092
7838
  BeforeStart: UnityEngine.Events.UnityEvent;
7093
7839
  AfterStart: UnityEngine.Events.UnityEvent;
7094
- Render(): void;
7840
+ Render(): ReactUnity.ReactUnityBase_WaitForRenderToComplete;
7095
7841
  IsInvoking(): boolean;
7096
7842
  CancelInvoke(): void;
7097
7843
  Invoke(methodName: string, time: number): void;
@@ -7157,11 +7903,13 @@ export declare namespace ReactUnity {
7157
7903
  DefaultIconSet: ReactUnity.Styling.IconSet;
7158
7904
  IconSets: Record<string, ReactUnity.Styling.IconSet>;
7159
7905
  CursorSet: ReactUnity.Styling.CursorSet;
7906
+ RootCanvas: UnityEngine.Canvas;
7160
7907
  CalculatesLayout: boolean;
7161
7908
  Host: ReactUnity.IHostComponent;
7162
7909
  DetachedRoots: System.Collections.Generic.HashSet<ReactUnity.IReactComponent>;
7163
7910
  Globals: ReactUnity.Helpers.GlobalRecord;
7164
7911
  IsDisposed: boolean;
7912
+ IsEditorContext: boolean;
7165
7913
  options: ReactUnity.ReactContext_Options;
7166
7914
  Source: ReactUnity.ScriptSource;
7167
7915
  Timer: ReactUnity.Scheduling.ITimer;
@@ -7176,30 +7924,43 @@ export declare namespace ReactUnity {
7176
7924
  Html: ReactUnity.Html.HtmlContext;
7177
7925
  CursorAPI: ReactUnity.Helpers.CursorAPI;
7178
7926
  Disposables: (() => void)[];
7179
- static defaultCreator: ((arg0: string, arg1: string, arg2: ReactUnity.UGUI.UGUIContext) => ReactUnity.UGUI.UGUIComponent);
7180
- static textCreator: ((arg0: string, arg1: ReactUnity.UGUI.UGUIContext) => ReactUnity.ITextComponent);
7927
+ static defaultCreator: ((arg1: string, arg2: string, arg3: ReactUnity.UGUI.UGUIContext) => ReactUnity.UGUI.UGUIComponent);
7928
+ static textCreator: ((arg1: string, arg2: ReactUnity.UGUI.UGUIContext) => ReactUnity.ITextComponent);
7181
7929
  CreateDefaultComponent(tag: string, text: string): ReactUnity.IReactComponent;
7182
7930
  CreateComponent(tag: string, text: string): ReactUnity.IReactComponent;
7183
7931
  CreateText(text: string): ReactUnity.ITextComponent;
7184
7932
  CreatePseudoComponent(tag: string): ReactUnity.IReactComponent;
7185
7933
  PlayAudio(clip: UnityEngine.AudioClip): void;
7934
+ UpdateElementsRecursively(): void;
7186
7935
  InsertStyle(style: string): ReactUnity.Styling.StyleSheet;
7187
7936
  InsertStyle(style: string, importanceOffset: number): ReactUnity.Styling.StyleSheet;
7188
7937
  InsertStyle(sheet: ReactUnity.Styling.StyleSheet): ReactUnity.Styling.StyleSheet;
7189
7938
  RemoveStyle(sheet: ReactUnity.Styling.StyleSheet): void;
7190
7939
  ResolvePath(path: string): string;
7191
7940
  CreateStaticScript(path: string): ReactUnity.ScriptSource;
7192
- Start(): void;
7941
+ Start(afterStart?: (() => void)): void;
7193
7942
  Dispose(): void;
7943
+ BindCommands(commandsObject: any, callbacksObject: any, getObjectCallback: any, getEventAsObjectCallback: any): void;
7194
7944
  SetRef(refId: number, cmp: ReactUnity.IReactComponent): void;
7195
7945
  GetRef(refId: number, ensureUpdate?: boolean): ReactUnity.IReactComponent;
7196
- BindCommands(commandsObject: any, callbacksObject: any, getObjectCallback: any, getEventAsObjectCallback: any): void;
7197
7946
  FlushCommands(serializedCommands?: string): void;
7198
7947
  Equals(obj: any): boolean;
7199
7948
  GetHashCode(): number;
7200
7949
  GetType(): System.Type;
7201
7950
  ToString(): string;
7202
7951
  }
7952
+ class BaseImageComponent_ReplacedImageHelper {
7953
+ constructor(parent: ReactUnity.UGUI.BaseImageComponent);
7954
+ GameObject: UnityEngine.GameObject;
7955
+ RectTransform: UnityEngine.RectTransform;
7956
+ Measurer: ReactUnity.UGUI.Behaviours.ImageMeasurer;
7957
+ ReplacedElement: ReactUnity.UGUI.Behaviours.ReactReplacedElement;
7958
+ Graphic: UnityEngine.UI.MaskableGraphic;
7959
+ Equals(obj: any): boolean;
7960
+ GetHashCode(): number;
7961
+ GetType(): System.Type;
7962
+ ToString(): string;
7963
+ }
7203
7964
  class UGUIContext_Options {
7204
7965
  constructor();
7205
7966
  CalculatesLayout: boolean;
@@ -7223,6 +7984,87 @@ export declare namespace ReactUnity {
7223
7984
  ToString(): string;
7224
7985
  }
7225
7986
  namespace Behaviours {
7987
+ class CustomViewportRaycaster {
7988
+ constructor();
7989
+ eventCamera: UnityEngine.Camera;
7990
+ sortOrderPriority: number;
7991
+ renderOrderPriority: number;
7992
+ ignoreReversedGraphics: boolean;
7993
+ blockingObjects: UnityEngine.UI.GraphicRaycaster_BlockingObjects;
7994
+ blockingMask: UnityEngine.LayerMask;
7995
+ priority: number;
7996
+ rootRaycaster: UnityEngine.EventSystems.BaseRaycaster;
7997
+ useGUILayout: boolean;
7998
+ runInEditMode: boolean;
7999
+ enabled: boolean;
8000
+ isActiveAndEnabled: boolean;
8001
+ transform: UnityEngine.Transform;
8002
+ gameObject: UnityEngine.GameObject;
8003
+ tag: string;
8004
+ rigidbody: UnityEngine.Component;
8005
+ rigidbody2D: UnityEngine.Component;
8006
+ camera: UnityEngine.Component;
8007
+ light: UnityEngine.Component;
8008
+ animation: UnityEngine.Component;
8009
+ constantForce: UnityEngine.Component;
8010
+ renderer: UnityEngine.Component;
8011
+ audio: UnityEngine.Component;
8012
+ networkView: UnityEngine.Component;
8013
+ collider: UnityEngine.Component;
8014
+ collider2D: UnityEngine.Component;
8015
+ hingeJoint: UnityEngine.Component;
8016
+ particleSystem: UnityEngine.Component;
8017
+ name: string;
8018
+ hideFlags: UnityEngine.HideFlags;
8019
+ EventViewport: UnityEngine.RectTransform;
8020
+ Raycast(eventData: UnityEngine.EventSystems.PointerEventData, resultAppendList: UnityEngine.EventSystems.RaycastResult[]): void;
8021
+ ToString(): string;
8022
+ IsActive(): boolean;
8023
+ IsDestroyed(): boolean;
8024
+ IsInvoking(): boolean;
8025
+ CancelInvoke(): void;
8026
+ Invoke(methodName: string, time: number): void;
8027
+ InvokeRepeating(methodName: string, time: number, repeatRate: number): void;
8028
+ CancelInvoke(methodName: string): void;
8029
+ IsInvoking(methodName: string): boolean;
8030
+ StartCoroutine(methodName: string): UnityEngine.Coroutine;
8031
+ StartCoroutine(methodName: string, value: any): UnityEngine.Coroutine;
8032
+ StartCoroutine(routine: System.Collections.IEnumerator): UnityEngine.Coroutine;
8033
+ StartCoroutine_Auto(routine: System.Collections.IEnumerator): UnityEngine.Coroutine;
8034
+ StopCoroutine(routine: System.Collections.IEnumerator): void;
8035
+ StopCoroutine(routine: UnityEngine.Coroutine): void;
8036
+ StopCoroutine(methodName: string): void;
8037
+ StopAllCoroutines(): void;
8038
+ GetComponent(type: System.Type): UnityEngine.Component;
8039
+ GetComponent(type: string): UnityEngine.Component;
8040
+ GetComponentInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component;
8041
+ GetComponentInChildren(t: System.Type): UnityEngine.Component;
8042
+ GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8043
+ GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
8044
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
8045
+ GetComponentInParent(t: System.Type): UnityEngine.Component;
8046
+ GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
8047
+ GetComponentsInParent(t: System.Type): UnityEngine.Component[];
8048
+ GetComponents(type: System.Type): UnityEngine.Component[];
8049
+ GetComponents(type: System.Type, results: UnityEngine.Component[]): void;
8050
+ CompareTag(tag: string): boolean;
8051
+ SendMessageUpwards(methodName: string, value: any, options: UnityEngine.SendMessageOptions): void;
8052
+ SendMessageUpwards(methodName: string, value: any): void;
8053
+ SendMessageUpwards(methodName: string): void;
8054
+ SendMessageUpwards(methodName: string, options: UnityEngine.SendMessageOptions): void;
8055
+ SendMessage(methodName: string, value: any): void;
8056
+ SendMessage(methodName: string): void;
8057
+ SendMessage(methodName: string, value: any, options: UnityEngine.SendMessageOptions): void;
8058
+ SendMessage(methodName: string, options: UnityEngine.SendMessageOptions): void;
8059
+ BroadcastMessage(methodName: string, parameter: any, options: UnityEngine.SendMessageOptions): void;
8060
+ BroadcastMessage(methodName: string, parameter: any): void;
8061
+ BroadcastMessage(methodName: string): void;
8062
+ BroadcastMessage(methodName: string, options: UnityEngine.SendMessageOptions): void;
8063
+ GetInstanceID(): number;
8064
+ GetHashCode(): number;
8065
+ Equals(other: any): boolean;
8066
+ GetType(): System.Type;
8067
+ }
7226
8068
  class ImageMeasurer {
7227
8069
  constructor();
7228
8070
  FitMode: ReactUnity.Types.ObjectFit;
@@ -7253,7 +8095,7 @@ export declare namespace ReactUnity {
7253
8095
  Layout: Facebook.Yoga.YogaNode;
7254
8096
  Context: ReactUnity.UGUI.UGUIContext;
7255
8097
  MarkDirty(): void;
7256
- Measure(node: Facebook.Yoga.YogaNode, width: number, widthMode: Facebook.Yoga.YogaMeasureMode, height: number, heightMode: Facebook.Yoga.YogaMeasureMode): Facebook.Yoga.YogaSize;
8098
+ Measure(node: Facebook.Yoga.YogaNode, width: number, wm: Facebook.Yoga.YogaMeasureMode, height: number, hm: Facebook.Yoga.YogaMeasureMode): Facebook.Yoga.YogaSize;
7257
8099
  IsInvoking(): boolean;
7258
8100
  CancelInvoke(): void;
7259
8101
  Invoke(methodName: string, time: number): void;
@@ -7533,6 +8375,7 @@ export declare namespace ReactUnity {
7533
8375
  class ReactReplacedElement {
7534
8376
  constructor();
7535
8377
  Layout: Facebook.Yoga.YogaNode;
8378
+ Measurer: ReactUnity.UGUI.Behaviours.ImageMeasurer;
7536
8379
  Position: ReactUnity.Types.YogaValue2;
7537
8380
  useGUILayout: boolean;
7538
8381
  runInEditMode: boolean;
@@ -8017,8 +8860,8 @@ export declare namespace ReactUnity {
8017
8860
  }
8018
8861
  class PrefabTarget_PrefabEvent {
8019
8862
  constructor();
8020
- AddListener(call: UnityEngine.Events.UnityAction<ReactUnity.UGUI.PrefabComponent, ReactUnity.UGUI.Behaviours.PrefabTarget>): void;
8021
- RemoveListener(call: UnityEngine.Events.UnityAction<ReactUnity.UGUI.PrefabComponent, ReactUnity.UGUI.Behaviours.PrefabTarget>): void;
8863
+ AddListener(call: ((arg0: ReactUnity.UGUI.PrefabComponent, arg1: ReactUnity.UGUI.Behaviours.PrefabTarget) => void)): void;
8864
+ RemoveListener(call: ((arg0: ReactUnity.UGUI.PrefabComponent, arg1: ReactUnity.UGUI.Behaviours.PrefabTarget) => void)): void;
8022
8865
  Invoke(arg0: ReactUnity.UGUI.PrefabComponent, arg1: ReactUnity.UGUI.Behaviours.PrefabTarget): void;
8023
8866
  GetPersistentEventCount(): number;
8024
8867
  GetPersistentTarget(index: number): UnityEngine.Object;
@@ -8545,10 +9388,81 @@ export declare namespace ReactUnity {
8545
9388
  Use(): void;
8546
9389
  Equals(obj: any): boolean;
8547
9390
  GetHashCode(): number;
8548
- GetType(): System.Type;
9391
+ GetType(): System.Type;
9392
+ ToString(): string;
9393
+ }
9394
+ class MoveHandler {
9395
+ constructor();
9396
+ useGUILayout: boolean;
9397
+ runInEditMode: boolean;
9398
+ enabled: boolean;
9399
+ isActiveAndEnabled: boolean;
9400
+ transform: UnityEngine.Transform;
9401
+ gameObject: UnityEngine.GameObject;
9402
+ tag: string;
9403
+ rigidbody: UnityEngine.Component;
9404
+ rigidbody2D: UnityEngine.Component;
9405
+ camera: UnityEngine.Component;
9406
+ light: UnityEngine.Component;
9407
+ animation: UnityEngine.Component;
9408
+ constantForce: UnityEngine.Component;
9409
+ renderer: UnityEngine.Component;
9410
+ audio: UnityEngine.Component;
9411
+ networkView: UnityEngine.Component;
9412
+ collider: UnityEngine.Component;
9413
+ collider2D: UnityEngine.Component;
9414
+ hingeJoint: UnityEngine.Component;
9415
+ particleSystem: UnityEngine.Component;
9416
+ name: string;
9417
+ hideFlags: UnityEngine.HideFlags;
9418
+ OnMove(eventData: UnityEngine.EventSystems.AxisEventData): void;
9419
+ ClearListeners(): void;
9420
+ IsInvoking(): boolean;
9421
+ CancelInvoke(): void;
9422
+ Invoke(methodName: string, time: number): void;
9423
+ InvokeRepeating(methodName: string, time: number, repeatRate: number): void;
9424
+ CancelInvoke(methodName: string): void;
9425
+ IsInvoking(methodName: string): boolean;
9426
+ StartCoroutine(methodName: string): UnityEngine.Coroutine;
9427
+ StartCoroutine(methodName: string, value: any): UnityEngine.Coroutine;
9428
+ StartCoroutine(routine: System.Collections.IEnumerator): UnityEngine.Coroutine;
9429
+ StartCoroutine_Auto(routine: System.Collections.IEnumerator): UnityEngine.Coroutine;
9430
+ StopCoroutine(routine: System.Collections.IEnumerator): void;
9431
+ StopCoroutine(routine: UnityEngine.Coroutine): void;
9432
+ StopCoroutine(methodName: string): void;
9433
+ StopAllCoroutines(): void;
9434
+ GetComponent(type: System.Type): UnityEngine.Component;
9435
+ GetComponent(type: string): UnityEngine.Component;
9436
+ GetComponentInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component;
9437
+ GetComponentInChildren(t: System.Type): UnityEngine.Component;
9438
+ GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9439
+ GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
9440
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
9441
+ GetComponentInParent(t: System.Type): UnityEngine.Component;
9442
+ GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
9443
+ GetComponentsInParent(t: System.Type): UnityEngine.Component[];
9444
+ GetComponents(type: System.Type): UnityEngine.Component[];
9445
+ GetComponents(type: System.Type, results: UnityEngine.Component[]): void;
9446
+ CompareTag(tag: string): boolean;
9447
+ SendMessageUpwards(methodName: string, value: any, options: UnityEngine.SendMessageOptions): void;
9448
+ SendMessageUpwards(methodName: string, value: any): void;
9449
+ SendMessageUpwards(methodName: string): void;
9450
+ SendMessageUpwards(methodName: string, options: UnityEngine.SendMessageOptions): void;
9451
+ SendMessage(methodName: string, value: any): void;
9452
+ SendMessage(methodName: string): void;
9453
+ SendMessage(methodName: string, value: any, options: UnityEngine.SendMessageOptions): void;
9454
+ SendMessage(methodName: string, options: UnityEngine.SendMessageOptions): void;
9455
+ BroadcastMessage(methodName: string, parameter: any, options: UnityEngine.SendMessageOptions): void;
9456
+ BroadcastMessage(methodName: string, parameter: any): void;
9457
+ BroadcastMessage(methodName: string): void;
9458
+ BroadcastMessage(methodName: string, options: UnityEngine.SendMessageOptions): void;
9459
+ GetInstanceID(): number;
9460
+ GetHashCode(): number;
9461
+ Equals(other: any): boolean;
8549
9462
  ToString(): string;
9463
+ GetType(): System.Type;
8550
9464
  }
8551
- class MoveHandler {
9465
+ class PointerClickHandler {
8552
9466
  constructor();
8553
9467
  useGUILayout: boolean;
8554
9468
  runInEditMode: boolean;
@@ -8572,7 +9486,7 @@ export declare namespace ReactUnity {
8572
9486
  particleSystem: UnityEngine.Component;
8573
9487
  name: string;
8574
9488
  hideFlags: UnityEngine.HideFlags;
8575
- OnMove(eventData: UnityEngine.EventSystems.AxisEventData): void;
9489
+ OnPointerClick(eventData: UnityEngine.EventSystems.PointerEventData): void;
8576
9490
  ClearListeners(): void;
8577
9491
  IsInvoking(): boolean;
8578
9492
  CancelInvoke(): void;
@@ -8619,7 +9533,7 @@ export declare namespace ReactUnity {
8619
9533
  ToString(): string;
8620
9534
  GetType(): System.Type;
8621
9535
  }
8622
- class PointerClickHandler {
9536
+ class PointerDownHandler {
8623
9537
  constructor();
8624
9538
  useGUILayout: boolean;
8625
9539
  runInEditMode: boolean;
@@ -8643,7 +9557,7 @@ export declare namespace ReactUnity {
8643
9557
  particleSystem: UnityEngine.Component;
8644
9558
  name: string;
8645
9559
  hideFlags: UnityEngine.HideFlags;
8646
- OnPointerClick(eventData: UnityEngine.EventSystems.PointerEventData): void;
9560
+ OnPointerDown(eventData: UnityEngine.EventSystems.PointerEventData): void;
8647
9561
  ClearListeners(): void;
8648
9562
  IsInvoking(): boolean;
8649
9563
  CancelInvoke(): void;
@@ -8690,7 +9604,7 @@ export declare namespace ReactUnity {
8690
9604
  ToString(): string;
8691
9605
  GetType(): System.Type;
8692
9606
  }
8693
- class PointerDownHandler {
9607
+ class PointerEnterHandler {
8694
9608
  constructor();
8695
9609
  useGUILayout: boolean;
8696
9610
  runInEditMode: boolean;
@@ -8714,7 +9628,7 @@ export declare namespace ReactUnity {
8714
9628
  particleSystem: UnityEngine.Component;
8715
9629
  name: string;
8716
9630
  hideFlags: UnityEngine.HideFlags;
8717
- OnPointerDown(eventData: UnityEngine.EventSystems.PointerEventData): void;
9631
+ OnPointerEnter(eventData: UnityEngine.EventSystems.PointerEventData): void;
8718
9632
  ClearListeners(): void;
8719
9633
  IsInvoking(): boolean;
8720
9634
  CancelInvoke(): void;
@@ -8761,7 +9675,7 @@ export declare namespace ReactUnity {
8761
9675
  ToString(): string;
8762
9676
  GetType(): System.Type;
8763
9677
  }
8764
- class PointerEnterHandler {
9678
+ class PointerExitHandler {
8765
9679
  constructor();
8766
9680
  useGUILayout: boolean;
8767
9681
  runInEditMode: boolean;
@@ -8785,7 +9699,7 @@ export declare namespace ReactUnity {
8785
9699
  particleSystem: UnityEngine.Component;
8786
9700
  name: string;
8787
9701
  hideFlags: UnityEngine.HideFlags;
8788
- OnPointerEnter(eventData: UnityEngine.EventSystems.PointerEventData): void;
9702
+ OnPointerExit(eventData: UnityEngine.EventSystems.PointerEventData): void;
8789
9703
  ClearListeners(): void;
8790
9704
  IsInvoking(): boolean;
8791
9705
  CancelInvoke(): void;
@@ -8832,7 +9746,7 @@ export declare namespace ReactUnity {
8832
9746
  ToString(): string;
8833
9747
  GetType(): System.Type;
8834
9748
  }
8835
- class PointerExitHandler {
9749
+ class PointerMoveHandler {
8836
9750
  constructor();
8837
9751
  useGUILayout: boolean;
8838
9752
  runInEditMode: boolean;
@@ -8856,6 +9770,7 @@ export declare namespace ReactUnity {
8856
9770
  particleSystem: UnityEngine.Component;
8857
9771
  name: string;
8858
9772
  hideFlags: UnityEngine.HideFlags;
9773
+ OnPointerEnter(eventData: UnityEngine.EventSystems.PointerEventData): void;
8859
9774
  OnPointerExit(eventData: UnityEngine.EventSystems.PointerEventData): void;
8860
9775
  ClearListeners(): void;
8861
9776
  IsInvoking(): boolean;
@@ -9483,6 +10398,7 @@ export declare namespace ReactUnity {
9483
10398
  SetLayoutDirty(): void;
9484
10399
  SetVerticesDirty(): void;
9485
10400
  SetMaterialDirty(): void;
10401
+ SetRaycastDirty(): void;
9486
10402
  OnCullingChanged(): void;
9487
10403
  Rebuild(update: UnityEngine.UI.CanvasUpdate): void;
9488
10404
  LayoutComplete(): void;
@@ -9494,12 +10410,12 @@ export declare namespace ReactUnity {
9494
10410
  CrossFadeColor(targetColor: UnityEngine.Color, duration: number, ignoreTimeScale: boolean, useAlpha: boolean): void;
9495
10411
  CrossFadeColor(targetColor: UnityEngine.Color, duration: number, ignoreTimeScale: boolean, useAlpha: boolean, useRGB: boolean): void;
9496
10412
  CrossFadeAlpha(alpha: number, duration: number, ignoreTimeScale: boolean): void;
9497
- RegisterDirtyLayoutCallback(action: UnityEngine.Events.UnityAction): void;
9498
- UnregisterDirtyLayoutCallback(action: UnityEngine.Events.UnityAction): void;
9499
- RegisterDirtyVerticesCallback(action: UnityEngine.Events.UnityAction): void;
9500
- UnregisterDirtyVerticesCallback(action: UnityEngine.Events.UnityAction): void;
9501
- RegisterDirtyMaterialCallback(action: UnityEngine.Events.UnityAction): void;
9502
- UnregisterDirtyMaterialCallback(action: UnityEngine.Events.UnityAction): void;
10413
+ RegisterDirtyLayoutCallback(action: (() => void)): void;
10414
+ UnregisterDirtyLayoutCallback(action: (() => void)): void;
10415
+ RegisterDirtyVerticesCallback(action: (() => void)): void;
10416
+ UnregisterDirtyVerticesCallback(action: (() => void)): void;
10417
+ RegisterDirtyMaterialCallback(action: (() => void)): void;
10418
+ UnregisterDirtyMaterialCallback(action: (() => void)): void;
9503
10419
  IsActive(): boolean;
9504
10420
  IsDestroyed(): boolean;
9505
10421
  IsInvoking(): boolean;
@@ -9634,6 +10550,7 @@ export declare namespace ReactUnity {
9634
10550
  SetLayoutDirty(): void;
9635
10551
  SetVerticesDirty(): void;
9636
10552
  SetMaterialDirty(): void;
10553
+ SetRaycastDirty(): void;
9637
10554
  OnCullingChanged(): void;
9638
10555
  Rebuild(update: UnityEngine.UI.CanvasUpdate): void;
9639
10556
  LayoutComplete(): void;
@@ -9645,12 +10562,12 @@ export declare namespace ReactUnity {
9645
10562
  CrossFadeColor(targetColor: UnityEngine.Color, duration: number, ignoreTimeScale: boolean, useAlpha: boolean): void;
9646
10563
  CrossFadeColor(targetColor: UnityEngine.Color, duration: number, ignoreTimeScale: boolean, useAlpha: boolean, useRGB: boolean): void;
9647
10564
  CrossFadeAlpha(alpha: number, duration: number, ignoreTimeScale: boolean): void;
9648
- RegisterDirtyLayoutCallback(action: UnityEngine.Events.UnityAction): void;
9649
- UnregisterDirtyLayoutCallback(action: UnityEngine.Events.UnityAction): void;
9650
- RegisterDirtyVerticesCallback(action: UnityEngine.Events.UnityAction): void;
9651
- UnregisterDirtyVerticesCallback(action: UnityEngine.Events.UnityAction): void;
9652
- RegisterDirtyMaterialCallback(action: UnityEngine.Events.UnityAction): void;
9653
- UnregisterDirtyMaterialCallback(action: UnityEngine.Events.UnityAction): void;
10565
+ RegisterDirtyLayoutCallback(action: (() => void)): void;
10566
+ UnregisterDirtyLayoutCallback(action: (() => void)): void;
10567
+ RegisterDirtyVerticesCallback(action: (() => void)): void;
10568
+ UnregisterDirtyVerticesCallback(action: (() => void)): void;
10569
+ RegisterDirtyMaterialCallback(action: (() => void)): void;
10570
+ UnregisterDirtyMaterialCallback(action: (() => void)): void;
9654
10571
  IsActive(): boolean;
9655
10572
  IsDestroyed(): boolean;
9656
10573
  IsInvoking(): boolean;
@@ -9737,7 +10654,7 @@ export declare namespace ReactUnity {
9737
10654
  BackgroundGraphics: ReactUnity.UGUI.Internal.BackgroundImage[];
9738
10655
  MaskGraphics: ReactUnity.UGUI.Internal.BackgroundImage[];
9739
10656
  MaskRoot: UnityEngine.RectTransform;
9740
- static Create(go: UnityEngine.GameObject, comp: ReactUnity.UGUI.UGUIComponent, setContainer: ((arg0: UnityEngine.RectTransform) => void)): ReactUnity.UGUI.Internal.BorderAndBackground;
10657
+ static Create(go: UnityEngine.GameObject, comp: ReactUnity.UGUI.UGUIComponent, setContainer: ((obj: UnityEngine.RectTransform) => void)): ReactUnity.UGUI.Internal.BorderAndBackground;
9741
10658
  UpdateStyle(style: ReactUnity.Styling.NodeStyle): void;
9742
10659
  UpdateLayout(layout: Facebook.Yoga.YogaNode): void;
9743
10660
  IsInvoking(): boolean;
@@ -9868,6 +10785,7 @@ export declare namespace ReactUnity {
9868
10785
  SetLayoutDirty(): void;
9869
10786
  SetVerticesDirty(): void;
9870
10787
  SetMaterialDirty(): void;
10788
+ SetRaycastDirty(): void;
9871
10789
  OnCullingChanged(): void;
9872
10790
  Rebuild(update: UnityEngine.UI.CanvasUpdate): void;
9873
10791
  LayoutComplete(): void;
@@ -9879,12 +10797,12 @@ export declare namespace ReactUnity {
9879
10797
  CrossFadeColor(targetColor: UnityEngine.Color, duration: number, ignoreTimeScale: boolean, useAlpha: boolean): void;
9880
10798
  CrossFadeColor(targetColor: UnityEngine.Color, duration: number, ignoreTimeScale: boolean, useAlpha: boolean, useRGB: boolean): void;
9881
10799
  CrossFadeAlpha(alpha: number, duration: number, ignoreTimeScale: boolean): void;
9882
- RegisterDirtyLayoutCallback(action: UnityEngine.Events.UnityAction): void;
9883
- UnregisterDirtyLayoutCallback(action: UnityEngine.Events.UnityAction): void;
9884
- RegisterDirtyVerticesCallback(action: UnityEngine.Events.UnityAction): void;
9885
- UnregisterDirtyVerticesCallback(action: UnityEngine.Events.UnityAction): void;
9886
- RegisterDirtyMaterialCallback(action: UnityEngine.Events.UnityAction): void;
9887
- UnregisterDirtyMaterialCallback(action: UnityEngine.Events.UnityAction): void;
10800
+ RegisterDirtyLayoutCallback(action: (() => void)): void;
10801
+ UnregisterDirtyLayoutCallback(action: (() => void)): void;
10802
+ RegisterDirtyVerticesCallback(action: (() => void)): void;
10803
+ UnregisterDirtyVerticesCallback(action: (() => void)): void;
10804
+ RegisterDirtyMaterialCallback(action: (() => void)): void;
10805
+ UnregisterDirtyMaterialCallback(action: (() => void)): void;
9888
10806
  IsActive(): boolean;
9889
10807
  IsDestroyed(): boolean;
9890
10808
  IsInvoking(): boolean;
@@ -10086,6 +11004,7 @@ export declare namespace ReactUnity {
10086
11004
  SetLayoutDirty(): void;
10087
11005
  SetVerticesDirty(): void;
10088
11006
  SetMaterialDirty(): void;
11007
+ SetRaycastDirty(): void;
10089
11008
  OnCullingChanged(): void;
10090
11009
  Rebuild(update: UnityEngine.UI.CanvasUpdate): void;
10091
11010
  LayoutComplete(): void;
@@ -10097,12 +11016,12 @@ export declare namespace ReactUnity {
10097
11016
  CrossFadeColor(targetColor: UnityEngine.Color, duration: number, ignoreTimeScale: boolean, useAlpha: boolean): void;
10098
11017
  CrossFadeColor(targetColor: UnityEngine.Color, duration: number, ignoreTimeScale: boolean, useAlpha: boolean, useRGB: boolean): void;
10099
11018
  CrossFadeAlpha(alpha: number, duration: number, ignoreTimeScale: boolean): void;
10100
- RegisterDirtyLayoutCallback(action: UnityEngine.Events.UnityAction): void;
10101
- UnregisterDirtyLayoutCallback(action: UnityEngine.Events.UnityAction): void;
10102
- RegisterDirtyVerticesCallback(action: UnityEngine.Events.UnityAction): void;
10103
- UnregisterDirtyVerticesCallback(action: UnityEngine.Events.UnityAction): void;
10104
- RegisterDirtyMaterialCallback(action: UnityEngine.Events.UnityAction): void;
10105
- UnregisterDirtyMaterialCallback(action: UnityEngine.Events.UnityAction): void;
11019
+ RegisterDirtyLayoutCallback(action: (() => void)): void;
11020
+ UnregisterDirtyLayoutCallback(action: (() => void)): void;
11021
+ RegisterDirtyVerticesCallback(action: (() => void)): void;
11022
+ UnregisterDirtyVerticesCallback(action: (() => void)): void;
11023
+ RegisterDirtyMaterialCallback(action: (() => void)): void;
11024
+ UnregisterDirtyMaterialCallback(action: (() => void)): void;
10106
11025
  IsActive(): boolean;
10107
11026
  IsDestroyed(): boolean;
10108
11027
  IsInvoking(): boolean;
@@ -10226,7 +11145,8 @@ export declare namespace ReactUnity {
10226
11145
  }
10227
11146
  class CursorHandler {
10228
11147
  constructor();
10229
- Cursor: ReactUnity.Types.CursorList;
11148
+ Cursor: ReactUnity.Types.ICssValueList<ReactUnity.Types.Cursor>;
11149
+ CursorShown: boolean;
10230
11150
  useGUILayout: boolean;
10231
11151
  runInEditMode: boolean;
10232
11152
  enabled: boolean;
@@ -10584,6 +11504,78 @@ export declare namespace ReactUnity {
10584
11504
  ToString(): string;
10585
11505
  GetType(): System.Type;
10586
11506
  }
11507
+ class LinkHoverStateHandler {
11508
+ constructor();
11509
+ useGUILayout: boolean;
11510
+ runInEditMode: boolean;
11511
+ enabled: boolean;
11512
+ isActiveAndEnabled: boolean;
11513
+ transform: UnityEngine.Transform;
11514
+ gameObject: UnityEngine.GameObject;
11515
+ tag: string;
11516
+ rigidbody: UnityEngine.Component;
11517
+ rigidbody2D: UnityEngine.Component;
11518
+ camera: UnityEngine.Component;
11519
+ light: UnityEngine.Component;
11520
+ animation: UnityEngine.Component;
11521
+ constantForce: UnityEngine.Component;
11522
+ renderer: UnityEngine.Component;
11523
+ audio: UnityEngine.Component;
11524
+ networkView: UnityEngine.Component;
11525
+ collider: UnityEngine.Component;
11526
+ collider2D: UnityEngine.Component;
11527
+ hingeJoint: UnityEngine.Component;
11528
+ particleSystem: UnityEngine.Component;
11529
+ name: string;
11530
+ hideFlags: UnityEngine.HideFlags;
11531
+ OnPointerEnter(eventData: UnityEngine.EventSystems.PointerEventData): void;
11532
+ OnPointerExit(eventData: UnityEngine.EventSystems.PointerEventData): void;
11533
+ ClearListeners(): void;
11534
+ IsInvoking(): boolean;
11535
+ CancelInvoke(): void;
11536
+ Invoke(methodName: string, time: number): void;
11537
+ InvokeRepeating(methodName: string, time: number, repeatRate: number): void;
11538
+ CancelInvoke(methodName: string): void;
11539
+ IsInvoking(methodName: string): boolean;
11540
+ StartCoroutine(methodName: string): UnityEngine.Coroutine;
11541
+ StartCoroutine(methodName: string, value: any): UnityEngine.Coroutine;
11542
+ StartCoroutine(routine: System.Collections.IEnumerator): UnityEngine.Coroutine;
11543
+ StartCoroutine_Auto(routine: System.Collections.IEnumerator): UnityEngine.Coroutine;
11544
+ StopCoroutine(routine: System.Collections.IEnumerator): void;
11545
+ StopCoroutine(routine: UnityEngine.Coroutine): void;
11546
+ StopCoroutine(methodName: string): void;
11547
+ StopAllCoroutines(): void;
11548
+ GetComponent(type: System.Type): UnityEngine.Component;
11549
+ GetComponent(type: string): UnityEngine.Component;
11550
+ GetComponentInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component;
11551
+ GetComponentInChildren(t: System.Type): UnityEngine.Component;
11552
+ GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
11553
+ GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
11554
+ GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
11555
+ GetComponentInParent(t: System.Type): UnityEngine.Component;
11556
+ GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
11557
+ GetComponentsInParent(t: System.Type): UnityEngine.Component[];
11558
+ GetComponents(type: System.Type): UnityEngine.Component[];
11559
+ GetComponents(type: System.Type, results: UnityEngine.Component[]): void;
11560
+ CompareTag(tag: string): boolean;
11561
+ SendMessageUpwards(methodName: string, value: any, options: UnityEngine.SendMessageOptions): void;
11562
+ SendMessageUpwards(methodName: string, value: any): void;
11563
+ SendMessageUpwards(methodName: string): void;
11564
+ SendMessageUpwards(methodName: string, options: UnityEngine.SendMessageOptions): void;
11565
+ SendMessage(methodName: string, value: any): void;
11566
+ SendMessage(methodName: string): void;
11567
+ SendMessage(methodName: string, value: any, options: UnityEngine.SendMessageOptions): void;
11568
+ SendMessage(methodName: string, options: UnityEngine.SendMessageOptions): void;
11569
+ BroadcastMessage(methodName: string, parameter: any, options: UnityEngine.SendMessageOptions): void;
11570
+ BroadcastMessage(methodName: string, parameter: any): void;
11571
+ BroadcastMessage(methodName: string): void;
11572
+ BroadcastMessage(methodName: string, options: UnityEngine.SendMessageOptions): void;
11573
+ GetInstanceID(): number;
11574
+ GetHashCode(): number;
11575
+ Equals(other: any): boolean;
11576
+ ToString(): string;
11577
+ GetType(): System.Type;
11578
+ }
10587
11579
  }
10588
11580
  }
10589
11581
  namespace UIToolkit {
@@ -10650,7 +11642,7 @@ export declare namespace ReactUnity {
10650
11642
  Closest(query: string): ReactUnity.IReactComponent;
10651
11643
  QuerySelector(query: string): ReactUnity.IReactComponent;
10652
11644
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
10653
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
11645
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
10654
11646
  AddBefore(): void;
10655
11647
  RemoveBefore(): void;
10656
11648
  AddAfter(): void;
@@ -10732,7 +11724,7 @@ export declare namespace ReactUnity {
10732
11724
  Closest(query: string): ReactUnity.IReactComponent;
10733
11725
  QuerySelector(query: string): ReactUnity.IReactComponent;
10734
11726
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
10735
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
11727
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
10736
11728
  AddBefore(): void;
10737
11729
  RemoveBefore(): void;
10738
11730
  AddAfter(): void;
@@ -10817,7 +11809,7 @@ export declare namespace ReactUnity {
10817
11809
  Closest(query: string): ReactUnity.IReactComponent;
10818
11810
  QuerySelector(query: string): ReactUnity.IReactComponent;
10819
11811
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
10820
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
11812
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
10821
11813
  AddBefore(): void;
10822
11814
  RemoveBefore(): void;
10823
11815
  AddAfter(): void;
@@ -10904,7 +11896,7 @@ export declare namespace ReactUnity {
10904
11896
  Closest(query: string): ReactUnity.IReactComponent;
10905
11897
  QuerySelector(query: string): ReactUnity.IReactComponent;
10906
11898
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
10907
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
11899
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
10908
11900
  AddBefore(): void;
10909
11901
  RemoveBefore(): void;
10910
11902
  AddAfter(): void;
@@ -10979,7 +11971,7 @@ export declare namespace ReactUnity {
10979
11971
  Closest(query: string): ReactUnity.IReactComponent;
10980
11972
  QuerySelector(query: string): ReactUnity.IReactComponent;
10981
11973
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
10982
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
11974
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
10983
11975
  AddBefore(): void;
10984
11976
  RemoveBefore(): void;
10985
11977
  AddAfter(): void;
@@ -11054,7 +12046,7 @@ export declare namespace ReactUnity {
11054
12046
  Closest(query: string): ReactUnity.IReactComponent;
11055
12047
  QuerySelector(query: string): ReactUnity.IReactComponent;
11056
12048
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
11057
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
12049
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
11058
12050
  AddBefore(): void;
11059
12051
  RemoveBefore(): void;
11060
12052
  AddAfter(): void;
@@ -11131,7 +12123,7 @@ export declare namespace ReactUnity {
11131
12123
  Closest(query: string): ReactUnity.IReactComponent;
11132
12124
  QuerySelector(query: string): ReactUnity.IReactComponent;
11133
12125
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
11134
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
12126
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
11135
12127
  AddBefore(): void;
11136
12128
  RemoveBefore(): void;
11137
12129
  AddAfter(): void;
@@ -11206,7 +12198,7 @@ export declare namespace ReactUnity {
11206
12198
  Closest(query: string): ReactUnity.IReactComponent;
11207
12199
  QuerySelector(query: string): ReactUnity.IReactComponent;
11208
12200
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
11209
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
12201
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
11210
12202
  AddBefore(): void;
11211
12203
  RemoveBefore(): void;
11212
12204
  AddAfter(): void;
@@ -11283,7 +12275,7 @@ export declare namespace ReactUnity {
11283
12275
  Closest(query: string): ReactUnity.IReactComponent;
11284
12276
  QuerySelector(query: string): ReactUnity.IReactComponent;
11285
12277
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
11286
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
12278
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
11287
12279
  AddBefore(): void;
11288
12280
  RemoveBefore(): void;
11289
12281
  AddAfter(): void;
@@ -11365,7 +12357,7 @@ export declare namespace ReactUnity {
11365
12357
  Closest(query: string): ReactUnity.IReactComponent;
11366
12358
  QuerySelector(query: string): ReactUnity.IReactComponent;
11367
12359
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
11368
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
12360
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
11369
12361
  AddBefore(): void;
11370
12362
  RemoveBefore(): void;
11371
12363
  AddAfter(): void;
@@ -11447,7 +12439,86 @@ export declare namespace ReactUnity {
11447
12439
  Closest(query: string): ReactUnity.IReactComponent;
11448
12440
  QuerySelector(query: string): ReactUnity.IReactComponent;
11449
12441
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
11450
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
12442
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
12443
+ AddBefore(): void;
12444
+ RemoveBefore(): void;
12445
+ AddAfter(): void;
12446
+ RemoveAfter(): void;
12447
+ RegisterChild(child: ReactUnity.IReactComponent, index?: number): void;
12448
+ UnregisterChild(child: ReactUnity.IReactComponent): void;
12449
+ Clear(): void;
12450
+ Equals(obj: any): boolean;
12451
+ GetHashCode(): number;
12452
+ GetType(): System.Type;
12453
+ ToString(): string;
12454
+ }
12455
+ class SvgComponent {
12456
+ constructor(context: ReactUnity.UIToolkit.UIToolkitContext, tag: string);
12457
+ Content: string;
12458
+ InnerContent: string;
12459
+ ResolvedContent: string;
12460
+ Source: any;
12461
+ Element: ReactUnity.UIToolkit.SvgElement;
12462
+ TargetElement: UnityEngine.UIElements.VisualElement;
12463
+ Name: string;
12464
+ ClientWidth: number;
12465
+ ClientHeight: number;
12466
+ Context: ReactUnity.UIToolkit.UIToolkitContext;
12467
+ Parent: ReactUnity.IContainerComponent;
12468
+ Data: ReactUnity.Helpers.WatchableObjectRecord;
12469
+ Layout: Facebook.Yoga.YogaNode;
12470
+ ComputedStyle: ReactUnity.Styling.NodeStyle;
12471
+ StyleState: ReactUnity.Styling.StyleState;
12472
+ StateStyles: ReactUnity.Styling.StateStyles;
12473
+ Style: InlineStyleRemap;
12474
+ InlineStylesheet: ReactUnity.Styling.StyleSheet;
12475
+ ParentIndex: number;
12476
+ CurrentOrder: number;
12477
+ Entering: boolean;
12478
+ Leaving: boolean;
12479
+ Destroyed: boolean;
12480
+ IsPseudoElement: boolean;
12481
+ Tag: string;
12482
+ TextContent: string;
12483
+ ClassName: string;
12484
+ ClassList: ReactUnity.Helpers.ClassList;
12485
+ Id: string;
12486
+ RefId: number;
12487
+ IsContainer: boolean;
12488
+ Children: ReactUnity.IReactComponent[];
12489
+ BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
12490
+ AfterRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
12491
+ BeforePseudo: ReactUnity.IReactComponent;
12492
+ AfterPseudo: ReactUnity.IReactComponent;
12493
+ ScrollLeft: number;
12494
+ ScrollTop: number;
12495
+ ScrollWidth: number;
12496
+ ScrollHeight: number;
12497
+ SetProperty(propertyName: string, value: any): void;
12498
+ Update(): void;
12499
+ AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
12500
+ GetComponent(type: System.Type): any;
12501
+ AddComponent(type: System.Type): any;
12502
+ CaptureMouse(): void;
12503
+ ReleaseMouse(): void;
12504
+ HasMouseCapture(): boolean;
12505
+ UpdateOrder(prev: number, current: number): boolean;
12506
+ MarkForStyleResolving(recursive: boolean): void;
12507
+ Remove(): void;
12508
+ Destroy(recursive?: boolean): void;
12509
+ SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
12510
+ SetEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): void;
12511
+ FireEvent(eventName: string, arg: any): void;
12512
+ SetData(propertyName: string, value: any): void;
12513
+ ResolveStyle(recursive?: boolean): void;
12514
+ MarkStyleUpdateWithSiblings(recursive: boolean): void;
12515
+ ApplyStyles(): void;
12516
+ ApplyLayoutStyles(): void;
12517
+ Matches(query: string): boolean;
12518
+ Closest(query: string): ReactUnity.IReactComponent;
12519
+ QuerySelector(query: string): ReactUnity.IReactComponent;
12520
+ QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
12521
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
11451
12522
  AddBefore(): void;
11452
12523
  RemoveBefore(): void;
11453
12524
  AddAfter(): void;
@@ -11461,7 +12532,7 @@ export declare namespace ReactUnity {
11461
12532
  ToString(): string;
11462
12533
  }
11463
12534
  class TextComponent<TElementType = any> {
11464
- constructor(text: string, context: ReactUnity.UIToolkit.UIToolkitContext, tag: string, isContainer?: boolean);
12535
+ constructor(text: string, context: ReactUnity.UIToolkit.UIToolkitContext, tag: string, isContainer?: boolean, richText?: boolean);
11465
12536
  Content: string;
11466
12537
  Element: TElementType;
11467
12538
  TargetElement: UnityEngine.UIElements.VisualElement;
@@ -11524,7 +12595,7 @@ export declare namespace ReactUnity {
11524
12595
  Closest(query: string): ReactUnity.IReactComponent;
11525
12596
  QuerySelector(query: string): ReactUnity.IReactComponent;
11526
12597
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
11527
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
12598
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
11528
12599
  AddBefore(): void;
11529
12600
  RemoveBefore(): void;
11530
12601
  AddAfter(): void;
@@ -11607,7 +12678,7 @@ export declare namespace ReactUnity {
11607
12678
  Closest(query: string): ReactUnity.IReactComponent;
11608
12679
  QuerySelector(query: string): ReactUnity.IReactComponent;
11609
12680
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
11610
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
12681
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
11611
12682
  AddBefore(): void;
11612
12683
  RemoveBefore(): void;
11613
12684
  AddAfter(): void;
@@ -11686,7 +12757,7 @@ export declare namespace ReactUnity {
11686
12757
  Closest(query: string): ReactUnity.IReactComponent;
11687
12758
  QuerySelector(query: string): ReactUnity.IReactComponent;
11688
12759
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
11689
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
12760
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
11690
12761
  AddBefore(): void;
11691
12762
  RemoveBefore(): void;
11692
12763
  AddAfter(): void;
@@ -11767,7 +12838,7 @@ export declare namespace ReactUnity {
11767
12838
  Closest(query: string): ReactUnity.IReactComponent;
11768
12839
  QuerySelector(query: string): ReactUnity.IReactComponent;
11769
12840
  QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
11770
- Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
12841
+ Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
11771
12842
  AddBefore(): void;
11772
12843
  RemoveBefore(): void;
11773
12844
  AddAfter(): void;
@@ -11813,7 +12884,7 @@ export declare namespace ReactUnity {
11813
12884
  enabledInHierarchy: boolean;
11814
12885
  enabledSelf: boolean;
11815
12886
  visible: boolean;
11816
- generateVisualContent: ((arg0: UnityEngine.UIElements.MeshGenerationContext) => void);
12887
+ generateVisualContent: ((obj: UnityEngine.UIElements.MeshGenerationContext) => void);
11817
12888
  experimental: UnityEngine.UIElements.IExperimentalFeatures;
11818
12889
  hierarchy: UnityEngine.UIElements.VisualElement_Hierarchy;
11819
12890
  cacheAsBitmap: boolean;
@@ -11859,7 +12930,7 @@ export declare namespace ReactUnity {
11859
12930
  ElementAt(index: number): UnityEngine.UIElements.VisualElement;
11860
12931
  IndexOf(element: UnityEngine.UIElements.VisualElement): number;
11861
12932
  Children(): System.Collections.Generic.IEnumerable<UnityEngine.UIElements.VisualElement>;
11862
- Sort(comp: System.Comparison<UnityEngine.UIElements.VisualElement>): void;
12933
+ Sort(comp: ((x: UnityEngine.UIElements.VisualElement, y: UnityEngine.UIElements.VisualElement) => number)): void;
11863
12934
  BringToFront(): void;
11864
12935
  SendToBack(): void;
11865
12936
  PlaceBehind(sibling: UnityEngine.UIElements.VisualElement): void;
@@ -11913,7 +12984,7 @@ export declare namespace ReactUnity {
11913
12984
  BeforeStart: UnityEngine.Events.UnityEvent;
11914
12985
  AfterStart: UnityEngine.Events.UnityEvent;
11915
12986
  PlayAudio(clip: UnityEngine.AudioClip): void;
11916
- Render(): void;
12987
+ Render(): ReactUnity.ReactUnityBase_WaitForRenderToComplete;
11917
12988
  IsInvoking(): boolean;
11918
12989
  CancelInvoke(): void;
11919
12990
  Invoke(methodName: string, time: number): void;
@@ -11996,6 +13067,7 @@ export declare namespace ReactUnity {
11996
13067
  DetachedRoots: System.Collections.Generic.HashSet<ReactUnity.IReactComponent>;
11997
13068
  Globals: ReactUnity.Helpers.GlobalRecord;
11998
13069
  IsDisposed: boolean;
13070
+ IsEditorContext: boolean;
11999
13071
  options: ReactUnity.ReactContext_Options;
12000
13072
  Source: ReactUnity.ScriptSource;
12001
13073
  Timer: ReactUnity.Scheduling.ITimer;
@@ -12011,8 +13083,8 @@ export declare namespace ReactUnity {
12011
13083
  CursorSet: ReactUnity.Styling.CursorSet;
12012
13084
  CursorAPI: ReactUnity.Helpers.CursorAPI;
12013
13085
  Disposables: (() => void)[];
12014
- static defaultCreator: ((arg0: string, arg1: string, arg2: ReactUnity.UIToolkit.UIToolkitContext) => any);
12015
- static textCreator: ((arg0: string, arg1: ReactUnity.UIToolkit.UIToolkitContext) => ReactUnity.ITextComponent);
13086
+ static defaultCreator: ((arg1: string, arg2: string, arg3: ReactUnity.UIToolkit.UIToolkitContext) => ReactUnity.UIToolkit.IUIToolkitComponent<UnityEngine.UIElements.VisualElement>);
13087
+ static textCreator: ((arg1: string, arg2: ReactUnity.UIToolkit.UIToolkitContext) => ReactUnity.ITextComponent);
12016
13088
  static ComponentCreators: any;
12017
13089
  Initialize(): void;
12018
13090
  CreateText(text: string): ReactUnity.ITextComponent;
@@ -12020,28 +13092,121 @@ export declare namespace ReactUnity {
12020
13092
  CreateComponent(tag: string, text: string): ReactUnity.IReactComponent;
12021
13093
  CreatePseudoComponent(tag: string): ReactUnity.IReactComponent;
12022
13094
  PlayAudio(clip: UnityEngine.AudioClip): void;
13095
+ UpdateElementsRecursively(): void;
12023
13096
  InsertStyle(style: string): ReactUnity.Styling.StyleSheet;
12024
13097
  InsertStyle(style: string, importanceOffset: number): ReactUnity.Styling.StyleSheet;
12025
13098
  InsertStyle(sheet: ReactUnity.Styling.StyleSheet): ReactUnity.Styling.StyleSheet;
12026
13099
  RemoveStyle(sheet: ReactUnity.Styling.StyleSheet): void;
12027
13100
  ResolvePath(path: string): string;
12028
13101
  CreateStaticScript(path: string): ReactUnity.ScriptSource;
12029
- Start(): void;
13102
+ Start(afterStart?: (() => void)): void;
12030
13103
  Dispose(): void;
13104
+ BindCommands(commandsObject: any, callbacksObject: any, getObjectCallback: any, getEventAsObjectCallback: any): void;
12031
13105
  SetRef(refId: number, cmp: ReactUnity.IReactComponent): void;
12032
13106
  GetRef(refId: number, ensureUpdate?: boolean): ReactUnity.IReactComponent;
12033
- BindCommands(commandsObject: any, callbacksObject: any, getObjectCallback: any, getEventAsObjectCallback: any): void;
12034
13107
  FlushCommands(serializedCommands?: string): void;
12035
13108
  Equals(obj: any): boolean;
12036
13109
  GetHashCode(): number;
12037
13110
  GetType(): System.Type;
12038
13111
  ToString(): string;
12039
13112
  }
13113
+ class UIToolkitHelpers {
13114
+ static GenerateVectorImage(rawSvg: string): any;
13115
+ Equals(obj: any): boolean;
13116
+ GetHashCode(): number;
13117
+ GetType(): System.Type;
13118
+ ToString(): string;
13119
+ }
13120
+ class SvgElement {
13121
+ constructor();
13122
+ constructor(svg: string);
13123
+ [key: string]: any;
13124
+ RawSvg: string;
13125
+ image: UnityEngine.Texture;
13126
+ sprite: UnityEngine.Sprite;
13127
+ vectorImage: UnityEngine.UIElements.VectorImage;
13128
+ sourceRect: UnityEngine.Rect;
13129
+ uv: UnityEngine.Rect;
13130
+ scaleMode: UnityEngine.ScaleMode;
13131
+ tintColor: UnityEngine.Color;
13132
+ viewDataKey: string;
13133
+ userData: any;
13134
+ canGrabFocus: boolean;
13135
+ focusController: UnityEngine.UIElements.FocusController;
13136
+ usageHints: UnityEngine.UIElements.UsageHints;
13137
+ transform: UnityEngine.UIElements.ITransform;
13138
+ layout: UnityEngine.Rect;
13139
+ contentRect: UnityEngine.Rect;
13140
+ worldBound: UnityEngine.Rect;
13141
+ localBound: UnityEngine.Rect;
13142
+ worldTransform: UnityEngine.Matrix4x4;
13143
+ pickingMode: UnityEngine.UIElements.PickingMode;
13144
+ name: string;
13145
+ enabledInHierarchy: boolean;
13146
+ enabledSelf: boolean;
13147
+ visible: boolean;
13148
+ generateVisualContent: ((obj: UnityEngine.UIElements.MeshGenerationContext) => void);
13149
+ experimental: UnityEngine.UIElements.IExperimentalFeatures;
13150
+ hierarchy: UnityEngine.UIElements.VisualElement_Hierarchy;
13151
+ cacheAsBitmap: boolean;
13152
+ parent: UnityEngine.UIElements.VisualElement;
13153
+ panel: UnityEngine.UIElements.IPanel;
13154
+ contentContainer: UnityEngine.UIElements.VisualElement;
13155
+ visualTreeAssetSource: UnityEngine.UIElements.VisualTreeAsset;
13156
+ childCount: number;
13157
+ schedule: UnityEngine.UIElements.IVisualElementScheduler;
13158
+ style: UnityEngine.UIElements.IStyle;
13159
+ customStyle: UnityEngine.UIElements.ICustomStyle;
13160
+ styleSheets: UnityEngine.UIElements.VisualElementStyleSheetSet;
13161
+ tooltip: string;
13162
+ resolvedStyle: UnityEngine.UIElements.IResolvedStyle;
13163
+ focusable: boolean;
13164
+ tabIndex: number;
13165
+ delegatesFocus: boolean;
13166
+ Focus(): void;
13167
+ SendEvent(e: UnityEngine.UIElements.EventBase): void;
13168
+ SetEnabled(value: boolean): void;
13169
+ MarkDirtyRepaint(): void;
13170
+ ContainsPoint(localPoint: UnityEngine.Vector2): boolean;
13171
+ Overlaps(rectangle: UnityEngine.Rect): boolean;
13172
+ ToString(): string;
13173
+ GetClasses(): System.Collections.Generic.IEnumerable<string>;
13174
+ ClearClassList(): void;
13175
+ AddToClassList(className: string): void;
13176
+ RemoveFromClassList(className: string): void;
13177
+ ToggleInClassList(className: string): void;
13178
+ EnableInClassList(className: string, enable: boolean): void;
13179
+ ClassListContains(cls: string): boolean;
13180
+ FindAncestorUserData(): any;
13181
+ Add(child: UnityEngine.UIElements.VisualElement): void;
13182
+ Insert(index: number, element: UnityEngine.UIElements.VisualElement): void;
13183
+ Remove(element: UnityEngine.UIElements.VisualElement): void;
13184
+ RemoveAt(index: number): void;
13185
+ Clear(): void;
13186
+ ElementAt(index: number): UnityEngine.UIElements.VisualElement;
13187
+ IndexOf(element: UnityEngine.UIElements.VisualElement): number;
13188
+ Children(): System.Collections.Generic.IEnumerable<UnityEngine.UIElements.VisualElement>;
13189
+ Sort(comp: ((x: UnityEngine.UIElements.VisualElement, y: UnityEngine.UIElements.VisualElement) => number)): void;
13190
+ BringToFront(): void;
13191
+ SendToBack(): void;
13192
+ PlaceBehind(sibling: UnityEngine.UIElements.VisualElement): void;
13193
+ PlaceInFront(sibling: UnityEngine.UIElements.VisualElement): void;
13194
+ RemoveFromHierarchy(): void;
13195
+ Contains(child: UnityEngine.UIElements.VisualElement): boolean;
13196
+ FindCommonAncestor(other: UnityEngine.UIElements.VisualElement): UnityEngine.UIElements.VisualElement;
13197
+ Blur(): void;
13198
+ HandleEvent(evt: UnityEngine.UIElements.EventBase): void;
13199
+ HasTrickleDownHandlers(): boolean;
13200
+ HasBubbleUpHandlers(): boolean;
13201
+ Equals(obj: any): boolean;
13202
+ GetHashCode(): number;
13203
+ GetType(): System.Type;
13204
+ }
12040
13205
  class UIToolkitContext_Options {
12041
13206
  constructor();
12042
13207
  CalculatesLayout: boolean;
12043
13208
  HostElement: UnityEngine.UIElements.VisualElement;
12044
- OnAudioPlayback: ((arg0: UnityEngine.AudioClip) => void);
13209
+ OnAudioPlayback: ((obj: UnityEngine.AudioClip) => void);
12045
13210
  Globals: ReactUnity.Helpers.SerializableDictionary;
12046
13211
  Source: ReactUnity.ScriptSource;
12047
13212
  Timer: ReactUnity.Scheduling.ITimer;
@@ -12097,3 +13262,4 @@ export declare namespace ReactUnity {
12097
13262
  }
12098
13263
  }
12099
13264
  }
13265
+ export {};