@reactunity/renderer 0.11.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.
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/src/helpers/icons.d.ts +7 -0
- package/dist/src/helpers/icons.js +29 -0
- package/dist/src/models/base.d.ts +6 -4
- package/dist/src/models/editor/jsx.d.ts +10 -1
- package/dist/src/models/environment/index.d.ts +3 -0
- package/dist/src/models/generated/editor.d.ts +456 -26
- package/dist/src/models/generated/editor.js +1 -1
- package/dist/src/models/generated/react.d.ts +1343 -301
- package/dist/src/models/generated/react.js +1 -1
- package/dist/src/models/generated/system.d.ts +148 -148
- package/dist/src/models/generated/system.js +1 -1
- package/dist/src/models/generated/tests.js +1 -1
- package/dist/src/models/generated/unity.d.ts +5392 -1283
- package/dist/src/models/generated/unity.js +2 -2
- package/dist/src/models/generated/yoga.js +1 -1
- package/dist/src/models/richtext.d.ts +65 -0
- package/dist/src/models/richtext.js +2 -0
- package/dist/src/models/svg.d.ts +68 -0
- package/dist/src/models/svg.js +1 -0
- package/dist/src/models/ugui/components.d.ts +10 -6
- package/dist/src/models/ugui/events.d.ts +1 -0
- package/dist/src/models/ugui/jsx.d.ts +10 -1
- package/dist/src/models/uitoolkit/components.d.ts +3 -1
- package/dist/src/models/uitoolkit/jsx.d.ts +9 -0
- package/dist/src/renderer/async/callbacks.js +22 -8
- package/dist/src/renderer/async/reconciler.d.ts +1 -7
- package/dist/src/renderer/async/reconciler.js +204 -26
- package/dist/src/renderer/async/types.d.ts +31 -5
- package/dist/src/renderer/constants.d.ts +5 -0
- package/dist/src/renderer/constants.js +12 -0
- package/dist/src/renderer/diffing.js +1 -1
- package/dist/src/renderer/renderer.d.ts +11 -10
- package/dist/src/renderer/renderer.js +6 -9
- package/dist/src/renderer/subcontexts/index.d.ts +6 -0
- package/dist/src/renderer/subcontexts/index.js +6 -0
- package/dist/src/renderer/subcontexts/richtext.d.ts +3 -0
- package/dist/src/renderer/subcontexts/richtext.js +52 -0
- package/dist/src/renderer/subcontexts/svg.d.ts +3 -0
- package/dist/src/renderer/subcontexts/svg.js +70 -0
- package/dist/src/version.d.ts +1 -1
- package/dist/src/version.js +1 -1
- 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.
|
|
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():
|
|
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: ((
|
|
470
|
-
static WatchFileSystem(path: string, callback: ((
|
|
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
|
-
|
|
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,6 +598,18 @@ export declare namespace ReactUnity {
|
|
|
595
598
|
GetType(): System.Type;
|
|
596
599
|
ToString(): string;
|
|
597
600
|
}
|
|
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;
|
|
612
|
+
}
|
|
598
613
|
namespace Editor {
|
|
599
614
|
class ReactElementDrawer {
|
|
600
615
|
constructor();
|
|
@@ -666,6 +681,7 @@ export declare namespace ReactUnity {
|
|
|
666
681
|
Timer: ReactUnity.Scheduling.ITimer;
|
|
667
682
|
AutoRun: boolean;
|
|
668
683
|
rootVisualElement: UnityEngine.UIElements.VisualElement;
|
|
684
|
+
overlayCanvas: any;
|
|
669
685
|
wantsMouseMove: boolean;
|
|
670
686
|
wantsMouseEnterLeaveWindow: boolean;
|
|
671
687
|
wantsLessLayoutEvents: boolean;
|
|
@@ -723,6 +739,7 @@ export declare namespace ReactUnity {
|
|
|
723
739
|
}
|
|
724
740
|
class QuickStartWindow {
|
|
725
741
|
constructor();
|
|
742
|
+
static ShowWindowOnStartup: boolean;
|
|
726
743
|
NodeVersion: number;
|
|
727
744
|
Context: ReactUnity.ReactContext;
|
|
728
745
|
HostElement: ReactUnity.Editor.UIToolkit.ReactUnityEditorElement;
|
|
@@ -732,6 +749,7 @@ export declare namespace ReactUnity {
|
|
|
732
749
|
Timer: ReactUnity.Scheduling.ITimer;
|
|
733
750
|
AutoRun: boolean;
|
|
734
751
|
rootVisualElement: UnityEngine.UIElements.VisualElement;
|
|
752
|
+
overlayCanvas: any;
|
|
735
753
|
wantsMouseMove: boolean;
|
|
736
754
|
wantsMouseEnterLeaveWindow: boolean;
|
|
737
755
|
wantsLessLayoutEvents: boolean;
|
|
@@ -750,6 +768,10 @@ export declare namespace ReactUnity {
|
|
|
750
768
|
position: UnityEngine.Rect;
|
|
751
769
|
name: string;
|
|
752
770
|
hideFlags: UnityEngine.HideFlags;
|
|
771
|
+
static WindowVersion: string;
|
|
772
|
+
static ScopeName: string;
|
|
773
|
+
static ScopeUrl: string;
|
|
774
|
+
static CompanyScope: string;
|
|
753
775
|
static PackageName: string;
|
|
754
776
|
RequiredNodeVersion: number;
|
|
755
777
|
NodeUrl: string;
|
|
@@ -758,17 +780,18 @@ export declare namespace ReactUnity {
|
|
|
758
780
|
LatestVersion: string;
|
|
759
781
|
HasUpdate: boolean;
|
|
760
782
|
static ShowDefaultWindow(): void;
|
|
783
|
+
GetProjectFullPath(): string;
|
|
761
784
|
GetProjectPath(): string;
|
|
762
785
|
CreateProject(): void;
|
|
763
|
-
GetNodeVersion(callback
|
|
764
|
-
GetNodeVersion(callback: any): void;
|
|
786
|
+
GetNodeVersion(callback: ((obj: number) => void)): void;
|
|
765
787
|
RunCommand(target: string, args: string, hasOutput?: boolean): System.Diagnostics.Process;
|
|
766
788
|
CanvasExistsInScene(): boolean;
|
|
767
789
|
CreateCanvas(): void;
|
|
768
790
|
SelectCanvas(): void;
|
|
769
|
-
CheckVersion(callback: (() => void)): void;
|
|
770
|
-
|
|
771
|
-
|
|
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;
|
|
772
795
|
Run(root?: UnityEngine.UIElements.VisualElement): void;
|
|
773
796
|
Restart(root?: UnityEngine.UIElements.VisualElement): void;
|
|
774
797
|
AddSelectionChange(cb: any): (() => void);
|
|
@@ -837,10 +860,9 @@ export declare namespace ReactUnity {
|
|
|
837
860
|
ToString(): string;
|
|
838
861
|
GetType(): System.Type;
|
|
839
862
|
}
|
|
840
|
-
class
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
OnPostprocessBuild(report: any): void;
|
|
863
|
+
class PackageManagerHelpers {
|
|
864
|
+
static ManifestPath: string;
|
|
865
|
+
static AddScopedRegistry(name: string, url: string, ...scopesToAdd: string[]): void;
|
|
844
866
|
Equals(obj: any): boolean;
|
|
845
867
|
GetHashCode(): number;
|
|
846
868
|
GetType(): System.Type;
|
|
@@ -855,17 +877,46 @@ export declare namespace ReactUnity {
|
|
|
855
877
|
GetType(): System.Type;
|
|
856
878
|
ToString(): string;
|
|
857
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
|
+
}
|
|
858
896
|
namespace Developer {
|
|
859
897
|
class TypescriptModelsGenerator {
|
|
860
|
-
constructor(
|
|
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;
|
|
861
911
|
static GenerateUnity(): void;
|
|
862
912
|
static GenerateEditor(): void;
|
|
863
913
|
static GenerateReactUnity(): void;
|
|
864
914
|
static GenerateYoga(): void;
|
|
865
915
|
static GenerateSystem(): void;
|
|
916
|
+
static GenerateQuickJS(): void;
|
|
866
917
|
static GenerateCurrentProject(): void;
|
|
867
|
-
|
|
868
|
-
|
|
918
|
+
PickFileAndGenerate(): string;
|
|
919
|
+
GenerateTo(filePath: string): void;
|
|
869
920
|
GetTypescript(): string;
|
|
870
921
|
Equals(obj: any): boolean;
|
|
871
922
|
GetHashCode(): number;
|
|
@@ -880,6 +931,7 @@ export declare namespace ReactUnity {
|
|
|
880
931
|
Inspector: ReactUnity.Editor.Renderer.ReactInspector;
|
|
881
932
|
Property: ReactUnity.Editor.Renderer.ReactProperty;
|
|
882
933
|
static UseragentStylesheet: UnityEngine.TextAsset;
|
|
934
|
+
IsEditorContext: boolean;
|
|
883
935
|
StateHandlers: Record<string, System.Type>;
|
|
884
936
|
HostElement: UnityEngine.UIElements.VisualElement;
|
|
885
937
|
CalculatesLayout: boolean;
|
|
@@ -909,17 +961,18 @@ export declare namespace ReactUnity {
|
|
|
909
961
|
CreateText(text: string): ReactUnity.ITextComponent;
|
|
910
962
|
CreateDefaultComponent(tag: string, text: string): ReactUnity.IReactComponent;
|
|
911
963
|
CreatePseudoComponent(tag: string): ReactUnity.IReactComponent;
|
|
964
|
+
UpdateElementsRecursively(): void;
|
|
912
965
|
InsertStyle(style: string): ReactUnity.Styling.StyleSheet;
|
|
913
966
|
InsertStyle(style: string, importanceOffset: number): ReactUnity.Styling.StyleSheet;
|
|
914
967
|
InsertStyle(sheet: ReactUnity.Styling.StyleSheet): ReactUnity.Styling.StyleSheet;
|
|
915
968
|
RemoveStyle(sheet: ReactUnity.Styling.StyleSheet): void;
|
|
916
969
|
ResolvePath(path: string): string;
|
|
917
970
|
CreateStaticScript(path: string): ReactUnity.ScriptSource;
|
|
918
|
-
Start(): void;
|
|
971
|
+
Start(afterStart?: (() => void)): void;
|
|
919
972
|
Dispose(): void;
|
|
973
|
+
BindCommands(commandsObject: any, callbacksObject: any, getObjectCallback: any, getEventAsObjectCallback: any): void;
|
|
920
974
|
SetRef(refId: number, cmp: ReactUnity.IReactComponent): void;
|
|
921
975
|
GetRef(refId: number, ensureUpdate?: boolean): ReactUnity.IReactComponent;
|
|
922
|
-
BindCommands(commandsObject: any, callbacksObject: any, getObjectCallback: any, getEventAsObjectCallback: any): void;
|
|
923
976
|
FlushCommands(serializedCommands?: string): void;
|
|
924
977
|
Equals(obj: any): boolean;
|
|
925
978
|
GetHashCode(): number;
|
|
@@ -944,6 +997,7 @@ export declare namespace ReactUnity {
|
|
|
944
997
|
Timer: ReactUnity.Scheduling.ITimer;
|
|
945
998
|
AutoRun: boolean;
|
|
946
999
|
rootVisualElement: UnityEngine.UIElements.VisualElement;
|
|
1000
|
+
overlayCanvas: any;
|
|
947
1001
|
wantsMouseMove: boolean;
|
|
948
1002
|
wantsMouseEnterLeaveWindow: boolean;
|
|
949
1003
|
wantsLessLayoutEvents: boolean;
|
|
@@ -1051,6 +1105,7 @@ export declare namespace ReactUnity {
|
|
|
1051
1105
|
Timer: ReactUnity.Scheduling.ITimer;
|
|
1052
1106
|
AutoRun: boolean;
|
|
1053
1107
|
rootVisualElement: UnityEngine.UIElements.VisualElement;
|
|
1108
|
+
overlayCanvas: any;
|
|
1054
1109
|
wantsMouseMove: boolean;
|
|
1055
1110
|
wantsMouseEnterLeaveWindow: boolean;
|
|
1056
1111
|
wantsLessLayoutEvents: boolean;
|
|
@@ -1110,7 +1165,7 @@ export declare namespace ReactUnity {
|
|
|
1110
1165
|
Inspector: ReactUnity.Editor.Renderer.ReactInspector;
|
|
1111
1166
|
Property: ReactUnity.Editor.Renderer.ReactProperty;
|
|
1112
1167
|
HostElement: UnityEngine.UIElements.VisualElement;
|
|
1113
|
-
OnAudioPlayback: ((
|
|
1168
|
+
OnAudioPlayback: ((obj: UnityEngine.AudioClip) => void);
|
|
1114
1169
|
Globals: ReactUnity.Helpers.SerializableDictionary;
|
|
1115
1170
|
Source: ReactUnity.ScriptSource;
|
|
1116
1171
|
Timer: ReactUnity.Scheduling.ITimer;
|
|
@@ -1192,7 +1247,7 @@ export declare namespace ReactUnity {
|
|
|
1192
1247
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
1193
1248
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
1194
1249
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
1195
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
1250
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
1196
1251
|
AddBefore(): void;
|
|
1197
1252
|
RemoveBefore(): void;
|
|
1198
1253
|
AddAfter(): void;
|
|
@@ -1217,6 +1272,7 @@ export declare namespace ReactUnity {
|
|
|
1217
1272
|
class DialogWindow {
|
|
1218
1273
|
constructor();
|
|
1219
1274
|
rootVisualElement: UnityEngine.UIElements.VisualElement;
|
|
1275
|
+
overlayCanvas: any;
|
|
1220
1276
|
wantsMouseMove: boolean;
|
|
1221
1277
|
wantsMouseEnterLeaveWindow: boolean;
|
|
1222
1278
|
wantsLessLayoutEvents: boolean;
|
|
@@ -1290,7 +1346,7 @@ export declare namespace ReactUnity {
|
|
|
1290
1346
|
enabledInHierarchy: boolean;
|
|
1291
1347
|
enabledSelf: boolean;
|
|
1292
1348
|
visible: boolean;
|
|
1293
|
-
generateVisualContent: ((
|
|
1349
|
+
generateVisualContent: ((obj: UnityEngine.UIElements.MeshGenerationContext) => void);
|
|
1294
1350
|
experimental: UnityEngine.UIElements.IExperimentalFeatures;
|
|
1295
1351
|
hierarchy: UnityEngine.UIElements.VisualElement_Hierarchy;
|
|
1296
1352
|
cacheAsBitmap: boolean;
|
|
@@ -1339,7 +1395,7 @@ export declare namespace ReactUnity {
|
|
|
1339
1395
|
ElementAt(index: number): UnityEngine.UIElements.VisualElement;
|
|
1340
1396
|
IndexOf(element: UnityEngine.UIElements.VisualElement): number;
|
|
1341
1397
|
Children(): System.Collections.Generic.IEnumerable<UnityEngine.UIElements.VisualElement>;
|
|
1342
|
-
Sort(comp:
|
|
1398
|
+
Sort(comp: ((x: UnityEngine.UIElements.VisualElement, y: UnityEngine.UIElements.VisualElement) => number)): void;
|
|
1343
1399
|
BringToFront(): void;
|
|
1344
1400
|
SendToBack(): void;
|
|
1345
1401
|
PlaceBehind(sibling: UnityEngine.UIElements.VisualElement): void;
|
|
@@ -1419,7 +1475,7 @@ export declare namespace ReactUnity {
|
|
|
1419
1475
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
1420
1476
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
1421
1477
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
1422
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
1478
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
1423
1479
|
AddBefore(): void;
|
|
1424
1480
|
RemoveBefore(): void;
|
|
1425
1481
|
AddAfter(): void;
|
|
@@ -1501,7 +1557,7 @@ export declare namespace ReactUnity {
|
|
|
1501
1557
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
1502
1558
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
1503
1559
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
1504
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
1560
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
1505
1561
|
AddBefore(): void;
|
|
1506
1562
|
RemoveBefore(): void;
|
|
1507
1563
|
AddAfter(): void;
|
|
@@ -1583,7 +1639,7 @@ export declare namespace ReactUnity {
|
|
|
1583
1639
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
1584
1640
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
1585
1641
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
1586
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
1642
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
1587
1643
|
AddBefore(): void;
|
|
1588
1644
|
RemoveBefore(): void;
|
|
1589
1645
|
AddAfter(): void;
|
|
@@ -1624,7 +1680,7 @@ export declare namespace ReactUnity {
|
|
|
1624
1680
|
enabledInHierarchy: boolean;
|
|
1625
1681
|
enabledSelf: boolean;
|
|
1626
1682
|
visible: boolean;
|
|
1627
|
-
generateVisualContent: ((
|
|
1683
|
+
generateVisualContent: ((obj: UnityEngine.UIElements.MeshGenerationContext) => void);
|
|
1628
1684
|
experimental: UnityEngine.UIElements.IExperimentalFeatures;
|
|
1629
1685
|
hierarchy: UnityEngine.UIElements.VisualElement_Hierarchy;
|
|
1630
1686
|
cacheAsBitmap: boolean;
|
|
@@ -1670,7 +1726,7 @@ export declare namespace ReactUnity {
|
|
|
1670
1726
|
ElementAt(index: number): UnityEngine.UIElements.VisualElement;
|
|
1671
1727
|
IndexOf(element: UnityEngine.UIElements.VisualElement): number;
|
|
1672
1728
|
Children(): System.Collections.Generic.IEnumerable<UnityEngine.UIElements.VisualElement>;
|
|
1673
|
-
Sort(comp:
|
|
1729
|
+
Sort(comp: ((x: UnityEngine.UIElements.VisualElement, y: UnityEngine.UIElements.VisualElement) => number)): void;
|
|
1674
1730
|
BringToFront(): void;
|
|
1675
1731
|
SendToBack(): void;
|
|
1676
1732
|
PlaceBehind(sibling: UnityEngine.UIElements.VisualElement): void;
|
|
@@ -1690,16 +1746,15 @@ export declare namespace ReactUnity {
|
|
|
1690
1746
|
}
|
|
1691
1747
|
namespace Helpers {
|
|
1692
1748
|
class Callback {
|
|
1693
|
-
constructor(callback:
|
|
1694
|
-
constructor(callback: any);
|
|
1695
|
-
constructor(callback: any);
|
|
1749
|
+
constructor(callback: any, context?: ReactUnity.ReactContext);
|
|
1696
1750
|
constructor(index: number, context: ReactUnity.ReactContext);
|
|
1697
1751
|
callback: any;
|
|
1698
|
-
|
|
1752
|
+
static Noop: ReactUnity.Helpers.Callback;
|
|
1699
1753
|
static From(value: any, context?: ReactUnity.ReactContext, thisVal?: any): ReactUnity.Helpers.Callback;
|
|
1700
1754
|
Call(): any;
|
|
1701
1755
|
Call(...args: any[]): any;
|
|
1702
1756
|
CallWithPriority(priority: ReactUnity.EventPriority, ...args: any[]): any;
|
|
1757
|
+
Dispose(): void;
|
|
1703
1758
|
Equals(obj: any): boolean;
|
|
1704
1759
|
GetHashCode(): number;
|
|
1705
1760
|
GetType(): System.Type;
|
|
@@ -1751,8 +1806,8 @@ export declare namespace ReactUnity {
|
|
|
1751
1806
|
}
|
|
1752
1807
|
class SetPropertyEvent {
|
|
1753
1808
|
constructor();
|
|
1754
|
-
AddListener(call:
|
|
1755
|
-
RemoveListener(call:
|
|
1809
|
+
AddListener(call: ((arg0: string, arg1: any) => void)): void;
|
|
1810
|
+
RemoveListener(call: ((arg0: string, arg1: any) => void)): void;
|
|
1756
1811
|
Invoke(arg0: string, arg1: any): void;
|
|
1757
1812
|
GetPersistentEventCount(): number;
|
|
1758
1813
|
GetPersistentTarget(index: number): UnityEngine.Object;
|
|
@@ -1767,8 +1822,8 @@ export declare namespace ReactUnity {
|
|
|
1767
1822
|
}
|
|
1768
1823
|
class SetEventListenerEvent {
|
|
1769
1824
|
constructor();
|
|
1770
|
-
AddListener(call:
|
|
1771
|
-
RemoveListener(call:
|
|
1825
|
+
AddListener(call: ((arg0: string, arg1: ReactUnity.Helpers.Callback) => void)): void;
|
|
1826
|
+
RemoveListener(call: ((arg0: string, arg1: ReactUnity.Helpers.Callback) => void)): void;
|
|
1772
1827
|
Invoke(arg0: string, arg1: ReactUnity.Helpers.Callback): void;
|
|
1773
1828
|
GetPersistentEventCount(): number;
|
|
1774
1829
|
GetPersistentTarget(index: number): UnityEngine.Object;
|
|
@@ -1802,8 +1857,8 @@ export declare namespace ReactUnity {
|
|
|
1802
1857
|
GetEnumerator(): System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, any>>;
|
|
1803
1858
|
Remove(key: string): boolean;
|
|
1804
1859
|
RemoveWithoutNotify(key: string): boolean;
|
|
1805
|
-
AddListener(listener: ((arg0: string, arg1: any, arg2: ReactUnity.Helpers.WatchableDictionary<string, any>) => void)): (() => void);
|
|
1806
1860
|
AddListener(cb: any): (() => void);
|
|
1861
|
+
AddListener(listener: ((arg1: string, arg2: any, arg3: ReactUnity.Helpers.WatchableDictionary<string, any>) => void)): (() => void);
|
|
1807
1862
|
GetValueOrDefault(key: string): any;
|
|
1808
1863
|
Dispose(): void;
|
|
1809
1864
|
Equals(obj: any): boolean;
|
|
@@ -1824,6 +1879,7 @@ export declare namespace ReactUnity {
|
|
|
1824
1879
|
GetNamespace(nsName: string, assembly: System.Reflection.Assembly): any;
|
|
1825
1880
|
AddType(name: string, type: System.Type): any;
|
|
1826
1881
|
AddNamespace(name: string, nsName: string, ...assemblies: System.Reflection.Assembly[]): any;
|
|
1882
|
+
Dispose(): void;
|
|
1827
1883
|
Add(key: string, value: any): void;
|
|
1828
1884
|
Clear(): void;
|
|
1829
1885
|
ContainsKey(key: string): boolean;
|
|
@@ -1866,7 +1922,7 @@ export declare namespace ReactUnity {
|
|
|
1866
1922
|
IsReadOnly: boolean;
|
|
1867
1923
|
OnAfterDeserialize(): void;
|
|
1868
1924
|
OnBeforeSerialize(): void;
|
|
1869
|
-
AddReserializeListener(callback: ((
|
|
1925
|
+
AddReserializeListener(callback: ((obj: ReactUnity.Helpers.SerializableDictionary) => void)): (() => void);
|
|
1870
1926
|
OnExposedToScriptCode(engine: any): void;
|
|
1871
1927
|
Set(key: string, value: any): void;
|
|
1872
1928
|
SetWithoutNotify(key: string, value: any): void;
|
|
@@ -1878,8 +1934,8 @@ export declare namespace ReactUnity {
|
|
|
1878
1934
|
GetEnumerator(): System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, any>>;
|
|
1879
1935
|
Remove(key: string): boolean;
|
|
1880
1936
|
RemoveWithoutNotify(key: string): boolean;
|
|
1881
|
-
AddListener(listener: ((arg0: string, arg1: any, arg2: ReactUnity.Helpers.WatchableDictionary<string, any>) => void)): (() => void);
|
|
1882
1937
|
AddListener(cb: any): (() => void);
|
|
1938
|
+
AddListener(listener: ((arg1: string, arg2: any, arg3: ReactUnity.Helpers.WatchableDictionary<string, any>) => void)): (() => void);
|
|
1883
1939
|
GetValueOrDefault(key: string): any;
|
|
1884
1940
|
Dispose(): void;
|
|
1885
1941
|
Equals(obj: any): boolean;
|
|
@@ -1921,8 +1977,8 @@ export declare namespace ReactUnity {
|
|
|
1921
1977
|
GetEnumerator(): System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<TKey, T>>;
|
|
1922
1978
|
Remove(key: TKey): boolean;
|
|
1923
1979
|
RemoveWithoutNotify(key: TKey): boolean;
|
|
1924
|
-
AddListener(listener: ((arg0: TKey, arg1: T, arg2: ReactUnity.Helpers.WatchableDictionary<TKey, T>) => void)): (() => void);
|
|
1925
1980
|
AddListener(cb: any): (() => void);
|
|
1981
|
+
AddListener(listener: ((arg1: TKey, arg2: T, arg3: ReactUnity.Helpers.WatchableDictionary<TKey, T>) => void)): (() => void);
|
|
1926
1982
|
GetValueOrDefault(key: TKey): T;
|
|
1927
1983
|
Dispose(): void;
|
|
1928
1984
|
Equals(obj: any): boolean;
|
|
@@ -1956,8 +2012,8 @@ export declare namespace ReactUnity {
|
|
|
1956
2012
|
GetEnumerator(): System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<TKey, T>>;
|
|
1957
2013
|
Remove(key: TKey): boolean;
|
|
1958
2014
|
RemoveWithoutNotify(key: TKey): boolean;
|
|
1959
|
-
AddListener(listener: ((arg0: TKey, arg1: T, arg2: ReactUnity.Helpers.WatchableDictionary<TKey, T>) => void)): (() => void);
|
|
1960
2015
|
AddListener(cb: any): (() => void);
|
|
2016
|
+
AddListener(listener: ((arg1: TKey, arg2: T, arg3: ReactUnity.Helpers.WatchableDictionary<TKey, T>) => void)): (() => void);
|
|
1961
2017
|
GetValueOrDefault(key: TKey): T;
|
|
1962
2018
|
Dispose(): void;
|
|
1963
2019
|
Equals(obj: any): boolean;
|
|
@@ -1992,8 +2048,8 @@ export declare namespace ReactUnity {
|
|
|
1992
2048
|
GetEnumerator(): System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<TKey, T>>;
|
|
1993
2049
|
Remove(key: TKey): boolean;
|
|
1994
2050
|
RemoveWithoutNotify(key: TKey): boolean;
|
|
1995
|
-
AddListener(listener: ((arg0: TKey, arg1: T, arg2: ReactUnity.Helpers.WatchableDictionary<TKey, T>) => void)): (() => void);
|
|
1996
2051
|
AddListener(cb: any): (() => void);
|
|
2052
|
+
AddListener(listener: ((arg1: TKey, arg2: T, arg3: ReactUnity.Helpers.WatchableDictionary<TKey, T>) => void)): (() => void);
|
|
1997
2053
|
GetValueOrDefault(key: TKey): T;
|
|
1998
2054
|
Dispose(): void;
|
|
1999
2055
|
Equals(obj: any): boolean;
|
|
@@ -2018,8 +2074,8 @@ export declare namespace ReactUnity {
|
|
|
2018
2074
|
GetEnumerator(): System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, T>>;
|
|
2019
2075
|
Remove(key: string): boolean;
|
|
2020
2076
|
RemoveWithoutNotify(key: string): boolean;
|
|
2021
|
-
AddListener(listener: ((arg0: string, arg1: T, arg2: ReactUnity.Helpers.WatchableDictionary<string, T>) => void)): (() => void);
|
|
2022
2077
|
AddListener(cb: any): (() => void);
|
|
2078
|
+
AddListener(listener: ((arg1: string, arg2: T, arg3: ReactUnity.Helpers.WatchableDictionary<string, T>) => void)): (() => void);
|
|
2023
2079
|
GetValueOrDefault(key: string): T;
|
|
2024
2080
|
Dispose(): void;
|
|
2025
2081
|
Equals(obj: any): boolean;
|
|
@@ -2045,8 +2101,8 @@ export declare namespace ReactUnity {
|
|
|
2045
2101
|
GetEnumerator(): System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, any>>;
|
|
2046
2102
|
Remove(key: string): boolean;
|
|
2047
2103
|
RemoveWithoutNotify(key: string): boolean;
|
|
2048
|
-
AddListener(listener: ((arg0: string, arg1: any, arg2: ReactUnity.Helpers.WatchableDictionary<string, any>) => void)): (() => void);
|
|
2049
2104
|
AddListener(cb: any): (() => void);
|
|
2105
|
+
AddListener(listener: ((arg1: string, arg2: any, arg3: ReactUnity.Helpers.WatchableDictionary<string, any>) => void)): (() => void);
|
|
2050
2106
|
GetValueOrDefault(key: string): any;
|
|
2051
2107
|
Dispose(): void;
|
|
2052
2108
|
Equals(obj: any): boolean;
|
|
@@ -2089,7 +2145,7 @@ export declare namespace ReactUnity {
|
|
|
2089
2145
|
}
|
|
2090
2146
|
namespace Visitors {
|
|
2091
2147
|
class ReactComponentVisitor {
|
|
2092
|
-
Visit(component: ReactUnity.IReactComponent):
|
|
2148
|
+
Visit(component: ReactUnity.IReactComponent): boolean;
|
|
2093
2149
|
Equals(obj: any): boolean;
|
|
2094
2150
|
GetHashCode(): number;
|
|
2095
2151
|
GetType(): System.Type;
|
|
@@ -2101,7 +2157,7 @@ export declare namespace ReactUnity {
|
|
|
2101
2157
|
class HtmlComponent {
|
|
2102
2158
|
constructor(ctx: ReactUnity.ReactContext, tag?: string, text?: string);
|
|
2103
2159
|
Content: string;
|
|
2104
|
-
|
|
2160
|
+
ResolvedContent: string;
|
|
2105
2161
|
Source: any;
|
|
2106
2162
|
Proxy: ReactUnity.IContainerComponent;
|
|
2107
2163
|
Context: ReactUnity.ReactContext;
|
|
@@ -2141,7 +2197,7 @@ export declare namespace ReactUnity {
|
|
|
2141
2197
|
ApplyLayoutStyles(): void;
|
|
2142
2198
|
ResolveStyle(recursive?: boolean): void;
|
|
2143
2199
|
Update(): void;
|
|
2144
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
2200
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
2145
2201
|
SetParent(parent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
|
|
2146
2202
|
SetData(property: string, value: any): void;
|
|
2147
2203
|
SetEventListener(eventType: string, callback: ReactUnity.Helpers.Callback): void;
|
|
@@ -2187,6 +2243,27 @@ export declare namespace ReactUnity {
|
|
|
2187
2243
|
}
|
|
2188
2244
|
}
|
|
2189
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
|
+
}
|
|
2190
2267
|
class ControlledTimer {
|
|
2191
2268
|
constructor();
|
|
2192
2269
|
AnimationTime: number;
|
|
@@ -2223,6 +2300,7 @@ export declare namespace ReactUnity {
|
|
|
2223
2300
|
particleSystem: UnityEngine.Component;
|
|
2224
2301
|
name: string;
|
|
2225
2302
|
hideFlags: UnityEngine.HideFlags;
|
|
2303
|
+
state: string;
|
|
2226
2304
|
IsInvoking(): boolean;
|
|
2227
2305
|
CancelInvoke(): void;
|
|
2228
2306
|
Invoke(methodName: string, time: number): void;
|
|
@@ -2286,8 +2364,9 @@ export declare namespace ReactUnity {
|
|
|
2286
2364
|
class EditorDispatcher {
|
|
2287
2365
|
constructor(ctx: ReactUnity.ReactContext);
|
|
2288
2366
|
Scheduler: ReactUnity.Scheduling.IScheduler;
|
|
2289
|
-
|
|
2290
|
-
OnEveryLateUpdate(
|
|
2367
|
+
Dispose(): void;
|
|
2368
|
+
OnEveryLateUpdate(callback: (() => void)): number;
|
|
2369
|
+
OnEveryUpdate(callback: (() => void)): number;
|
|
2291
2370
|
OnceUpdate(callback: (() => void)): number;
|
|
2292
2371
|
OnceLateUpdate(callback: (() => void)): number;
|
|
2293
2372
|
Timeout(callback: (() => void), timeSeconds: number): number;
|
|
@@ -2297,8 +2376,8 @@ export declare namespace ReactUnity {
|
|
|
2297
2376
|
StartDeferred(cr: System.Collections.IEnumerator): number;
|
|
2298
2377
|
StartDeferred(cr: System.Collections.IEnumerator, handle: number): number;
|
|
2299
2378
|
StopDeferred(cr: number): void;
|
|
2300
|
-
|
|
2301
|
-
|
|
2379
|
+
Update(): void;
|
|
2380
|
+
LateUpdate(): void;
|
|
2302
2381
|
Equals(obj: any): boolean;
|
|
2303
2382
|
GetHashCode(): number;
|
|
2304
2383
|
GetType(): System.Type;
|
|
@@ -2348,10 +2427,8 @@ export declare namespace ReactUnity {
|
|
|
2348
2427
|
GetType(): System.Type;
|
|
2349
2428
|
ToString(): string;
|
|
2350
2429
|
}
|
|
2351
|
-
class
|
|
2430
|
+
class RuntimeDispatcherBehavior {
|
|
2352
2431
|
constructor();
|
|
2353
|
-
Scheduler: ReactUnity.Scheduling.IScheduler;
|
|
2354
|
-
CurrentLifecycle: ReactUnity.Scheduling.CurrentLifecycle;
|
|
2355
2432
|
useGUILayout: boolean;
|
|
2356
2433
|
runInEditMode: boolean;
|
|
2357
2434
|
enabled: boolean;
|
|
@@ -2374,20 +2451,7 @@ export declare namespace ReactUnity {
|
|
|
2374
2451
|
particleSystem: UnityEngine.Component;
|
|
2375
2452
|
name: string;
|
|
2376
2453
|
hideFlags: UnityEngine.HideFlags;
|
|
2377
|
-
static Create(ctx: ReactUnity.ReactContext): ReactUnity.Scheduling.
|
|
2378
|
-
OnEveryLateUpdate(callback: (() => void)): number;
|
|
2379
|
-
OnEveryUpdate(callback: (() => void)): number;
|
|
2380
|
-
OnceUpdate(callback: (() => void)): number;
|
|
2381
|
-
OnceLateUpdate(callback: (() => void)): number;
|
|
2382
|
-
Timeout(callback: (() => void), timeSeconds: number): number;
|
|
2383
|
-
AnimationFrame(callback: (() => void)): number;
|
|
2384
|
-
Interval(callback: (() => void), intervalSeconds: number): number;
|
|
2385
|
-
Immediate(callback: (() => void)): number;
|
|
2386
|
-
IsMainThread(): boolean;
|
|
2387
|
-
StartDeferred(cr: System.Collections.IEnumerator): number;
|
|
2388
|
-
StartDeferred(cr: System.Collections.IEnumerator, handle: number): number;
|
|
2389
|
-
StopDeferred(cr: number): void;
|
|
2390
|
-
Dispose(): void;
|
|
2454
|
+
static Create(ctx: ReactUnity.ReactContext): ReactUnity.Scheduling.RuntimeDispatcherBehavior_RuntimeDispatcher;
|
|
2391
2455
|
IsInvoking(): boolean;
|
|
2392
2456
|
CancelInvoke(): void;
|
|
2393
2457
|
Invoke(methodName: string, time: number): void;
|
|
@@ -2442,24 +2506,50 @@ export declare namespace ReactUnity {
|
|
|
2442
2506
|
GetType(): System.Type;
|
|
2443
2507
|
ToString(): string;
|
|
2444
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
|
+
}
|
|
2445
2533
|
}
|
|
2446
2534
|
namespace Scripting {
|
|
2447
2535
|
class ClearScriptEngine {
|
|
2448
2536
|
constructor(context: ReactUnity.ReactContext, debug: boolean, awaitDebugger: boolean);
|
|
2449
2537
|
Key: string;
|
|
2538
|
+
Capabilities: ReactUnity.Scripting.EngineCapabilities;
|
|
2450
2539
|
Engine: any;
|
|
2451
2540
|
NativeEngine: any;
|
|
2452
2541
|
Evaluate(code: string, fileName?: string): any;
|
|
2453
2542
|
Execute(code: string, fileName?: string): void;
|
|
2454
2543
|
TryExecute(code: string, fileName?: string): System.Exception;
|
|
2455
|
-
|
|
2456
|
-
|
|
2544
|
+
GetGlobal(key: string): any;
|
|
2545
|
+
DeleteGlobal(key: string): void;
|
|
2457
2546
|
CreateTypeReference(type: System.Type): any;
|
|
2458
2547
|
CreateNamespaceReference(ns: string, ...assemblies: System.Reflection.Assembly[]): any;
|
|
2459
2548
|
CreateScriptObject(props: System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, any>>): any;
|
|
2460
2549
|
Dispose(): void;
|
|
2461
2550
|
TraverseScriptObject(obj: any): System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, any>>;
|
|
2462
2551
|
IsScriptObject(obj: any): boolean;
|
|
2552
|
+
Update(): void;
|
|
2463
2553
|
Equals(obj: any): boolean;
|
|
2464
2554
|
GetHashCode(): number;
|
|
2465
2555
|
GetType(): System.Type;
|
|
@@ -2468,51 +2558,65 @@ export declare namespace ReactUnity {
|
|
|
2468
2558
|
class ClearScriptEngineFactory {
|
|
2469
2559
|
constructor();
|
|
2470
2560
|
EngineType: ReactUnity.Scripting.JavascriptEngineType;
|
|
2471
|
-
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;
|
|
2472
2562
|
Equals(obj: any): boolean;
|
|
2473
2563
|
GetHashCode(): number;
|
|
2474
2564
|
GetType(): System.Type;
|
|
2475
2565
|
ToString(): string;
|
|
2476
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
|
+
}
|
|
2477
2576
|
enum JavascriptEngineType {
|
|
2478
2577
|
Auto = 0,
|
|
2479
2578
|
Jint = 1,
|
|
2480
|
-
ClearScript = 2
|
|
2579
|
+
ClearScript = 2,
|
|
2580
|
+
QuickJS = 3
|
|
2481
2581
|
}
|
|
2482
2582
|
interface IJavaScriptEngine {
|
|
2483
2583
|
Key: string;
|
|
2484
2584
|
NativeEngine: any;
|
|
2585
|
+
Capabilities: ReactUnity.Scripting.EngineCapabilities;
|
|
2485
2586
|
Execute(code: string, fileName?: string): void;
|
|
2486
2587
|
TryExecute(code: string, fileName?: string): System.Exception;
|
|
2487
2588
|
Evaluate(code: string, fileName?: string): any;
|
|
2488
|
-
|
|
2489
|
-
|
|
2589
|
+
GetGlobal(key: string): any;
|
|
2590
|
+
DeleteGlobal(key: string): void;
|
|
2490
2591
|
CreateScriptObject(props: System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, any>>): any;
|
|
2491
2592
|
IsScriptObject(obj: any): boolean;
|
|
2492
2593
|
CreateTypeReference(type: System.Type): any;
|
|
2493
2594
|
CreateNamespaceReference(ns: string, ...assemblies: System.Reflection.Assembly[]): any;
|
|
2494
2595
|
TraverseScriptObject(obj: any): System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, any>>;
|
|
2596
|
+
Update(): void;
|
|
2495
2597
|
}
|
|
2496
2598
|
interface IJavaScriptEngineFactory {
|
|
2497
2599
|
EngineType: ReactUnity.Scripting.JavascriptEngineType;
|
|
2498
|
-
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;
|
|
2499
2601
|
}
|
|
2500
2602
|
class JintEngine {
|
|
2501
2603
|
constructor(context: ReactUnity.ReactContext, debug: boolean, awaitDebugger: boolean);
|
|
2502
2604
|
Key: string;
|
|
2503
2605
|
Engine: any;
|
|
2504
2606
|
NativeEngine: any;
|
|
2607
|
+
Capabilities: ReactUnity.Scripting.EngineCapabilities;
|
|
2505
2608
|
Evaluate(code: string, fileName?: string): any;
|
|
2506
2609
|
Execute(code: string, fileName?: string): void;
|
|
2507
2610
|
TryExecute(code: string, fileName?: string): System.Exception;
|
|
2508
|
-
|
|
2509
|
-
|
|
2611
|
+
GetGlobal(key: string): any;
|
|
2612
|
+
DeleteGlobal(key: string): void;
|
|
2510
2613
|
CreateTypeReference(type: System.Type): any;
|
|
2511
2614
|
CreateNamespaceReference(ns: string, ...assemblies: System.Reflection.Assembly[]): any;
|
|
2512
2615
|
CreateScriptObject(props: System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, any>>): any;
|
|
2513
2616
|
Dispose(): void;
|
|
2514
2617
|
TraverseScriptObject(obj: any): System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, any>>;
|
|
2515
2618
|
IsScriptObject(obj: any): boolean;
|
|
2619
|
+
Update(): void;
|
|
2516
2620
|
Equals(obj: any): boolean;
|
|
2517
2621
|
GetHashCode(): number;
|
|
2518
2622
|
GetType(): System.Type;
|
|
@@ -2521,24 +2625,111 @@ export declare namespace ReactUnity {
|
|
|
2521
2625
|
class JintEngineFactory {
|
|
2522
2626
|
constructor();
|
|
2523
2627
|
EngineType: ReactUnity.Scripting.JavascriptEngineType;
|
|
2524
|
-
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;
|
|
2525
2636
|
Equals(obj: any): boolean;
|
|
2526
2637
|
GetHashCode(): number;
|
|
2527
2638
|
GetType(): System.Type;
|
|
2528
2639
|
ToString(): string;
|
|
2529
2640
|
}
|
|
2530
2641
|
class JintTypeConverter {
|
|
2531
|
-
constructor(engine: any);
|
|
2642
|
+
constructor(context: ReactUnity.ReactContext, engine: any);
|
|
2532
2643
|
Convert(value: any, type: System.Type, formatProvider: System.IFormatProvider): any;
|
|
2533
2644
|
Equals(obj: any): boolean;
|
|
2534
2645
|
GetHashCode(): number;
|
|
2535
2646
|
GetType(): System.Type;
|
|
2536
2647
|
ToString(): string;
|
|
2537
2648
|
}
|
|
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
|
+
}
|
|
2538
2729
|
class ScriptComponent {
|
|
2539
2730
|
constructor(ctx: ReactUnity.ReactContext, tag?: string, text?: string);
|
|
2540
2731
|
Content: string;
|
|
2541
|
-
|
|
2732
|
+
ResolvedContent: string;
|
|
2542
2733
|
Source: any;
|
|
2543
2734
|
Proxy: ReactUnity.IContainerComponent;
|
|
2544
2735
|
Context: ReactUnity.ReactContext;
|
|
@@ -2580,7 +2771,7 @@ export declare namespace ReactUnity {
|
|
|
2580
2771
|
ApplyLayoutStyles(): void;
|
|
2581
2772
|
ResolveStyle(recursive?: boolean): void;
|
|
2582
2773
|
Update(): void;
|
|
2583
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
2774
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
2584
2775
|
SetData(property: string, value: any): void;
|
|
2585
2776
|
SetEventListener(eventType: string, callback: ReactUnity.Helpers.Callback): void;
|
|
2586
2777
|
AddEventListener(eventType: string, callback: ReactUnity.Helpers.Callback): (() => void);
|
|
@@ -2609,13 +2800,14 @@ export declare namespace ReactUnity {
|
|
|
2609
2800
|
Engine: ReactUnity.Scripting.IJavaScriptEngine;
|
|
2610
2801
|
Interop: ReactUnity.Helpers.ReactInterop;
|
|
2611
2802
|
Initialized: boolean;
|
|
2803
|
+
EngineInitialized: boolean;
|
|
2612
2804
|
Debug: boolean;
|
|
2613
2805
|
AwaitDebugger: boolean;
|
|
2614
2806
|
Context: ReactUnity.ReactContext;
|
|
2615
2807
|
EngineType: ReactUnity.Scripting.JavascriptEngineType;
|
|
2616
2808
|
EngineFactory: ReactUnity.Scripting.IJavaScriptEngineFactory;
|
|
2617
|
-
|
|
2618
|
-
Initialize(): void;
|
|
2809
|
+
RunMainScript(script: string, beforeStart?: (() => void), afterStart?: (() => void)): void;
|
|
2810
|
+
Initialize(callback: (() => void)): void;
|
|
2619
2811
|
ExecuteScript(code: string, fileName?: string): void;
|
|
2620
2812
|
EvaluateScript(code: string, fileName?: string): any;
|
|
2621
2813
|
CreateEventCallback(code: string, thisVal: any): ReactUnity.Helpers.Callback;
|
|
@@ -2644,9 +2836,11 @@ export declare namespace ReactUnity {
|
|
|
2644
2836
|
}
|
|
2645
2837
|
class DocumentProxy {
|
|
2646
2838
|
constructor(context: ReactUnity.ReactContext, origin: string);
|
|
2839
|
+
documentElement: ReactUnity.Scripting.DomProxies.DocumentProxy;
|
|
2647
2840
|
head: ReactUnity.Scripting.DomProxies.HeadProxy;
|
|
2648
2841
|
Origin: string;
|
|
2649
2842
|
Context: ReactUnity.ReactContext;
|
|
2843
|
+
nodeType: number;
|
|
2650
2844
|
createElement(type: string): any;
|
|
2651
2845
|
createTextNode(text: string): string;
|
|
2652
2846
|
querySelector(query: string): any;
|
|
@@ -2685,6 +2879,7 @@ export declare namespace ReactUnity {
|
|
|
2685
2879
|
constructor();
|
|
2686
2880
|
tagName: string;
|
|
2687
2881
|
Children: ReactUnity.Scripting.DomProxies.IDomElementProxy[];
|
|
2882
|
+
childNodes: ReactUnity.Scripting.DomProxies.IDomElementProxy[];
|
|
2688
2883
|
nodeType: number;
|
|
2689
2884
|
nextSibling: any;
|
|
2690
2885
|
id: string;
|
|
@@ -2730,22 +2925,27 @@ export declare namespace ReactUnity {
|
|
|
2730
2925
|
class StyleProxy {
|
|
2731
2926
|
constructor(document: ReactUnity.Scripting.DomProxies.DocumentProxy);
|
|
2732
2927
|
tagName: string;
|
|
2928
|
+
childNodes: ReactUnity.Scripting.DomProxies.NodeList<string>;
|
|
2733
2929
|
firstChild: string;
|
|
2930
|
+
lastChild: string;
|
|
2931
|
+
sheet: ReactUnity.Styling.StyleSheet;
|
|
2932
|
+
textContent: string;
|
|
2734
2933
|
nodeType: number;
|
|
2735
2934
|
nextSibling: any;
|
|
2736
|
-
childNodes: string[];
|
|
2737
2935
|
Sheet: ReactUnity.Styling.StyleSheet;
|
|
2738
2936
|
styleSheet: ReactUnity.Scripting.DomProxies.StyleProxy_StyleSheetProxy;
|
|
2739
2937
|
enabled: boolean;
|
|
2740
2938
|
document: ReactUnity.Scripting.DomProxies.DocumentProxy;
|
|
2741
2939
|
parentNode: ReactUnity.Scripting.DomProxies.HeadProxy;
|
|
2742
2940
|
id: string;
|
|
2941
|
+
hasChildNodes(): boolean;
|
|
2743
2942
|
OnAppend(): void;
|
|
2744
2943
|
OnRemove(): void;
|
|
2745
|
-
appendChild(text: string): void;
|
|
2746
|
-
removeChild(text: string): void;
|
|
2747
2944
|
setAttribute(key: any, value: any): void;
|
|
2748
2945
|
removeAttribute(key: any): void;
|
|
2946
|
+
appendChild(text: string): void;
|
|
2947
|
+
removeChild(text: string): void;
|
|
2948
|
+
insertBefore(child: string, before: any): void;
|
|
2749
2949
|
hasAttribute(key: any): boolean;
|
|
2750
2950
|
getAttribute(key: any): any;
|
|
2751
2951
|
Equals(obj: any): boolean;
|
|
@@ -2809,12 +3009,33 @@ export declare namespace ReactUnity {
|
|
|
2809
3009
|
GetType(): System.Type;
|
|
2810
3010
|
ToString(): string;
|
|
2811
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
|
+
}
|
|
2812
3033
|
class WebSocketOpenEventHandler {
|
|
2813
3034
|
constructor(object: any, method: System.IntPtr);
|
|
2814
3035
|
Method: System.Reflection.MethodInfo;
|
|
2815
3036
|
Target: any;
|
|
2816
3037
|
Invoke(): void;
|
|
2817
|
-
BeginInvoke(callback: System.
|
|
3038
|
+
BeginInvoke(callback: ((ar: System.IAsyncResult) => void), object: any): System.IAsyncResult;
|
|
2818
3039
|
EndInvoke(result: System.IAsyncResult): void;
|
|
2819
3040
|
GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext): void;
|
|
2820
3041
|
Equals(obj: any): boolean;
|
|
@@ -2829,8 +3050,8 @@ export declare namespace ReactUnity {
|
|
|
2829
3050
|
constructor(object: any, method: System.IntPtr);
|
|
2830
3051
|
Method: System.Reflection.MethodInfo;
|
|
2831
3052
|
Target: any;
|
|
2832
|
-
Invoke(data:
|
|
2833
|
-
BeginInvoke(data:
|
|
3053
|
+
Invoke(data: Byte[]): void;
|
|
3054
|
+
BeginInvoke(data: Byte[], callback: ((ar: System.IAsyncResult) => void), object: any): System.IAsyncResult;
|
|
2834
3055
|
EndInvoke(result: System.IAsyncResult): void;
|
|
2835
3056
|
GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext): void;
|
|
2836
3057
|
Equals(obj: any): boolean;
|
|
@@ -2846,7 +3067,7 @@ export declare namespace ReactUnity {
|
|
|
2846
3067
|
Method: System.Reflection.MethodInfo;
|
|
2847
3068
|
Target: any;
|
|
2848
3069
|
Invoke(errorMsg: string): void;
|
|
2849
|
-
BeginInvoke(errorMsg: string, callback: System.
|
|
3070
|
+
BeginInvoke(errorMsg: string, callback: ((ar: System.IAsyncResult) => void), object: any): System.IAsyncResult;
|
|
2850
3071
|
EndInvoke(result: System.IAsyncResult): void;
|
|
2851
3072
|
GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext): void;
|
|
2852
3073
|
Equals(obj: any): boolean;
|
|
@@ -2862,7 +3083,7 @@ export declare namespace ReactUnity {
|
|
|
2862
3083
|
Method: System.Reflection.MethodInfo;
|
|
2863
3084
|
Target: any;
|
|
2864
3085
|
Invoke(closeCode: ReactUnity.Scripting.DomProxies.WebSocketCloseCode, reason: string): void;
|
|
2865
|
-
BeginInvoke(closeCode: ReactUnity.Scripting.DomProxies.WebSocketCloseCode, reason: string, callback: System.
|
|
3086
|
+
BeginInvoke(closeCode: ReactUnity.Scripting.DomProxies.WebSocketCloseCode, reason: string, callback: ((ar: System.IAsyncResult) => void), object: any): System.IAsyncResult;
|
|
2866
3087
|
EndInvoke(result: System.IAsyncResult): void;
|
|
2867
3088
|
GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext): void;
|
|
2868
3089
|
Equals(obj: any): boolean;
|
|
@@ -2898,7 +3119,7 @@ export declare namespace ReactUnity {
|
|
|
2898
3119
|
interface IWebSocket {
|
|
2899
3120
|
Connect(): void;
|
|
2900
3121
|
Close(code?: ReactUnity.Scripting.DomProxies.WebSocketCloseCode, reason?: string): void;
|
|
2901
|
-
Send(data:
|
|
3122
|
+
Send(data: Byte[]): void;
|
|
2902
3123
|
GetState(): ReactUnity.Scripting.DomProxies.WebSocketState;
|
|
2903
3124
|
}
|
|
2904
3125
|
class WebSocketHelpers {
|
|
@@ -2993,7 +3214,7 @@ export declare namespace ReactUnity {
|
|
|
2993
3214
|
constructor(url: string);
|
|
2994
3215
|
Connect(): void;
|
|
2995
3216
|
Close(code?: ReactUnity.Scripting.DomProxies.WebSocketCloseCode, reason?: string): void;
|
|
2996
|
-
Send(data:
|
|
3217
|
+
Send(data: Byte[]): void;
|
|
2997
3218
|
GetState(): ReactUnity.Scripting.DomProxies.WebSocketState;
|
|
2998
3219
|
Equals(obj: any): boolean;
|
|
2999
3220
|
GetHashCode(): number;
|
|
@@ -3154,8 +3375,8 @@ export declare namespace ReactUnity {
|
|
|
3154
3375
|
GetEnumerator(): System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, ReactUnity.Styling.CursorPair>>;
|
|
3155
3376
|
Remove(key: string): boolean;
|
|
3156
3377
|
RemoveWithoutNotify(key: string): boolean;
|
|
3157
|
-
AddListener(listener: ((arg0: string, arg1: ReactUnity.Styling.CursorPair, arg2: ReactUnity.Helpers.WatchableDictionary<string, ReactUnity.Styling.CursorPair>) => void)): (() => void);
|
|
3158
3378
|
AddListener(cb: any): (() => void);
|
|
3379
|
+
AddListener(listener: ((arg1: string, arg2: ReactUnity.Styling.CursorPair, arg3: ReactUnity.Helpers.WatchableDictionary<string, ReactUnity.Styling.CursorPair>) => void)): (() => void);
|
|
3159
3380
|
GetValueOrDefault(key: string): ReactUnity.Styling.CursorPair;
|
|
3160
3381
|
Dispose(): void;
|
|
3161
3382
|
Equals(obj: any): boolean;
|
|
@@ -3207,8 +3428,8 @@ export declare namespace ReactUnity {
|
|
|
3207
3428
|
GetEnumerator(): System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<ReactUnity.Styling.IStyleProperty, any>>;
|
|
3208
3429
|
Remove(key: ReactUnity.Styling.IStyleProperty): boolean;
|
|
3209
3430
|
RemoveWithoutNotify(key: ReactUnity.Styling.IStyleProperty): boolean;
|
|
3210
|
-
AddListener(listener: ((arg0: ReactUnity.Styling.IStyleProperty, arg1: any, arg2: ReactUnity.Helpers.WatchableDictionary<ReactUnity.Styling.IStyleProperty, any>) => void)): (() => void);
|
|
3211
3431
|
AddListener(cb: any): (() => void);
|
|
3432
|
+
AddListener(listener: ((arg1: ReactUnity.Styling.IStyleProperty, arg2: any, arg3: ReactUnity.Helpers.WatchableDictionary<ReactUnity.Styling.IStyleProperty, any>) => void)): (() => void);
|
|
3212
3433
|
GetValueOrDefault(key: ReactUnity.Styling.IStyleProperty): any;
|
|
3213
3434
|
Dispose(): void;
|
|
3214
3435
|
Equals(obj: any): boolean;
|
|
@@ -3281,11 +3502,11 @@ export declare namespace ReactUnity {
|
|
|
3281
3502
|
maskRepeatY: ReactUnity.Types.ICssValueList<ReactUnity.Types.BackgroundRepeat>;
|
|
3282
3503
|
transitionProperty: ReactUnity.Types.ICssValueList<ReactUnity.Styling.Animations.TransitionProperty>;
|
|
3283
3504
|
transitionDuration: ReactUnity.Types.ICssValueList<number>;
|
|
3284
|
-
transitionTimingFunction: ReactUnity.Types.ICssValueList<
|
|
3505
|
+
transitionTimingFunction: ReactUnity.Types.ICssValueList<((value: number, start?: number, end?: number) => number)>;
|
|
3285
3506
|
transitionDelay: ReactUnity.Types.ICssValueList<number>;
|
|
3286
3507
|
transitionPlayState: ReactUnity.Types.ICssValueList<ReactUnity.Styling.Animations.AnimationPlayState>;
|
|
3287
3508
|
motionDuration: number;
|
|
3288
|
-
motionTimingFunction:
|
|
3509
|
+
motionTimingFunction: ((value: number, start?: number, end?: number) => number);
|
|
3289
3510
|
motionDelay: number;
|
|
3290
3511
|
animationDelay: ReactUnity.Types.ICssValueList<number>;
|
|
3291
3512
|
animationDirection: ReactUnity.Types.ICssValueList<ReactUnity.Styling.Animations.AnimationDirection>;
|
|
@@ -3294,7 +3515,7 @@ export declare namespace ReactUnity {
|
|
|
3294
3515
|
animationIterationCount: ReactUnity.Types.ICssValueList<number>;
|
|
3295
3516
|
animationName: ReactUnity.Types.ICssValueList<string>;
|
|
3296
3517
|
animationPlayState: ReactUnity.Types.ICssValueList<ReactUnity.Styling.Animations.AnimationPlayState>;
|
|
3297
|
-
animationTimingFunction: ReactUnity.Types.ICssValueList<
|
|
3518
|
+
animationTimingFunction: ReactUnity.Types.ICssValueList<((value: number, start?: number, end?: number) => number)>;
|
|
3298
3519
|
audioClip: ReactUnity.Types.ICssValueList<ReactUnity.Types.AudioReference>;
|
|
3299
3520
|
audioIterationCount: ReactUnity.Types.ICssValueList<number>;
|
|
3300
3521
|
audioDelay: ReactUnity.Types.ICssValueList<number>;
|
|
@@ -3390,6 +3611,7 @@ export declare namespace ReactUnity {
|
|
|
3390
3611
|
ModifiedProperties: ReactUnity.Styling.IStyleProperty[];
|
|
3391
3612
|
converter: ReactUnity.Styling.Converters.StyleConverterBase;
|
|
3392
3613
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
3614
|
+
Stringify(value: any): string;
|
|
3393
3615
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
3394
3616
|
GetHashCode(): number;
|
|
3395
3617
|
Equals(obj: any): boolean;
|
|
@@ -3490,6 +3712,7 @@ export declare namespace ReactUnity {
|
|
|
3490
3712
|
ModifiedProperties: ReactUnity.Styling.IStyleProperty[];
|
|
3491
3713
|
converter: ReactUnity.Styling.Converters.StyleConverterBase;
|
|
3492
3714
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
3715
|
+
Stringify(value: any): string;
|
|
3493
3716
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
3494
3717
|
GetHashCode(): number;
|
|
3495
3718
|
Equals(obj: any): boolean;
|
|
@@ -3498,6 +3721,15 @@ export declare namespace ReactUnity {
|
|
|
3498
3721
|
GetType(): System.Type;
|
|
3499
3722
|
ToString(): string;
|
|
3500
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
|
+
}
|
|
3501
3733
|
class ValueListStyleProperty<T = any> {
|
|
3502
3734
|
constructor(name: string, initialValue: any, transitionable: boolean, inherited: boolean, converter: ReactUnity.Styling.Converters.StyleConverterBase);
|
|
3503
3735
|
constructor(name: string, initialValue?: T[], transitionable?: boolean, inherited?: boolean, baseConverter?: ReactUnity.Styling.Converters.StyleConverterBase);
|
|
@@ -3512,6 +3744,7 @@ export declare namespace ReactUnity {
|
|
|
3512
3744
|
ModifiedProperties: ReactUnity.Styling.IStyleProperty[];
|
|
3513
3745
|
converter: ReactUnity.Styling.Converters.StyleConverterBase;
|
|
3514
3746
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
3747
|
+
Stringify(value: any): string;
|
|
3515
3748
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
3516
3749
|
GetHashCode(): number;
|
|
3517
3750
|
Equals(obj: any): boolean;
|
|
@@ -3531,6 +3764,7 @@ export declare namespace ReactUnity {
|
|
|
3531
3764
|
affectsLayout: boolean;
|
|
3532
3765
|
ModifiedProperties: ReactUnity.Styling.IStyleProperty[];
|
|
3533
3766
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
3767
|
+
Stringify(value: any): string;
|
|
3534
3768
|
GetStyle(style: ReactUnity.Styling.NodeStyle): any;
|
|
3535
3769
|
GetHashCode(): number;
|
|
3536
3770
|
Equals(obj: any): boolean;
|
|
@@ -3544,6 +3778,7 @@ export declare namespace ReactUnity {
|
|
|
3544
3778
|
SubscribeToState(state: string): ReactUnity.IStateHandler;
|
|
3545
3779
|
StartState(state: string): boolean;
|
|
3546
3780
|
EndState(state: string): boolean;
|
|
3781
|
+
GetState(state: string): boolean;
|
|
3547
3782
|
GetStateOrSubscribe(state: string): boolean;
|
|
3548
3783
|
Equals(obj: any): boolean;
|
|
3549
3784
|
GetHashCode(): number;
|
|
@@ -3557,7 +3792,7 @@ export declare namespace ReactUnity {
|
|
|
3557
3792
|
Active: boolean;
|
|
3558
3793
|
Sheet: ReactUnity.Styling.StyleSheet;
|
|
3559
3794
|
Content: string;
|
|
3560
|
-
|
|
3795
|
+
ResolvedContent: string;
|
|
3561
3796
|
Source: any;
|
|
3562
3797
|
Proxy: ReactUnity.IContainerComponent;
|
|
3563
3798
|
Context: ReactUnity.ReactContext;
|
|
@@ -3600,7 +3835,7 @@ export declare namespace ReactUnity {
|
|
|
3600
3835
|
ApplyLayoutStyles(): void;
|
|
3601
3836
|
ResolveStyle(recursive?: boolean): void;
|
|
3602
3837
|
Update(): void;
|
|
3603
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
3838
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
3604
3839
|
SetData(property: string, value: any): void;
|
|
3605
3840
|
SetEventListener(eventType: string, callback: ReactUnity.Helpers.Callback): void;
|
|
3606
3841
|
AddEventListener(eventType: string, callback: ReactUnity.Helpers.Callback): (() => void);
|
|
@@ -3644,10 +3879,18 @@ export declare namespace ReactUnity {
|
|
|
3644
3879
|
ToString(): string;
|
|
3645
3880
|
}
|
|
3646
3881
|
class StyleSheet {
|
|
3647
|
-
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[];
|
|
3648
3890
|
Context: ReactUnity.Styling.StyleContext;
|
|
3649
3891
|
Scope: ReactUnity.IReactComponent;
|
|
3650
3892
|
ImportanceOffset: number;
|
|
3893
|
+
Media: ReactUnity.Styling.Rules.MediaQueryList;
|
|
3651
3894
|
FontFamilies: Record<string, ReactUnity.Types.FontReference>;
|
|
3652
3895
|
Keyframes: Record<string, ReactUnity.KeyframeList>;
|
|
3653
3896
|
MediaQueries: ReactUnity.Styling.Rules.MediaQueryList[];
|
|
@@ -3657,6 +3900,28 @@ export declare namespace ReactUnity {
|
|
|
3657
3900
|
Enable(): void;
|
|
3658
3901
|
Disable(): void;
|
|
3659
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;
|
|
3660
3925
|
Equals(obj: any): boolean;
|
|
3661
3926
|
GetHashCode(): number;
|
|
3662
3927
|
GetType(): System.Type;
|
|
@@ -3675,6 +3940,16 @@ export declare namespace ReactUnity {
|
|
|
3675
3940
|
GetType(): System.Type;
|
|
3676
3941
|
ToString(): string;
|
|
3677
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
|
+
}
|
|
3678
3953
|
namespace Animations {
|
|
3679
3954
|
class AnimationEvent {
|
|
3680
3955
|
constructor();
|
|
@@ -3731,15 +4006,15 @@ export declare namespace ReactUnity {
|
|
|
3731
4006
|
static Interpolate(from: UnityEngine.Vector3, to: UnityEngine.Vector3, t: number, easeType: ReactUnity.Styling.Animations.TimingFunctionType): UnityEngine.Vector3;
|
|
3732
4007
|
static Interpolate(from: UnityEngine.Vector4, to: UnityEngine.Vector4, t: number, easeType: ReactUnity.Styling.Animations.TimingFunctionType): UnityEngine.Vector4;
|
|
3733
4008
|
static Interpolate(from: UnityEngine.Quaternion, to: UnityEngine.Quaternion, t: number, easeType: ReactUnity.Styling.Animations.TimingFunctionType): UnityEngine.Quaternion;
|
|
3734
|
-
static Interpolate(t: number, timingFunction:
|
|
3735
|
-
static Interpolate(from: number, to: number, t: number, timingFunction:
|
|
3736
|
-
static Interpolate(from: UnityEngine.Color, to: UnityEngine.Color, t: number, timingFunction:
|
|
3737
|
-
static Interpolate(from: UnityEngine.Vector2, to: UnityEngine.Vector2, t: number, timingFunction:
|
|
3738
|
-
static Interpolate(from: UnityEngine.Vector3, to: UnityEngine.Vector3, t: number, timingFunction:
|
|
3739
|
-
static Interpolate(from: UnityEngine.Vector4, to: UnityEngine.Vector4, t: number, timingFunction:
|
|
3740
|
-
static Interpolate(from: UnityEngine.Quaternion, to: UnityEngine.Quaternion, t: number, timingFunction:
|
|
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;
|
|
3741
4016
|
static Interpolate(from: any, to: any, t: number): any;
|
|
3742
|
-
static Interpolate(from: any, to: any, t: number, timingFunction:
|
|
4017
|
+
static Interpolate(from: any, to: any, t: number, timingFunction: ((value: number, start?: number, end?: number) => number)): any;
|
|
3743
4018
|
Equals(obj: any): boolean;
|
|
3744
4019
|
GetHashCode(): number;
|
|
3745
4020
|
GetType(): System.Type;
|
|
@@ -3750,7 +4025,7 @@ export declare namespace ReactUnity {
|
|
|
3750
4025
|
Method: System.Reflection.MethodInfo;
|
|
3751
4026
|
Target: any;
|
|
3752
4027
|
Invoke(value: number, start?: number, end?: number): number;
|
|
3753
|
-
BeginInvoke(value: number, start: number, end: number, callback: System.
|
|
4028
|
+
BeginInvoke(value: number, start: number, end: number, callback: ((ar: System.IAsyncResult) => void), object: any): System.IAsyncResult;
|
|
3754
4029
|
EndInvoke(result: System.IAsyncResult): number;
|
|
3755
4030
|
GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext): void;
|
|
3756
4031
|
Equals(obj: any): boolean;
|
|
@@ -3762,17 +4037,17 @@ export declare namespace ReactUnity {
|
|
|
3762
4037
|
ToString(): string;
|
|
3763
4038
|
}
|
|
3764
4039
|
class TimingFunctions {
|
|
3765
|
-
static Ease:
|
|
3766
|
-
static EaseIn:
|
|
3767
|
-
static EaseOut:
|
|
3768
|
-
static EaseInOut:
|
|
3769
|
-
static StepStart:
|
|
3770
|
-
static StepEnd:
|
|
3771
|
-
static Default:
|
|
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);
|
|
3772
4047
|
static Linear(t: number, start?: number, end?: number): number;
|
|
3773
|
-
static Steps(count: number, mode?: ReactUnity.Styling.Animations.StepsJumpMode):
|
|
3774
|
-
static Get(easeType: ReactUnity.Styling.Animations.TimingFunctionType):
|
|
3775
|
-
static Get(easeType: string):
|
|
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);
|
|
3776
4051
|
Equals(obj: any): boolean;
|
|
3777
4052
|
GetHashCode(): number;
|
|
3778
4053
|
GetType(): System.Type;
|
|
@@ -3811,7 +4086,7 @@ export declare namespace ReactUnity {
|
|
|
3811
4086
|
}
|
|
3812
4087
|
class TimingFunctions_CubicBezier {
|
|
3813
4088
|
static Linear(value: number, start?: number, end?: number): number;
|
|
3814
|
-
static Create(mX1: number, mY1: number, mX2: number, mY2: number):
|
|
4089
|
+
static Create(mX1: number, mY1: number, mX2: number, mY2: number): ((value: number, start?: number, end?: number) => number);
|
|
3815
4090
|
Equals(obj: any): boolean;
|
|
3816
4091
|
GetHashCode(): number;
|
|
3817
4092
|
GetType(): System.Type;
|
|
@@ -3819,8 +4094,11 @@ export declare namespace ReactUnity {
|
|
|
3819
4094
|
}
|
|
3820
4095
|
class TimingFunctions_Converter {
|
|
3821
4096
|
constructor();
|
|
4097
|
+
StringifyInternal(value: any): string;
|
|
4098
|
+
StringifyTyped(value: ((value: number, start?: number, end?: number) => number)): string;
|
|
3822
4099
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
3823
4100
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
4101
|
+
Stringify(value: any): string;
|
|
3824
4102
|
Equals(obj: any): boolean;
|
|
3825
4103
|
GetHashCode(): number;
|
|
3826
4104
|
GetType(): System.Type;
|
|
@@ -3828,8 +4106,11 @@ export declare namespace ReactUnity {
|
|
|
3828
4106
|
}
|
|
3829
4107
|
class TransitionProperty_Converter {
|
|
3830
4108
|
constructor();
|
|
4109
|
+
StringifyInternal(value: any): string;
|
|
4110
|
+
StringifyTyped(value: ReactUnity.Styling.Animations.TransitionProperty): string;
|
|
3831
4111
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
3832
4112
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
4113
|
+
Stringify(value: any): string;
|
|
3833
4114
|
Equals(obj: any): boolean;
|
|
3834
4115
|
GetHashCode(): number;
|
|
3835
4116
|
GetType(): System.Type;
|
|
@@ -3851,12 +4132,12 @@ export declare namespace ReactUnity {
|
|
|
3851
4132
|
GetType(): System.Type;
|
|
3852
4133
|
}
|
|
3853
4134
|
class ComputedCompound {
|
|
3854
|
-
constructor(values: ReactUnity.Styling.Computed.IComputedValue[], converters: ReactUnity.Styling.Converters.StyleConverterBase[], callback:
|
|
3855
|
-
Callback:
|
|
4135
|
+
constructor(values: ReactUnity.Styling.Computed.IComputedValue[], converters: ReactUnity.Styling.Converters.StyleConverterBase[], callback: ((values: any[]) => any));
|
|
4136
|
+
Callback: ((values: any[]) => any);
|
|
3856
4137
|
Values: ReactUnity.Styling.Computed.IComputedValue[];
|
|
3857
4138
|
Converters: ReactUnity.Styling.Converters.StyleConverterBase[];
|
|
3858
4139
|
GetValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle, converter: ReactUnity.Styling.Converters.IStyleConverter): any;
|
|
3859
|
-
static Create(values: ReactUnity.Styling.Computed.IComputedValue[], converters: ReactUnity.Styling.Converters.StyleConverterBase[], callback:
|
|
4140
|
+
static Create(values: ReactUnity.Styling.Computed.IComputedValue[], converters: ReactUnity.Styling.Converters.StyleConverterBase[], callback: ((values: any[]) => any), allConstants?: boolean): ReactUnity.Styling.Computed.IComputedValue;
|
|
3860
4141
|
Equals(obj: any): boolean;
|
|
3861
4142
|
GetHashCode(): number;
|
|
3862
4143
|
ToString(): string;
|
|
@@ -3921,25 +4202,25 @@ export declare namespace ReactUnity {
|
|
|
3921
4202
|
GetType(): System.Type;
|
|
3922
4203
|
}
|
|
3923
4204
|
class ComputedList {
|
|
3924
|
-
constructor(values: System.Collections.Generic.IList<ReactUnity.Styling.Computed.IComputedValue>, converter: ReactUnity.Styling.Converters.StyleConverterBase, callback:
|
|
3925
|
-
Callback:
|
|
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);
|
|
3926
4207
|
Values: System.Collections.Generic.IList<ReactUnity.Styling.Computed.IComputedValue>;
|
|
3927
4208
|
Converter: ReactUnity.Styling.Converters.StyleConverterBase;
|
|
3928
4209
|
DefaultValue: any;
|
|
3929
4210
|
GetValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle, converter: ReactUnity.Styling.Converters.IStyleConverter): any;
|
|
3930
|
-
static Create(values: any, converter: ReactUnity.Styling.Converters.StyleConverterBase, callback:
|
|
4211
|
+
static Create(values: any, converter: ReactUnity.Styling.Converters.StyleConverterBase, callback: ((values: any[]) => any), defaultValue?: any, allConstants?: boolean): ReactUnity.Styling.Computed.IComputedValue;
|
|
3931
4212
|
Equals(obj: any): boolean;
|
|
3932
4213
|
GetHashCode(): number;
|
|
3933
4214
|
ToString(): string;
|
|
3934
4215
|
GetType(): System.Type;
|
|
3935
4216
|
}
|
|
3936
4217
|
class ComputedMapper {
|
|
3937
|
-
constructor(value: ReactUnity.Styling.Computed.IComputedValue, converter: ReactUnity.Styling.Converters.StyleConverterBase, callback:
|
|
3938
|
-
Callback:
|
|
4218
|
+
constructor(value: ReactUnity.Styling.Computed.IComputedValue, converter: ReactUnity.Styling.Converters.StyleConverterBase, callback: ((value: any) => any));
|
|
4219
|
+
Callback: ((value: any) => any);
|
|
3939
4220
|
Value: ReactUnity.Styling.Computed.IComputedValue;
|
|
3940
4221
|
Converter: ReactUnity.Styling.Converters.StyleConverterBase;
|
|
3941
4222
|
GetValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle, converter: ReactUnity.Styling.Converters.IStyleConverter): any;
|
|
3942
|
-
static Create(value: ReactUnity.Styling.Computed.IComputedValue, converter: ReactUnity.Styling.Converters.StyleConverterBase, callback:
|
|
4223
|
+
static Create(value: ReactUnity.Styling.Computed.IComputedValue, converter: ReactUnity.Styling.Converters.StyleConverterBase, callback: ((value: any) => any)): ReactUnity.Styling.Computed.IComputedValue;
|
|
3943
4224
|
Equals(obj: any): boolean;
|
|
3944
4225
|
GetHashCode(): number;
|
|
3945
4226
|
ToString(): string;
|
|
@@ -4025,7 +4306,7 @@ export declare namespace ReactUnity {
|
|
|
4025
4306
|
Method: System.Reflection.MethodInfo;
|
|
4026
4307
|
Target: any;
|
|
4027
4308
|
Invoke(values: any[]): any;
|
|
4028
|
-
BeginInvoke(values: any[], callback: System.
|
|
4309
|
+
BeginInvoke(values: any[], callback: ((ar: System.IAsyncResult) => void), object: any): System.IAsyncResult;
|
|
4029
4310
|
EndInvoke(result: System.IAsyncResult): any;
|
|
4030
4311
|
GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext): void;
|
|
4031
4312
|
Equals(obj: any): boolean;
|
|
@@ -4041,7 +4322,7 @@ export declare namespace ReactUnity {
|
|
|
4041
4322
|
Method: System.Reflection.MethodInfo;
|
|
4042
4323
|
Target: any;
|
|
4043
4324
|
Invoke(values: any[]): any;
|
|
4044
|
-
BeginInvoke(values: any[], callback: System.
|
|
4325
|
+
BeginInvoke(values: any[], callback: ((ar: System.IAsyncResult) => void), object: any): System.IAsyncResult;
|
|
4045
4326
|
EndInvoke(result: System.IAsyncResult): any;
|
|
4046
4327
|
GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext): void;
|
|
4047
4328
|
Equals(obj: any): boolean;
|
|
@@ -4057,7 +4338,7 @@ export declare namespace ReactUnity {
|
|
|
4057
4338
|
Method: System.Reflection.MethodInfo;
|
|
4058
4339
|
Target: any;
|
|
4059
4340
|
Invoke(value: any): any;
|
|
4060
|
-
BeginInvoke(value: any, callback: System.
|
|
4341
|
+
BeginInvoke(value: any, callback: ((ar: System.IAsyncResult) => void), object: any): System.IAsyncResult;
|
|
4061
4342
|
EndInvoke(result: System.IAsyncResult): any;
|
|
4062
4343
|
GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext): void;
|
|
4063
4344
|
Equals(obj: any): boolean;
|
|
@@ -4080,6 +4361,7 @@ export declare namespace ReactUnity {
|
|
|
4080
4361
|
namespace Converters {
|
|
4081
4362
|
class AllConverters {
|
|
4082
4363
|
constructor();
|
|
4364
|
+
static RawConverter: ReactUnity.Styling.Converters.IStyleConverter;
|
|
4083
4365
|
static DefaultConverter: ReactUnity.Styling.Converters.StyleConverterBase;
|
|
4084
4366
|
static StringConverter: ReactUnity.Styling.Converters.StyleConverterBase;
|
|
4085
4367
|
static FloatConverter: ReactUnity.Styling.Converters.StyleConverterBase;
|
|
@@ -4101,6 +4383,7 @@ export declare namespace ReactUnity {
|
|
|
4101
4383
|
static ColorConverter: ReactUnity.Styling.Converters.StyleConverterBase;
|
|
4102
4384
|
static BoxShadowConverter: ReactUnity.Styling.Converters.StyleConverterBase;
|
|
4103
4385
|
static ImageReferenceConverter: ReactUnity.Styling.Converters.StyleConverterBase;
|
|
4386
|
+
static SpriteSourceConverter: ReactUnity.Styling.Converters.StyleConverterBase;
|
|
4104
4387
|
static ImageSourceConverter: ReactUnity.Styling.Converters.StyleConverterBase;
|
|
4105
4388
|
static TextReferenceConverter: ReactUnity.Styling.Converters.StyleConverterBase;
|
|
4106
4389
|
static AudioReferenceConverter: ReactUnity.Styling.Converters.StyleConverterBase;
|
|
@@ -4122,8 +4405,11 @@ export declare namespace ReactUnity {
|
|
|
4122
4405
|
}
|
|
4123
4406
|
class BoolConverter {
|
|
4124
4407
|
constructor(truthyValues: string[], falsyValues: string[]);
|
|
4408
|
+
StringifyInternal(value: any): string;
|
|
4409
|
+
StringifyTyped(value: boolean): string;
|
|
4125
4410
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
4126
4411
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
4412
|
+
Stringify(value: any): string;
|
|
4127
4413
|
Equals(obj: any): boolean;
|
|
4128
4414
|
GetHashCode(): number;
|
|
4129
4415
|
GetType(): System.Type;
|
|
@@ -4131,8 +4417,11 @@ export declare namespace ReactUnity {
|
|
|
4131
4417
|
}
|
|
4132
4418
|
class ColorConverter {
|
|
4133
4419
|
constructor();
|
|
4420
|
+
StringifyTyped(value: UnityEngine.Color): string;
|
|
4421
|
+
StringifyInternal(value: any): string;
|
|
4134
4422
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
4135
4423
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
4424
|
+
Stringify(value: any): string;
|
|
4136
4425
|
Equals(obj: any): boolean;
|
|
4137
4426
|
GetHashCode(): number;
|
|
4138
4427
|
GetType(): System.Type;
|
|
@@ -4146,6 +4435,8 @@ export declare namespace ReactUnity {
|
|
|
4146
4435
|
KeywordOnly: boolean;
|
|
4147
4436
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
4148
4437
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
4438
|
+
Stringify(value: any): string;
|
|
4439
|
+
StringifyInternal(value: any): string;
|
|
4149
4440
|
Equals(obj: any): boolean;
|
|
4150
4441
|
GetHashCode(): number;
|
|
4151
4442
|
GetType(): System.Type;
|
|
@@ -4153,11 +4444,14 @@ export declare namespace ReactUnity {
|
|
|
4153
4444
|
}
|
|
4154
4445
|
class FloatConverter {
|
|
4155
4446
|
constructor();
|
|
4156
|
-
constructor(suffixMap: Record<string, number>, suffixMapper?: Record<string, ((
|
|
4447
|
+
constructor(suffixMap: Record<string, number>, suffixMapper?: Record<string, ((arg: number) => any)>, allowSuffixless?: boolean);
|
|
4157
4448
|
AllowSuffixless: boolean;
|
|
4158
4449
|
CalcConverter: ReactUnity.Styling.Converters.CalcConverter;
|
|
4450
|
+
StringifyTyped(value: number): string;
|
|
4451
|
+
StringifyInternal(value: any): string;
|
|
4159
4452
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
4160
4453
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
4454
|
+
Stringify(value: any): string;
|
|
4161
4455
|
Equals(obj: any): boolean;
|
|
4162
4456
|
GetHashCode(): number;
|
|
4163
4457
|
GetType(): System.Type;
|
|
@@ -4167,8 +4461,11 @@ export declare namespace ReactUnity {
|
|
|
4167
4461
|
constructor();
|
|
4168
4462
|
AllowSuffixless: boolean;
|
|
4169
4463
|
CalcConverter: ReactUnity.Styling.Converters.CalcConverter;
|
|
4464
|
+
StringifyTyped(value: number): string;
|
|
4465
|
+
StringifyInternal(value: any): string;
|
|
4170
4466
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
4171
4467
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
4468
|
+
Stringify(value: any): string;
|
|
4172
4469
|
Equals(obj: any): boolean;
|
|
4173
4470
|
GetHashCode(): number;
|
|
4174
4471
|
GetType(): System.Type;
|
|
@@ -4178,8 +4475,11 @@ export declare namespace ReactUnity {
|
|
|
4178
4475
|
constructor();
|
|
4179
4476
|
AllowSuffixless: boolean;
|
|
4180
4477
|
CalcConverter: ReactUnity.Styling.Converters.CalcConverter;
|
|
4478
|
+
StringifyTyped(value: number): string;
|
|
4479
|
+
StringifyInternal(value: any): string;
|
|
4181
4480
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
4182
4481
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
4482
|
+
Stringify(value: any): string;
|
|
4183
4483
|
Equals(obj: any): boolean;
|
|
4184
4484
|
GetHashCode(): number;
|
|
4185
4485
|
GetType(): System.Type;
|
|
@@ -4189,8 +4489,11 @@ export declare namespace ReactUnity {
|
|
|
4189
4489
|
constructor();
|
|
4190
4490
|
AllowSuffixless: boolean;
|
|
4191
4491
|
CalcConverter: ReactUnity.Styling.Converters.CalcConverter;
|
|
4492
|
+
StringifyTyped(value: number): string;
|
|
4493
|
+
StringifyInternal(value: any): string;
|
|
4192
4494
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
4193
4495
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
4496
|
+
Stringify(value: any): string;
|
|
4194
4497
|
Equals(obj: any): boolean;
|
|
4195
4498
|
GetHashCode(): number;
|
|
4196
4499
|
GetType(): System.Type;
|
|
@@ -4200,8 +4503,11 @@ export declare namespace ReactUnity {
|
|
|
4200
4503
|
constructor();
|
|
4201
4504
|
AllowSuffixless: boolean;
|
|
4202
4505
|
CalcConverter: ReactUnity.Styling.Converters.CalcConverter;
|
|
4506
|
+
StringifyTyped(value: number): string;
|
|
4507
|
+
StringifyInternal(value: any): string;
|
|
4203
4508
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
4204
4509
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
4510
|
+
Stringify(value: any): string;
|
|
4205
4511
|
Equals(obj: any): boolean;
|
|
4206
4512
|
GetHashCode(): number;
|
|
4207
4513
|
GetType(): System.Type;
|
|
@@ -4211,8 +4517,11 @@ export declare namespace ReactUnity {
|
|
|
4211
4517
|
constructor();
|
|
4212
4518
|
AllowSuffixless: boolean;
|
|
4213
4519
|
CalcConverter: ReactUnity.Styling.Converters.CalcConverter;
|
|
4520
|
+
StringifyTyped(value: number): string;
|
|
4521
|
+
StringifyInternal(value: any): string;
|
|
4214
4522
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
4215
4523
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
4524
|
+
Stringify(value: any): string;
|
|
4216
4525
|
Equals(obj: any): boolean;
|
|
4217
4526
|
GetHashCode(): number;
|
|
4218
4527
|
GetType(): System.Type;
|
|
@@ -4222,8 +4531,11 @@ export declare namespace ReactUnity {
|
|
|
4222
4531
|
constructor();
|
|
4223
4532
|
AllowSuffixless: boolean;
|
|
4224
4533
|
CalcConverter: ReactUnity.Styling.Converters.CalcConverter;
|
|
4534
|
+
StringifyTyped(value: number): string;
|
|
4535
|
+
StringifyInternal(value: any): string;
|
|
4225
4536
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
4226
4537
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
4538
|
+
Stringify(value: any): string;
|
|
4227
4539
|
Equals(obj: any): boolean;
|
|
4228
4540
|
GetHashCode(): number;
|
|
4229
4541
|
GetType(): System.Type;
|
|
@@ -4234,8 +4546,11 @@ export declare namespace ReactUnity {
|
|
|
4234
4546
|
BaseConverter: ReactUnity.Styling.Converters.FloatConverter;
|
|
4235
4547
|
BasePercentage: boolean;
|
|
4236
4548
|
AllowsUnitless: boolean;
|
|
4549
|
+
StringifyInternal(value: any): string;
|
|
4550
|
+
StringifyTyped(value: ReactUnity.Styling.Computed.ComputedCalc_CalcValue): string;
|
|
4237
4551
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
4238
4552
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
4553
|
+
Stringify(value: any): string;
|
|
4239
4554
|
Equals(obj: any): boolean;
|
|
4240
4555
|
GetHashCode(): number;
|
|
4241
4556
|
GetType(): System.Type;
|
|
@@ -4249,8 +4564,11 @@ export declare namespace ReactUnity {
|
|
|
4249
4564
|
Min: number;
|
|
4250
4565
|
Max: number;
|
|
4251
4566
|
FloatConverter: ReactUnity.Styling.Converters.StyleConverterBase;
|
|
4567
|
+
StringifyInternal(value: any): string;
|
|
4568
|
+
StringifyTyped(value: number): string;
|
|
4252
4569
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
4253
4570
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
4571
|
+
Stringify(value: any): string;
|
|
4254
4572
|
Equals(obj: any): boolean;
|
|
4255
4573
|
GetHashCode(): number;
|
|
4256
4574
|
GetType(): System.Type;
|
|
@@ -4264,8 +4582,20 @@ export declare namespace ReactUnity {
|
|
|
4264
4582
|
Min: number;
|
|
4265
4583
|
Max: number;
|
|
4266
4584
|
FloatConverter: ReactUnity.Styling.Converters.StyleConverterBase;
|
|
4585
|
+
StringifyInternal(value: any): string;
|
|
4586
|
+
StringifyTyped(value: number): string;
|
|
4267
4587
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
4268
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;
|
|
4269
4599
|
Equals(obj: any): boolean;
|
|
4270
4600
|
GetHashCode(): number;
|
|
4271
4601
|
GetType(): System.Type;
|
|
@@ -4274,8 +4604,11 @@ export declare namespace ReactUnity {
|
|
|
4274
4604
|
class StringConverter {
|
|
4275
4605
|
constructor();
|
|
4276
4606
|
static Normalize(value: string): string;
|
|
4607
|
+
StringifyInternal(value: any): string;
|
|
4608
|
+
StringifyTyped(value: string): string;
|
|
4277
4609
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
4278
4610
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
4611
|
+
Stringify(value: any): string;
|
|
4279
4612
|
Equals(obj: any): boolean;
|
|
4280
4613
|
GetHashCode(): number;
|
|
4281
4614
|
GetType(): System.Type;
|
|
@@ -4283,11 +4616,14 @@ export declare namespace ReactUnity {
|
|
|
4283
4616
|
}
|
|
4284
4617
|
interface IStyleConverter {
|
|
4285
4618
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
4619
|
+
Stringify(value: any): string;
|
|
4286
4620
|
}
|
|
4287
4621
|
class StyleConverterBase {
|
|
4288
4622
|
constructor();
|
|
4289
4623
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
4290
4624
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
4625
|
+
Stringify(value: any): string;
|
|
4626
|
+
StringifyInternal(value: any): string;
|
|
4291
4627
|
Equals(obj: any): boolean;
|
|
4292
4628
|
GetHashCode(): number;
|
|
4293
4629
|
GetType(): System.Type;
|
|
@@ -4295,8 +4631,11 @@ export declare namespace ReactUnity {
|
|
|
4295
4631
|
}
|
|
4296
4632
|
class TypedStyleConverterBase<T = any> {
|
|
4297
4633
|
constructor();
|
|
4634
|
+
StringifyInternal(value: any): string;
|
|
4635
|
+
StringifyTyped(value: T): string;
|
|
4298
4636
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
4299
4637
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
4638
|
+
Stringify(value: any): string;
|
|
4300
4639
|
Equals(obj: any): boolean;
|
|
4301
4640
|
GetHashCode(): number;
|
|
4302
4641
|
GetType(): System.Type;
|
|
@@ -4306,6 +4645,8 @@ export declare namespace ReactUnity {
|
|
|
4306
4645
|
constructor();
|
|
4307
4646
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
4308
4647
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
4648
|
+
Stringify(value: any): string;
|
|
4649
|
+
StringifyInternal(value: any): string;
|
|
4309
4650
|
Equals(obj: any): boolean;
|
|
4310
4651
|
GetHashCode(): number;
|
|
4311
4652
|
GetType(): System.Type;
|
|
@@ -4316,15 +4657,20 @@ export declare namespace ReactUnity {
|
|
|
4316
4657
|
AllowLiterals: boolean;
|
|
4317
4658
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
4318
4659
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
4660
|
+
Stringify(value: any): string;
|
|
4661
|
+
StringifyInternal(value: any): string;
|
|
4319
4662
|
Equals(obj: any): boolean;
|
|
4320
4663
|
GetHashCode(): number;
|
|
4321
4664
|
GetType(): System.Type;
|
|
4322
4665
|
ToString(): string;
|
|
4323
4666
|
}
|
|
4324
4667
|
class Vector3Converter {
|
|
4325
|
-
constructor(singleValueMode?: ((
|
|
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;
|
|
4326
4671
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
4327
4672
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
4673
|
+
Stringify(value: any): string;
|
|
4328
4674
|
Equals(obj: any): boolean;
|
|
4329
4675
|
GetHashCode(): number;
|
|
4330
4676
|
GetType(): System.Type;
|
|
@@ -4334,8 +4680,11 @@ export declare namespace ReactUnity {
|
|
|
4334
4680
|
constructor(allowHorizontal?: boolean, allowVertical?: boolean);
|
|
4335
4681
|
static Horizontal: ReactUnity.Styling.Converters.YogaValueConverter;
|
|
4336
4682
|
static Vertical: ReactUnity.Styling.Converters.YogaValueConverter;
|
|
4683
|
+
StringifyInternal(value: any): string;
|
|
4684
|
+
StringifyTyped(value: Facebook.Yoga.YogaValue): string;
|
|
4337
4685
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
4338
4686
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
4687
|
+
Stringify(value: any): string;
|
|
4339
4688
|
Equals(obj: any): boolean;
|
|
4340
4689
|
GetHashCode(): number;
|
|
4341
4690
|
GetType(): System.Type;
|
|
@@ -4597,8 +4946,11 @@ export declare namespace ReactUnity {
|
|
|
4597
4946
|
class BaseConverter<AssetType = any, T = any> {
|
|
4598
4947
|
constructor(allowWithoutUrl?: boolean);
|
|
4599
4948
|
AllowWithoutUrl: boolean;
|
|
4949
|
+
StringifyInternal(value: any): string;
|
|
4950
|
+
StringifyTyped(value: T): string;
|
|
4600
4951
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
4601
4952
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
4953
|
+
Stringify(value: any): string;
|
|
4602
4954
|
Equals(obj: any): boolean;
|
|
4603
4955
|
GetHashCode(): number;
|
|
4604
4956
|
GetType(): System.Type;
|
|
@@ -4611,7 +4963,7 @@ export declare namespace ReactUnity {
|
|
|
4611
4963
|
Value: any;
|
|
4612
4964
|
static None: ReactUnity.Types.AudioReference;
|
|
4613
4965
|
Dispose(): void;
|
|
4614
|
-
Get(context: ReactUnity.ReactContext, callback: ((
|
|
4966
|
+
Get(context: ReactUnity.ReactContext, callback: ((obj: UnityEngine.AudioClip) => void)): void;
|
|
4615
4967
|
Equals(obj: any): boolean;
|
|
4616
4968
|
GetHashCode(): number;
|
|
4617
4969
|
GetType(): System.Type;
|
|
@@ -4729,17 +5081,17 @@ export declare namespace ReactUnity {
|
|
|
4729
5081
|
CopyTo(array: T[]): void;
|
|
4730
5082
|
CopyTo(index: number, array: T[], arrayIndex: number, count: number): void;
|
|
4731
5083
|
CopyTo(array: T[], arrayIndex: number): void;
|
|
4732
|
-
Exists(match:
|
|
4733
|
-
Find(match:
|
|
4734
|
-
FindAll(match:
|
|
4735
|
-
FindIndex(match:
|
|
4736
|
-
FindIndex(startIndex: number, match:
|
|
4737
|
-
FindIndex(startIndex: number, count: number, match:
|
|
4738
|
-
FindLast(match:
|
|
4739
|
-
FindLastIndex(match:
|
|
4740
|
-
FindLastIndex(startIndex: number, match:
|
|
4741
|
-
FindLastIndex(startIndex: number, count: number, match:
|
|
4742
|
-
ForEach(action: ((
|
|
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;
|
|
4743
5095
|
GetEnumerator(): System.Collections.Generic.List<T>;
|
|
4744
5096
|
GetRange(index: number, count: number): T[];
|
|
4745
5097
|
IndexOf(item: T): number;
|
|
@@ -4751,7 +5103,7 @@ export declare namespace ReactUnity {
|
|
|
4751
5103
|
LastIndexOf(item: T, index: number): number;
|
|
4752
5104
|
LastIndexOf(item: T, index: number, count: number): number;
|
|
4753
5105
|
Remove(item: T): boolean;
|
|
4754
|
-
RemoveAll(match:
|
|
5106
|
+
RemoveAll(match: ((obj: T) => boolean)): number;
|
|
4755
5107
|
RemoveAt(index: number): void;
|
|
4756
5108
|
RemoveRange(index: number, count: number): void;
|
|
4757
5109
|
Reverse(): void;
|
|
@@ -4759,10 +5111,10 @@ export declare namespace ReactUnity {
|
|
|
4759
5111
|
Sort(): void;
|
|
4760
5112
|
Sort(comparer: System.Collections.Generic.IComparer<T>): void;
|
|
4761
5113
|
Sort(index: number, count: number, comparer: System.Collections.Generic.IComparer<T>): void;
|
|
4762
|
-
Sort(comparison:
|
|
5114
|
+
Sort(comparison: ((x: T, y: T) => number)): void;
|
|
4763
5115
|
ToArray(): T[];
|
|
4764
5116
|
TrimExcess(): void;
|
|
4765
|
-
TrueForAll(match:
|
|
5117
|
+
TrueForAll(match: ((obj: T) => boolean)): boolean;
|
|
4766
5118
|
Equals(obj: any): boolean;
|
|
4767
5119
|
GetHashCode(): number;
|
|
4768
5120
|
GetType(): System.Type;
|
|
@@ -4820,7 +5172,7 @@ export declare namespace ReactUnity {
|
|
|
4820
5172
|
Type: ReactUnity.Types.AssetReferenceType;
|
|
4821
5173
|
Value: any;
|
|
4822
5174
|
static None: ReactUnity.Types.FontReference;
|
|
4823
|
-
Get(context: ReactUnity.ReactContext, callback: ((
|
|
5175
|
+
Get(context: ReactUnity.ReactContext, callback: ((obj: ReactUnity.Types.FontSource) => void)): void;
|
|
4824
5176
|
Dispose(): void;
|
|
4825
5177
|
Equals(obj: any): boolean;
|
|
4826
5178
|
GetHashCode(): number;
|
|
@@ -4904,7 +5256,7 @@ export declare namespace ReactUnity {
|
|
|
4904
5256
|
ToString(): string;
|
|
4905
5257
|
}
|
|
4906
5258
|
class ImageDefinition {
|
|
4907
|
-
static
|
|
5259
|
+
static NoImage: ReactUnity.Types.ImageDefinition;
|
|
4908
5260
|
SizeUpdatesGraphic: boolean;
|
|
4909
5261
|
Equals(obj: any): boolean;
|
|
4910
5262
|
GetHashCode(): number;
|
|
@@ -4937,7 +5289,7 @@ export declare namespace ReactUnity {
|
|
|
4937
5289
|
Value: any;
|
|
4938
5290
|
static None: ReactUnity.Types.ImageReference;
|
|
4939
5291
|
Dispose(): void;
|
|
4940
|
-
Get(context: ReactUnity.ReactContext, callback: ((
|
|
5292
|
+
Get(context: ReactUnity.ReactContext, callback: ((obj: UnityEngine.Texture2D) => void)): void;
|
|
4941
5293
|
Equals(obj: any): boolean;
|
|
4942
5294
|
GetHashCode(): number;
|
|
4943
5295
|
GetType(): System.Type;
|
|
@@ -4969,6 +5321,20 @@ export declare namespace ReactUnity {
|
|
|
4969
5321
|
Vertical = 2,
|
|
4970
5322
|
Both = 3
|
|
4971
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
|
+
}
|
|
4972
5338
|
class TextReference {
|
|
4973
5339
|
constructor(type: ReactUnity.Types.AssetReferenceType, value: any);
|
|
4974
5340
|
constructor(url: ReactUnity.Types.Url);
|
|
@@ -4976,7 +5342,7 @@ export declare namespace ReactUnity {
|
|
|
4976
5342
|
Value: any;
|
|
4977
5343
|
static None: ReactUnity.Types.TextReference;
|
|
4978
5344
|
Dispose(): void;
|
|
4979
|
-
Get(context: ReactUnity.ReactContext, callback: ((
|
|
5345
|
+
Get(context: ReactUnity.ReactContext, callback: ((obj: UnityEngine.TextAsset) => void)): void;
|
|
4980
5346
|
Equals(obj: any): boolean;
|
|
4981
5347
|
GetHashCode(): number;
|
|
4982
5348
|
GetType(): System.Type;
|
|
@@ -4995,7 +5361,7 @@ export declare namespace ReactUnity {
|
|
|
4995
5361
|
FullUrl: string;
|
|
4996
5362
|
NormalizedUrl: string;
|
|
4997
5363
|
HasKnownProtocol: boolean;
|
|
4998
|
-
GetData():
|
|
5364
|
+
GetData(): Byte[];
|
|
4999
5365
|
Equals(obj: any): boolean;
|
|
5000
5366
|
GetHashCode(): number;
|
|
5001
5367
|
GetType(): System.Type;
|
|
@@ -5028,7 +5394,7 @@ export declare namespace ReactUnity {
|
|
|
5028
5394
|
Type: ReactUnity.Types.AssetReferenceType;
|
|
5029
5395
|
Value: any;
|
|
5030
5396
|
static None: ReactUnity.Types.VideoReference;
|
|
5031
|
-
Get(context: ReactUnity.ReactContext, callback: ((
|
|
5397
|
+
Get(context: ReactUnity.ReactContext, callback: ((obj: ReactUnity.Types.VideoComponentSource) => void)): void;
|
|
5032
5398
|
Dispose(): void;
|
|
5033
5399
|
Equals(obj: any): boolean;
|
|
5034
5400
|
GetHashCode(): number;
|
|
@@ -5059,8 +5425,11 @@ export declare namespace ReactUnity {
|
|
|
5059
5425
|
class AudioReference_Converter {
|
|
5060
5426
|
constructor(allowWithoutUrl?: boolean);
|
|
5061
5427
|
AllowWithoutUrl: boolean;
|
|
5428
|
+
StringifyInternal(value: any): string;
|
|
5429
|
+
StringifyTyped(value: ReactUnity.Types.AudioReference): string;
|
|
5062
5430
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
5063
5431
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
5432
|
+
Stringify(value: any): string;
|
|
5064
5433
|
Equals(obj: any): boolean;
|
|
5065
5434
|
GetHashCode(): number;
|
|
5066
5435
|
GetType(): System.Type;
|
|
@@ -5070,6 +5439,8 @@ export declare namespace ReactUnity {
|
|
|
5070
5439
|
constructor();
|
|
5071
5440
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
5072
5441
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
5442
|
+
Stringify(value: any): string;
|
|
5443
|
+
StringifyInternal(value: any): string;
|
|
5073
5444
|
Equals(obj: any): boolean;
|
|
5074
5445
|
GetHashCode(): number;
|
|
5075
5446
|
GetType(): System.Type;
|
|
@@ -5081,6 +5452,8 @@ export declare namespace ReactUnity {
|
|
|
5081
5452
|
static FloatParser: ReactUnity.Styling.Converters.StyleConverterBase;
|
|
5082
5453
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
5083
5454
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
5455
|
+
Stringify(value: any): string;
|
|
5456
|
+
StringifyInternal(value: any): string;
|
|
5084
5457
|
Equals(obj: any): boolean;
|
|
5085
5458
|
GetHashCode(): number;
|
|
5086
5459
|
GetType(): System.Type;
|
|
@@ -5088,8 +5461,11 @@ export declare namespace ReactUnity {
|
|
|
5088
5461
|
}
|
|
5089
5462
|
class Cursor_Converter {
|
|
5090
5463
|
constructor();
|
|
5464
|
+
StringifyInternal(value: any): string;
|
|
5465
|
+
StringifyTyped(value: ReactUnity.Types.Cursor): string;
|
|
5091
5466
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
5092
5467
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
5468
|
+
Stringify(value: any): string;
|
|
5093
5469
|
Equals(obj: any): boolean;
|
|
5094
5470
|
GetHashCode(): number;
|
|
5095
5471
|
GetType(): System.Type;
|
|
@@ -5098,8 +5474,11 @@ export declare namespace ReactUnity {
|
|
|
5098
5474
|
class FontReference_Converter {
|
|
5099
5475
|
constructor(allowWithoutUrl?: boolean);
|
|
5100
5476
|
AllowWithoutUrl: boolean;
|
|
5477
|
+
StringifyInternal(value: any): string;
|
|
5478
|
+
StringifyTyped(value: ReactUnity.Types.FontReference): string;
|
|
5101
5479
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
5102
5480
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
5481
|
+
Stringify(value: any): string;
|
|
5103
5482
|
Equals(obj: any): boolean;
|
|
5104
5483
|
GetHashCode(): number;
|
|
5105
5484
|
GetType(): System.Type;
|
|
@@ -5128,8 +5507,11 @@ export declare namespace ReactUnity {
|
|
|
5128
5507
|
}
|
|
5129
5508
|
class ImageDefinition_Converter {
|
|
5130
5509
|
constructor();
|
|
5510
|
+
StringifyInternal(value: any): string;
|
|
5511
|
+
StringifyTyped(value: ReactUnity.Types.ImageDefinition): string;
|
|
5131
5512
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
5132
5513
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
5514
|
+
Stringify(value: any): string;
|
|
5133
5515
|
Equals(obj: any): boolean;
|
|
5134
5516
|
GetHashCode(): number;
|
|
5135
5517
|
GetType(): System.Type;
|
|
@@ -5138,8 +5520,24 @@ export declare namespace ReactUnity {
|
|
|
5138
5520
|
class ImageReference_Converter {
|
|
5139
5521
|
constructor(allowWithoutUrl?: boolean);
|
|
5140
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;
|
|
5141
5538
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
5142
5539
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
5540
|
+
Stringify(value: any): string;
|
|
5143
5541
|
Equals(obj: any): boolean;
|
|
5144
5542
|
GetHashCode(): number;
|
|
5145
5543
|
GetType(): System.Type;
|
|
@@ -5148,8 +5546,11 @@ export declare namespace ReactUnity {
|
|
|
5148
5546
|
class TextReference_Converter {
|
|
5149
5547
|
constructor(allowWithoutUrl?: boolean);
|
|
5150
5548
|
AllowWithoutUrl: boolean;
|
|
5549
|
+
StringifyInternal(value: any): string;
|
|
5550
|
+
StringifyTyped(value: ReactUnity.Types.TextReference): string;
|
|
5151
5551
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
5152
5552
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
5553
|
+
Stringify(value: any): string;
|
|
5153
5554
|
Equals(obj: any): boolean;
|
|
5154
5555
|
GetHashCode(): number;
|
|
5155
5556
|
GetType(): System.Type;
|
|
@@ -5158,8 +5559,11 @@ export declare namespace ReactUnity {
|
|
|
5158
5559
|
class VideoReference_Converter {
|
|
5159
5560
|
constructor(allowWithoutUrl?: boolean);
|
|
5160
5561
|
AllowWithoutUrl: boolean;
|
|
5562
|
+
StringifyInternal(value: any): string;
|
|
5563
|
+
StringifyTyped(value: ReactUnity.Types.VideoReference): string;
|
|
5161
5564
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
5162
5565
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
5566
|
+
Stringify(value: any): string;
|
|
5163
5567
|
Equals(obj: any): boolean;
|
|
5164
5568
|
GetHashCode(): number;
|
|
5165
5569
|
GetType(): System.Type;
|
|
@@ -5167,8 +5571,11 @@ export declare namespace ReactUnity {
|
|
|
5167
5571
|
}
|
|
5168
5572
|
class YogaValue2_Converter {
|
|
5169
5573
|
constructor(allowLiterals?: boolean, separator?: System.Char, singleValueAssignsBoth?: boolean);
|
|
5574
|
+
StringifyInternal(value: any): string;
|
|
5575
|
+
StringifyTyped(value: ReactUnity.Types.YogaValue2): string;
|
|
5170
5576
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
5171
5577
|
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
5578
|
+
Stringify(value: any): string;
|
|
5172
5579
|
Equals(obj: any): boolean;
|
|
5173
5580
|
GetHashCode(): number;
|
|
5174
5581
|
GetType(): System.Type;
|
|
@@ -5193,6 +5600,8 @@ export declare namespace ReactUnity {
|
|
|
5193
5600
|
Name: string;
|
|
5194
5601
|
ClientWidth: number;
|
|
5195
5602
|
ClientHeight: number;
|
|
5603
|
+
EventViewport: UnityEngine.RectTransform;
|
|
5604
|
+
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
5196
5605
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
5197
5606
|
Parent: ReactUnity.IContainerComponent;
|
|
5198
5607
|
Data: ReactUnity.Helpers.WatchableObjectRecord;
|
|
@@ -5250,7 +5659,7 @@ export declare namespace ReactUnity {
|
|
|
5250
5659
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
5251
5660
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
5252
5661
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
5253
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
5662
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
5254
5663
|
AddBefore(): void;
|
|
5255
5664
|
RemoveBefore(): void;
|
|
5256
5665
|
AddAfter(): void;
|
|
@@ -5265,10 +5674,8 @@ export declare namespace ReactUnity {
|
|
|
5265
5674
|
}
|
|
5266
5675
|
class BaseImageComponent {
|
|
5267
5676
|
constructor(context: ReactUnity.UGUI.UGUIContext, tag: string);
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
|
-
Graphic: UnityEngine.UI.MaskableGraphic;
|
|
5271
|
-
ReplacedElement: ReactUnity.UGUI.Behaviours.ReactReplacedElement;
|
|
5677
|
+
Replaced: ReactUnity.UGUI.BaseImageComponent_ReplacedImageHelper;
|
|
5678
|
+
Source: any;
|
|
5272
5679
|
GameObject: UnityEngine.GameObject;
|
|
5273
5680
|
RectTransform: UnityEngine.RectTransform;
|
|
5274
5681
|
Component: ReactUnity.UGUI.Behaviours.ReactElement;
|
|
@@ -5281,6 +5688,8 @@ export declare namespace ReactUnity {
|
|
|
5281
5688
|
Name: string;
|
|
5282
5689
|
ClientWidth: number;
|
|
5283
5690
|
ClientHeight: number;
|
|
5691
|
+
EventViewport: UnityEngine.RectTransform;
|
|
5692
|
+
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
5284
5693
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
5285
5694
|
Parent: ReactUnity.IContainerComponent;
|
|
5286
5695
|
Data: ReactUnity.Helpers.WatchableObjectRecord;
|
|
@@ -5336,7 +5745,7 @@ export declare namespace ReactUnity {
|
|
|
5336
5745
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
5337
5746
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
5338
5747
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
5339
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
5748
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
5340
5749
|
AddBefore(): void;
|
|
5341
5750
|
RemoveBefore(): void;
|
|
5342
5751
|
AddAfter(): void;
|
|
@@ -5353,10 +5762,8 @@ export declare namespace ReactUnity {
|
|
|
5353
5762
|
constructor(context: ReactUnity.UGUI.UGUIContext, tag: string);
|
|
5354
5763
|
RenderTexture: UnityEngine.RenderTexture;
|
|
5355
5764
|
Image: UnityEngine.UI.RawImage;
|
|
5356
|
-
|
|
5357
|
-
|
|
5358
|
-
ImageContainer: UnityEngine.GameObject;
|
|
5359
|
-
ReplacedElement: ReactUnity.UGUI.Behaviours.ReactReplacedElement;
|
|
5765
|
+
Replaced: ReactUnity.UGUI.BaseImageComponent_ReplacedImageHelper;
|
|
5766
|
+
Source: any;
|
|
5360
5767
|
GameObject: UnityEngine.GameObject;
|
|
5361
5768
|
RectTransform: UnityEngine.RectTransform;
|
|
5362
5769
|
Component: ReactUnity.UGUI.Behaviours.ReactElement;
|
|
@@ -5369,6 +5776,8 @@ export declare namespace ReactUnity {
|
|
|
5369
5776
|
Name: string;
|
|
5370
5777
|
ClientWidth: number;
|
|
5371
5778
|
ClientHeight: number;
|
|
5779
|
+
EventViewport: UnityEngine.RectTransform;
|
|
5780
|
+
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
5372
5781
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
5373
5782
|
Parent: ReactUnity.IContainerComponent;
|
|
5374
5783
|
Data: ReactUnity.Helpers.WatchableObjectRecord;
|
|
@@ -5424,7 +5833,7 @@ export declare namespace ReactUnity {
|
|
|
5424
5833
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
5425
5834
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
5426
5835
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
5427
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
5836
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
5428
5837
|
AddBefore(): void;
|
|
5429
5838
|
RemoveBefore(): void;
|
|
5430
5839
|
AddAfter(): void;
|
|
@@ -5453,6 +5862,8 @@ export declare namespace ReactUnity {
|
|
|
5453
5862
|
Name: string;
|
|
5454
5863
|
ClientWidth: number;
|
|
5455
5864
|
ClientHeight: number;
|
|
5865
|
+
EventViewport: UnityEngine.RectTransform;
|
|
5866
|
+
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
5456
5867
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
5457
5868
|
Parent: ReactUnity.IContainerComponent;
|
|
5458
5869
|
Data: ReactUnity.Helpers.WatchableObjectRecord;
|
|
@@ -5509,7 +5920,7 @@ export declare namespace ReactUnity {
|
|
|
5509
5920
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
5510
5921
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
5511
5922
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
5512
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
5923
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
5513
5924
|
AddBefore(): void;
|
|
5514
5925
|
RemoveBefore(): void;
|
|
5515
5926
|
AddAfter(): void;
|
|
@@ -5536,6 +5947,8 @@ export declare namespace ReactUnity {
|
|
|
5536
5947
|
Name: string;
|
|
5537
5948
|
ClientWidth: number;
|
|
5538
5949
|
ClientHeight: number;
|
|
5950
|
+
EventViewport: UnityEngine.RectTransform;
|
|
5951
|
+
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
5539
5952
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
5540
5953
|
Parent: ReactUnity.IContainerComponent;
|
|
5541
5954
|
Data: ReactUnity.Helpers.WatchableObjectRecord;
|
|
@@ -5591,7 +6004,7 @@ export declare namespace ReactUnity {
|
|
|
5591
6004
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
5592
6005
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
5593
6006
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
5594
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
6007
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
5595
6008
|
AddBefore(): void;
|
|
5596
6009
|
RemoveBefore(): void;
|
|
5597
6010
|
AddAfter(): void;
|
|
@@ -5621,6 +6034,8 @@ export declare namespace ReactUnity {
|
|
|
5621
6034
|
Name: string;
|
|
5622
6035
|
ClientWidth: number;
|
|
5623
6036
|
ClientHeight: number;
|
|
6037
|
+
EventViewport: UnityEngine.RectTransform;
|
|
6038
|
+
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
5624
6039
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
5625
6040
|
Parent: ReactUnity.IContainerComponent;
|
|
5626
6041
|
Data: ReactUnity.Helpers.WatchableObjectRecord;
|
|
@@ -5676,7 +6091,7 @@ export declare namespace ReactUnity {
|
|
|
5676
6091
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
5677
6092
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
5678
6093
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
5679
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
6094
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
5680
6095
|
AddBefore(): void;
|
|
5681
6096
|
RemoveBefore(): void;
|
|
5682
6097
|
AddAfter(): void;
|
|
@@ -5709,6 +6124,8 @@ export declare namespace ReactUnity {
|
|
|
5709
6124
|
Name: string;
|
|
5710
6125
|
ClientWidth: number;
|
|
5711
6126
|
ClientHeight: number;
|
|
6127
|
+
EventViewport: UnityEngine.RectTransform;
|
|
6128
|
+
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
5712
6129
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
5713
6130
|
Parent: ReactUnity.IContainerComponent;
|
|
5714
6131
|
Data: ReactUnity.Helpers.WatchableObjectRecord;
|
|
@@ -5767,7 +6184,7 @@ export declare namespace ReactUnity {
|
|
|
5767
6184
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
5768
6185
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
5769
6186
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
5770
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
6187
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
5771
6188
|
AddBefore(): void;
|
|
5772
6189
|
RemoveBefore(): void;
|
|
5773
6190
|
AddAfter(): void;
|
|
@@ -5783,10 +6200,8 @@ export declare namespace ReactUnity {
|
|
|
5783
6200
|
class ImageComponent {
|
|
5784
6201
|
constructor(context: ReactUnity.UGUI.UGUIContext, tag?: string);
|
|
5785
6202
|
Image: UnityEngine.UI.Image;
|
|
5786
|
-
|
|
5787
|
-
|
|
5788
|
-
ImageContainer: UnityEngine.GameObject;
|
|
5789
|
-
ReplacedElement: ReactUnity.UGUI.Behaviours.ReactReplacedElement;
|
|
6203
|
+
Replaced: ReactUnity.UGUI.BaseImageComponent_ReplacedImageHelper;
|
|
6204
|
+
Source: any;
|
|
5790
6205
|
GameObject: UnityEngine.GameObject;
|
|
5791
6206
|
RectTransform: UnityEngine.RectTransform;
|
|
5792
6207
|
Component: ReactUnity.UGUI.Behaviours.ReactElement;
|
|
@@ -5799,6 +6214,8 @@ export declare namespace ReactUnity {
|
|
|
5799
6214
|
Name: string;
|
|
5800
6215
|
ClientWidth: number;
|
|
5801
6216
|
ClientHeight: number;
|
|
6217
|
+
EventViewport: UnityEngine.RectTransform;
|
|
6218
|
+
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
5802
6219
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
5803
6220
|
Parent: ReactUnity.IContainerComponent;
|
|
5804
6221
|
Data: ReactUnity.Helpers.WatchableObjectRecord;
|
|
@@ -5854,7 +6271,7 @@ export declare namespace ReactUnity {
|
|
|
5854
6271
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
5855
6272
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
5856
6273
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
5857
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
6274
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
5858
6275
|
AddBefore(): void;
|
|
5859
6276
|
RemoveBefore(): void;
|
|
5860
6277
|
AddAfter(): void;
|
|
@@ -5890,6 +6307,8 @@ export declare namespace ReactUnity {
|
|
|
5890
6307
|
Name: string;
|
|
5891
6308
|
ClientWidth: number;
|
|
5892
6309
|
ClientHeight: number;
|
|
6310
|
+
EventViewport: UnityEngine.RectTransform;
|
|
6311
|
+
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
5893
6312
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
5894
6313
|
Parent: ReactUnity.IContainerComponent;
|
|
5895
6314
|
Data: ReactUnity.Helpers.WatchableObjectRecord;
|
|
@@ -5948,7 +6367,7 @@ export declare namespace ReactUnity {
|
|
|
5948
6367
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
5949
6368
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
5950
6369
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
5951
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
6370
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
5952
6371
|
AddBefore(): void;
|
|
5953
6372
|
RemoveBefore(): void;
|
|
5954
6373
|
AddAfter(): void;
|
|
@@ -5975,6 +6394,8 @@ export declare namespace ReactUnity {
|
|
|
5975
6394
|
Name: string;
|
|
5976
6395
|
ClientWidth: number;
|
|
5977
6396
|
ClientHeight: number;
|
|
6397
|
+
EventViewport: UnityEngine.RectTransform;
|
|
6398
|
+
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
5978
6399
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
5979
6400
|
Parent: ReactUnity.IContainerComponent;
|
|
5980
6401
|
Data: ReactUnity.Helpers.WatchableObjectRecord;
|
|
@@ -6031,7 +6452,7 @@ export declare namespace ReactUnity {
|
|
|
6031
6452
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
6032
6453
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
6033
6454
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
6034
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
6455
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
6035
6456
|
AddBefore(): void;
|
|
6036
6457
|
RemoveBefore(): void;
|
|
6037
6458
|
AddAfter(): void;
|
|
@@ -6048,10 +6469,8 @@ export declare namespace ReactUnity {
|
|
|
6048
6469
|
constructor(context: ReactUnity.UGUI.UGUIContext);
|
|
6049
6470
|
RenderTexture: UnityEngine.RenderTexture;
|
|
6050
6471
|
Image: UnityEngine.UI.RawImage;
|
|
6051
|
-
|
|
6052
|
-
|
|
6053
|
-
ImageContainer: UnityEngine.GameObject;
|
|
6054
|
-
ReplacedElement: ReactUnity.UGUI.Behaviours.ReactReplacedElement;
|
|
6472
|
+
Replaced: ReactUnity.UGUI.BaseImageComponent_ReplacedImageHelper;
|
|
6473
|
+
Source: any;
|
|
6055
6474
|
GameObject: UnityEngine.GameObject;
|
|
6056
6475
|
RectTransform: UnityEngine.RectTransform;
|
|
6057
6476
|
Component: ReactUnity.UGUI.Behaviours.ReactElement;
|
|
@@ -6064,6 +6483,8 @@ export declare namespace ReactUnity {
|
|
|
6064
6483
|
Name: string;
|
|
6065
6484
|
ClientWidth: number;
|
|
6066
6485
|
ClientHeight: number;
|
|
6486
|
+
EventViewport: UnityEngine.RectTransform;
|
|
6487
|
+
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
6067
6488
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
6068
6489
|
Parent: ReactUnity.IContainerComponent;
|
|
6069
6490
|
Data: ReactUnity.Helpers.WatchableObjectRecord;
|
|
@@ -6119,7 +6540,7 @@ export declare namespace ReactUnity {
|
|
|
6119
6540
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
6120
6541
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
6121
6542
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
6122
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
6543
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
6123
6544
|
AddBefore(): void;
|
|
6124
6545
|
RemoveBefore(): void;
|
|
6125
6546
|
AddAfter(): void;
|
|
@@ -6135,6 +6556,7 @@ export declare namespace ReactUnity {
|
|
|
6135
6556
|
class PortalComponent {
|
|
6136
6557
|
constructor(context: ReactUnity.UGUI.UGUIContext, tag?: string);
|
|
6137
6558
|
ShadowParent: ReactUnity.IReactComponent;
|
|
6559
|
+
Detached: boolean;
|
|
6138
6560
|
GameObject: UnityEngine.GameObject;
|
|
6139
6561
|
RectTransform: UnityEngine.RectTransform;
|
|
6140
6562
|
Component: ReactUnity.UGUI.Behaviours.ReactElement;
|
|
@@ -6147,6 +6569,8 @@ export declare namespace ReactUnity {
|
|
|
6147
6569
|
Name: string;
|
|
6148
6570
|
ClientWidth: number;
|
|
6149
6571
|
ClientHeight: number;
|
|
6572
|
+
EventViewport: UnityEngine.RectTransform;
|
|
6573
|
+
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
6150
6574
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
6151
6575
|
Parent: ReactUnity.IContainerComponent;
|
|
6152
6576
|
Data: ReactUnity.Helpers.WatchableObjectRecord;
|
|
@@ -6202,7 +6626,7 @@ export declare namespace ReactUnity {
|
|
|
6202
6626
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
6203
6627
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
6204
6628
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
6205
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
6629
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
6206
6630
|
AddBefore(): void;
|
|
6207
6631
|
RemoveBefore(): void;
|
|
6208
6632
|
AddAfter(): void;
|
|
@@ -6230,6 +6654,8 @@ export declare namespace ReactUnity {
|
|
|
6230
6654
|
Name: string;
|
|
6231
6655
|
ClientWidth: number;
|
|
6232
6656
|
ClientHeight: number;
|
|
6657
|
+
EventViewport: UnityEngine.RectTransform;
|
|
6658
|
+
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
6233
6659
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
6234
6660
|
Parent: ReactUnity.IContainerComponent;
|
|
6235
6661
|
Data: ReactUnity.Helpers.WatchableObjectRecord;
|
|
@@ -6285,7 +6711,7 @@ export declare namespace ReactUnity {
|
|
|
6285
6711
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
6286
6712
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
6287
6713
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
6288
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
6714
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
6289
6715
|
AddBefore(): void;
|
|
6290
6716
|
RemoveBefore(): void;
|
|
6291
6717
|
AddAfter(): void;
|
|
@@ -6301,10 +6727,8 @@ export declare namespace ReactUnity {
|
|
|
6301
6727
|
class RawImageComponent {
|
|
6302
6728
|
constructor(context: ReactUnity.UGUI.UGUIContext, tag?: string);
|
|
6303
6729
|
Image: UnityEngine.UI.RawImage;
|
|
6304
|
-
|
|
6305
|
-
|
|
6306
|
-
ImageContainer: UnityEngine.GameObject;
|
|
6307
|
-
ReplacedElement: ReactUnity.UGUI.Behaviours.ReactReplacedElement;
|
|
6730
|
+
Replaced: ReactUnity.UGUI.BaseImageComponent_ReplacedImageHelper;
|
|
6731
|
+
Source: any;
|
|
6308
6732
|
GameObject: UnityEngine.GameObject;
|
|
6309
6733
|
RectTransform: UnityEngine.RectTransform;
|
|
6310
6734
|
Component: ReactUnity.UGUI.Behaviours.ReactElement;
|
|
@@ -6317,6 +6741,8 @@ export declare namespace ReactUnity {
|
|
|
6317
6741
|
Name: string;
|
|
6318
6742
|
ClientWidth: number;
|
|
6319
6743
|
ClientHeight: number;
|
|
6744
|
+
EventViewport: UnityEngine.RectTransform;
|
|
6745
|
+
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
6320
6746
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
6321
6747
|
Parent: ReactUnity.IContainerComponent;
|
|
6322
6748
|
Data: ReactUnity.Helpers.WatchableObjectRecord;
|
|
@@ -6372,7 +6798,7 @@ export declare namespace ReactUnity {
|
|
|
6372
6798
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
6373
6799
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
6374
6800
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
6375
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
6801
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
6376
6802
|
AddBefore(): void;
|
|
6377
6803
|
RemoveBefore(): void;
|
|
6378
6804
|
AddAfter(): void;
|
|
@@ -6389,10 +6815,8 @@ export declare namespace ReactUnity {
|
|
|
6389
6815
|
constructor(context: ReactUnity.UGUI.UGUIContext);
|
|
6390
6816
|
RenderTexture: UnityEngine.RenderTexture;
|
|
6391
6817
|
Image: UnityEngine.UI.RawImage;
|
|
6392
|
-
|
|
6393
|
-
|
|
6394
|
-
ImageContainer: UnityEngine.GameObject;
|
|
6395
|
-
ReplacedElement: ReactUnity.UGUI.Behaviours.ReactReplacedElement;
|
|
6818
|
+
Replaced: ReactUnity.UGUI.BaseImageComponent_ReplacedImageHelper;
|
|
6819
|
+
Source: any;
|
|
6396
6820
|
GameObject: UnityEngine.GameObject;
|
|
6397
6821
|
RectTransform: UnityEngine.RectTransform;
|
|
6398
6822
|
Component: ReactUnity.UGUI.Behaviours.ReactElement;
|
|
@@ -6405,6 +6829,8 @@ export declare namespace ReactUnity {
|
|
|
6405
6829
|
Name: string;
|
|
6406
6830
|
ClientWidth: number;
|
|
6407
6831
|
ClientHeight: number;
|
|
6832
|
+
EventViewport: UnityEngine.RectTransform;
|
|
6833
|
+
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
6408
6834
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
6409
6835
|
Parent: ReactUnity.IContainerComponent;
|
|
6410
6836
|
Data: ReactUnity.Helpers.WatchableObjectRecord;
|
|
@@ -6460,7 +6886,7 @@ export declare namespace ReactUnity {
|
|
|
6460
6886
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
6461
6887
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
6462
6888
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
6463
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
6889
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
6464
6890
|
AddBefore(): void;
|
|
6465
6891
|
RemoveBefore(): void;
|
|
6466
6892
|
AddAfter(): void;
|
|
@@ -6490,6 +6916,8 @@ export declare namespace ReactUnity {
|
|
|
6490
6916
|
Name: string;
|
|
6491
6917
|
ClientWidth: number;
|
|
6492
6918
|
ClientHeight: number;
|
|
6919
|
+
EventViewport: UnityEngine.RectTransform;
|
|
6920
|
+
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
6493
6921
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
6494
6922
|
Parent: ReactUnity.IContainerComponent;
|
|
6495
6923
|
Data: ReactUnity.Helpers.WatchableObjectRecord;
|
|
@@ -6545,7 +6973,7 @@ export declare namespace ReactUnity {
|
|
|
6545
6973
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
6546
6974
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
6547
6975
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
6548
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
6976
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
6549
6977
|
AddBefore(): void;
|
|
6550
6978
|
RemoveBefore(): void;
|
|
6551
6979
|
AddAfter(): void;
|
|
@@ -6572,6 +7000,8 @@ export declare namespace ReactUnity {
|
|
|
6572
7000
|
Name: string;
|
|
6573
7001
|
ClientWidth: number;
|
|
6574
7002
|
ClientHeight: number;
|
|
7003
|
+
EventViewport: UnityEngine.RectTransform;
|
|
7004
|
+
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
6575
7005
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
6576
7006
|
Parent: ReactUnity.IContainerComponent;
|
|
6577
7007
|
Data: ReactUnity.Helpers.WatchableObjectRecord;
|
|
@@ -6627,7 +7057,7 @@ export declare namespace ReactUnity {
|
|
|
6627
7057
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
6628
7058
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
6629
7059
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
6630
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
7060
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
6631
7061
|
AddBefore(): void;
|
|
6632
7062
|
RemoveBefore(): void;
|
|
6633
7063
|
AddAfter(): void;
|
|
@@ -6662,6 +7092,8 @@ export declare namespace ReactUnity {
|
|
|
6662
7092
|
Name: string;
|
|
6663
7093
|
ClientWidth: number;
|
|
6664
7094
|
ClientHeight: number;
|
|
7095
|
+
EventViewport: UnityEngine.RectTransform;
|
|
7096
|
+
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
6665
7097
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
6666
7098
|
Parent: ReactUnity.IContainerComponent;
|
|
6667
7099
|
Data: ReactUnity.Helpers.WatchableObjectRecord;
|
|
@@ -6715,7 +7147,7 @@ export declare namespace ReactUnity {
|
|
|
6715
7147
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
6716
7148
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
6717
7149
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
6718
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
7150
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
6719
7151
|
AddBefore(): void;
|
|
6720
7152
|
RemoveBefore(): void;
|
|
6721
7153
|
AddAfter(): void;
|
|
@@ -6730,11 +7162,12 @@ export declare namespace ReactUnity {
|
|
|
6730
7162
|
}
|
|
6731
7163
|
class SvgComponent {
|
|
6732
7164
|
constructor(context: ReactUnity.UGUI.UGUIContext, tag?: string);
|
|
7165
|
+
Content: string;
|
|
7166
|
+
InnerContent: string;
|
|
7167
|
+
ResolvedContent: string;
|
|
6733
7168
|
Image: any;
|
|
6734
|
-
|
|
6735
|
-
|
|
6736
|
-
ImageContainer: UnityEngine.GameObject;
|
|
6737
|
-
ReplacedElement: ReactUnity.UGUI.Behaviours.ReactReplacedElement;
|
|
7169
|
+
Replaced: ReactUnity.UGUI.BaseImageComponent_ReplacedImageHelper;
|
|
7170
|
+
Source: any;
|
|
6738
7171
|
GameObject: UnityEngine.GameObject;
|
|
6739
7172
|
RectTransform: UnityEngine.RectTransform;
|
|
6740
7173
|
Component: ReactUnity.UGUI.Behaviours.ReactElement;
|
|
@@ -6747,6 +7180,8 @@ export declare namespace ReactUnity {
|
|
|
6747
7180
|
Name: string;
|
|
6748
7181
|
ClientWidth: number;
|
|
6749
7182
|
ClientHeight: number;
|
|
7183
|
+
EventViewport: UnityEngine.RectTransform;
|
|
7184
|
+
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
6750
7185
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
6751
7186
|
Parent: ReactUnity.IContainerComponent;
|
|
6752
7187
|
Data: ReactUnity.Helpers.WatchableObjectRecord;
|
|
@@ -6779,6 +7214,7 @@ export declare namespace ReactUnity {
|
|
|
6779
7214
|
ScrollWidth: number;
|
|
6780
7215
|
ScrollHeight: number;
|
|
6781
7216
|
SetProperty(propertyName: string, value: any): void;
|
|
7217
|
+
Update(): void;
|
|
6782
7218
|
AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
|
|
6783
7219
|
UpdateBackgroundGraphic(updateLayout: boolean, updateStyle: boolean): ReactUnity.UGUI.Internal.BorderAndBackground;
|
|
6784
7220
|
GetRelativePosition(x: number, y: number): UnityEngine.Vector2;
|
|
@@ -6786,7 +7222,6 @@ export declare namespace ReactUnity {
|
|
|
6786
7222
|
GetComponent(type: System.Type): any;
|
|
6787
7223
|
AddComponent(type: System.Type): any;
|
|
6788
7224
|
UpdateOrder(prev: number, current: number): boolean;
|
|
6789
|
-
Update(): void;
|
|
6790
7225
|
MarkForStyleResolving(recursive: boolean): void;
|
|
6791
7226
|
Remove(): void;
|
|
6792
7227
|
Destroy(recursive?: boolean): void;
|
|
@@ -6802,7 +7237,7 @@ export declare namespace ReactUnity {
|
|
|
6802
7237
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
6803
7238
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
6804
7239
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
6805
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
7240
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
6806
7241
|
AddBefore(): void;
|
|
6807
7242
|
RemoveBefore(): void;
|
|
6808
7243
|
AddAfter(): void;
|
|
@@ -6815,16 +7250,11 @@ export declare namespace ReactUnity {
|
|
|
6815
7250
|
GetType(): System.Type;
|
|
6816
7251
|
ToString(): string;
|
|
6817
7252
|
}
|
|
6818
|
-
class
|
|
6819
|
-
constructor(
|
|
6820
|
-
|
|
6821
|
-
|
|
6822
|
-
|
|
6823
|
-
Height: number;
|
|
6824
|
-
Measurer: ReactUnity.UGUI.Behaviours.TextMeasurer;
|
|
6825
|
-
LinkedTextWatcher: ReactUnity.UGUI.Behaviours.LinkedTextWatcher;
|
|
6826
|
-
Content: string;
|
|
6827
|
-
Font: ReactUnity.Types.FontReference;
|
|
7253
|
+
class SvgImageComponent {
|
|
7254
|
+
constructor(context: ReactUnity.UGUI.UGUIContext, tag?: string);
|
|
7255
|
+
Image: any;
|
|
7256
|
+
Replaced: ReactUnity.UGUI.BaseImageComponent_ReplacedImageHelper;
|
|
7257
|
+
Source: any;
|
|
6828
7258
|
GameObject: UnityEngine.GameObject;
|
|
6829
7259
|
RectTransform: UnityEngine.RectTransform;
|
|
6830
7260
|
Component: ReactUnity.UGUI.Behaviours.ReactElement;
|
|
@@ -6837,6 +7267,8 @@ export declare namespace ReactUnity {
|
|
|
6837
7267
|
Name: string;
|
|
6838
7268
|
ClientWidth: number;
|
|
6839
7269
|
ClientHeight: number;
|
|
7270
|
+
EventViewport: UnityEngine.RectTransform;
|
|
7271
|
+
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
6840
7272
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
6841
7273
|
Parent: ReactUnity.IContainerComponent;
|
|
6842
7274
|
Data: ReactUnity.Helpers.WatchableObjectRecord;
|
|
@@ -6868,8 +7300,7 @@ export declare namespace ReactUnity {
|
|
|
6868
7300
|
ScrollTop: number;
|
|
6869
7301
|
ScrollWidth: number;
|
|
6870
7302
|
ScrollHeight: number;
|
|
6871
|
-
|
|
6872
|
-
SetProperty(property: string, value: any): void;
|
|
7303
|
+
SetProperty(propertyName: string, value: any): void;
|
|
6873
7304
|
AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
|
|
6874
7305
|
UpdateBackgroundGraphic(updateLayout: boolean, updateStyle: boolean): ReactUnity.UGUI.Internal.BorderAndBackground;
|
|
6875
7306
|
GetRelativePosition(x: number, y: number): UnityEngine.Vector2;
|
|
@@ -6893,7 +7324,7 @@ export declare namespace ReactUnity {
|
|
|
6893
7324
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
6894
7325
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
6895
7326
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
6896
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
7327
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
6897
7328
|
AddBefore(): void;
|
|
6898
7329
|
RemoveBefore(): void;
|
|
6899
7330
|
AddAfter(): void;
|
|
@@ -6906,9 +7337,196 @@ export declare namespace ReactUnity {
|
|
|
6906
7337
|
GetType(): System.Type;
|
|
6907
7338
|
ToString(): string;
|
|
6908
7339
|
}
|
|
6909
|
-
class
|
|
6910
|
-
constructor(context: ReactUnity.UGUI.UGUIContext);
|
|
6911
|
-
|
|
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;
|
|
7350
|
+
GameObject: UnityEngine.GameObject;
|
|
7351
|
+
RectTransform: UnityEngine.RectTransform;
|
|
7352
|
+
Component: ReactUnity.UGUI.Behaviours.ReactElement;
|
|
7353
|
+
BorderAndBackground: ReactUnity.UGUI.Internal.BorderAndBackground;
|
|
7354
|
+
OverflowMask: ReactUnity.UGUI.Internal.MaskAndImage;
|
|
7355
|
+
Selectable: UnityEngine.UI.Selectable;
|
|
7356
|
+
CanvasGroup: UnityEngine.CanvasGroup;
|
|
7357
|
+
Canvas: UnityEngine.Canvas;
|
|
7358
|
+
Container: UnityEngine.RectTransform;
|
|
7359
|
+
Name: string;
|
|
7360
|
+
ClientWidth: number;
|
|
7361
|
+
ClientHeight: number;
|
|
7362
|
+
EventViewport: UnityEngine.RectTransform;
|
|
7363
|
+
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
7364
|
+
Context: ReactUnity.UGUI.UGUIContext;
|
|
7365
|
+
Parent: ReactUnity.IContainerComponent;
|
|
7366
|
+
Data: ReactUnity.Helpers.WatchableObjectRecord;
|
|
7367
|
+
Layout: Facebook.Yoga.YogaNode;
|
|
7368
|
+
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
7369
|
+
StyleState: ReactUnity.Styling.StyleState;
|
|
7370
|
+
StateStyles: ReactUnity.Styling.StateStyles;
|
|
7371
|
+
Style: InlineStyleRemap;
|
|
7372
|
+
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
7373
|
+
ParentIndex: number;
|
|
7374
|
+
CurrentOrder: number;
|
|
7375
|
+
Entering: boolean;
|
|
7376
|
+
Leaving: boolean;
|
|
7377
|
+
Destroyed: boolean;
|
|
7378
|
+
IsPseudoElement: boolean;
|
|
7379
|
+
Tag: string;
|
|
7380
|
+
TextContent: string;
|
|
7381
|
+
ClassName: string;
|
|
7382
|
+
ClassList: ReactUnity.Helpers.ClassList;
|
|
7383
|
+
Id: string;
|
|
7384
|
+
RefId: number;
|
|
7385
|
+
IsContainer: boolean;
|
|
7386
|
+
Children: ReactUnity.IReactComponent[];
|
|
7387
|
+
BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
|
|
7388
|
+
AfterRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
|
|
7389
|
+
BeforePseudo: ReactUnity.IReactComponent;
|
|
7390
|
+
AfterPseudo: ReactUnity.IReactComponent;
|
|
7391
|
+
ScrollLeft: number;
|
|
7392
|
+
ScrollTop: number;
|
|
7393
|
+
ScrollWidth: number;
|
|
7394
|
+
ScrollHeight: number;
|
|
7395
|
+
SetText(text: string): void;
|
|
7396
|
+
SetProperty(property: string, value: any): void;
|
|
7397
|
+
GetLinkInfo(eventData: UnityEngine.EventSystems.PointerEventData): string;
|
|
7398
|
+
AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
|
|
7399
|
+
UpdateBackgroundGraphic(updateLayout: boolean, updateStyle: boolean): ReactUnity.UGUI.Internal.BorderAndBackground;
|
|
7400
|
+
GetRelativePosition(x: number, y: number): UnityEngine.Vector2;
|
|
7401
|
+
GetBoundingClientRect(): UnityEngine.Rect;
|
|
7402
|
+
GetComponent(type: System.Type): any;
|
|
7403
|
+
AddComponent(type: System.Type): any;
|
|
7404
|
+
UpdateOrder(prev: number, current: number): boolean;
|
|
7405
|
+
Update(): void;
|
|
7406
|
+
MarkForStyleResolving(recursive: boolean): void;
|
|
7407
|
+
Remove(): void;
|
|
7408
|
+
Destroy(recursive?: boolean): void;
|
|
7409
|
+
SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
|
|
7410
|
+
SetEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): void;
|
|
7411
|
+
FireEvent(eventName: string, arg: any): void;
|
|
7412
|
+
SetData(propertyName: string, value: any): void;
|
|
7413
|
+
ResolveStyle(recursive?: boolean): void;
|
|
7414
|
+
MarkStyleUpdateWithSiblings(recursive: boolean): void;
|
|
7415
|
+
ApplyStyles(): void;
|
|
7416
|
+
ApplyLayoutStyles(): void;
|
|
7417
|
+
Matches(query: string): boolean;
|
|
7418
|
+
Closest(query: string): ReactUnity.IReactComponent;
|
|
7419
|
+
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
7420
|
+
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
7421
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
7422
|
+
AddBefore(): void;
|
|
7423
|
+
RemoveBefore(): void;
|
|
7424
|
+
AddAfter(): void;
|
|
7425
|
+
RemoveAfter(): void;
|
|
7426
|
+
RegisterChild(child: ReactUnity.IReactComponent, index?: number): void;
|
|
7427
|
+
UnregisterChild(child: ReactUnity.IReactComponent): void;
|
|
7428
|
+
Clear(): void;
|
|
7429
|
+
Equals(obj: any): boolean;
|
|
7430
|
+
GetHashCode(): number;
|
|
7431
|
+
GetType(): System.Type;
|
|
7432
|
+
ToString(): string;
|
|
7433
|
+
}
|
|
7434
|
+
class RichTextComponent {
|
|
7435
|
+
constructor(text: string, context: ReactUnity.UGUI.UGUIContext, tag: string);
|
|
7436
|
+
Text: any;
|
|
7437
|
+
Width: number;
|
|
7438
|
+
Height: number;
|
|
7439
|
+
Measurer: ReactUnity.UGUI.Behaviours.TextMeasurer;
|
|
7440
|
+
LinkedTextWatcher: ReactUnity.UGUI.Behaviours.LinkedTextWatcher;
|
|
7441
|
+
Content: string;
|
|
7442
|
+
Font: ReactUnity.Types.FontReference;
|
|
7443
|
+
GameObject: UnityEngine.GameObject;
|
|
7444
|
+
RectTransform: UnityEngine.RectTransform;
|
|
7445
|
+
Component: ReactUnity.UGUI.Behaviours.ReactElement;
|
|
7446
|
+
BorderAndBackground: ReactUnity.UGUI.Internal.BorderAndBackground;
|
|
7447
|
+
OverflowMask: ReactUnity.UGUI.Internal.MaskAndImage;
|
|
7448
|
+
Selectable: UnityEngine.UI.Selectable;
|
|
7449
|
+
CanvasGroup: UnityEngine.CanvasGroup;
|
|
7450
|
+
Canvas: UnityEngine.Canvas;
|
|
7451
|
+
Container: UnityEngine.RectTransform;
|
|
7452
|
+
Name: string;
|
|
7453
|
+
ClientWidth: number;
|
|
7454
|
+
ClientHeight: number;
|
|
7455
|
+
EventViewport: UnityEngine.RectTransform;
|
|
7456
|
+
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
7457
|
+
Context: ReactUnity.UGUI.UGUIContext;
|
|
7458
|
+
Parent: ReactUnity.IContainerComponent;
|
|
7459
|
+
Data: ReactUnity.Helpers.WatchableObjectRecord;
|
|
7460
|
+
Layout: Facebook.Yoga.YogaNode;
|
|
7461
|
+
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
7462
|
+
StyleState: ReactUnity.Styling.StyleState;
|
|
7463
|
+
StateStyles: ReactUnity.Styling.StateStyles;
|
|
7464
|
+
Style: InlineStyleRemap;
|
|
7465
|
+
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
7466
|
+
ParentIndex: number;
|
|
7467
|
+
CurrentOrder: number;
|
|
7468
|
+
Entering: boolean;
|
|
7469
|
+
Leaving: boolean;
|
|
7470
|
+
Destroyed: boolean;
|
|
7471
|
+
IsPseudoElement: boolean;
|
|
7472
|
+
Tag: string;
|
|
7473
|
+
TextContent: string;
|
|
7474
|
+
ClassName: string;
|
|
7475
|
+
ClassList: ReactUnity.Helpers.ClassList;
|
|
7476
|
+
Id: string;
|
|
7477
|
+
RefId: number;
|
|
7478
|
+
IsContainer: boolean;
|
|
7479
|
+
Children: ReactUnity.IReactComponent[];
|
|
7480
|
+
BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
|
|
7481
|
+
AfterRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
|
|
7482
|
+
BeforePseudo: ReactUnity.IReactComponent;
|
|
7483
|
+
AfterPseudo: ReactUnity.IReactComponent;
|
|
7484
|
+
ScrollLeft: number;
|
|
7485
|
+
ScrollTop: number;
|
|
7486
|
+
ScrollWidth: number;
|
|
7487
|
+
ScrollHeight: number;
|
|
7488
|
+
SetText(text: string): void;
|
|
7489
|
+
SetProperty(property: string, value: any): void;
|
|
7490
|
+
GetLinkInfo(eventData: UnityEngine.EventSystems.PointerEventData): string;
|
|
7491
|
+
AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
|
|
7492
|
+
UpdateBackgroundGraphic(updateLayout: boolean, updateStyle: boolean): ReactUnity.UGUI.Internal.BorderAndBackground;
|
|
7493
|
+
GetRelativePosition(x: number, y: number): UnityEngine.Vector2;
|
|
7494
|
+
GetBoundingClientRect(): UnityEngine.Rect;
|
|
7495
|
+
GetComponent(type: System.Type): any;
|
|
7496
|
+
AddComponent(type: System.Type): any;
|
|
7497
|
+
UpdateOrder(prev: number, current: number): boolean;
|
|
7498
|
+
Update(): void;
|
|
7499
|
+
MarkForStyleResolving(recursive: boolean): void;
|
|
7500
|
+
Remove(): void;
|
|
7501
|
+
Destroy(recursive?: boolean): void;
|
|
7502
|
+
SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
|
|
7503
|
+
SetEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): void;
|
|
7504
|
+
FireEvent(eventName: string, arg: any): void;
|
|
7505
|
+
SetData(propertyName: string, value: any): void;
|
|
7506
|
+
ResolveStyle(recursive?: boolean): void;
|
|
7507
|
+
MarkStyleUpdateWithSiblings(recursive: boolean): void;
|
|
7508
|
+
ApplyStyles(): void;
|
|
7509
|
+
ApplyLayoutStyles(): void;
|
|
7510
|
+
Matches(query: string): boolean;
|
|
7511
|
+
Closest(query: string): ReactUnity.IReactComponent;
|
|
7512
|
+
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
7513
|
+
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
7514
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
7515
|
+
AddBefore(): void;
|
|
7516
|
+
RemoveBefore(): void;
|
|
7517
|
+
AddAfter(): void;
|
|
7518
|
+
RemoveAfter(): void;
|
|
7519
|
+
RegisterChild(child: ReactUnity.IReactComponent, index?: number): void;
|
|
7520
|
+
UnregisterChild(child: ReactUnity.IReactComponent): void;
|
|
7521
|
+
Clear(): void;
|
|
7522
|
+
Equals(obj: any): boolean;
|
|
7523
|
+
GetHashCode(): number;
|
|
7524
|
+
GetType(): System.Type;
|
|
7525
|
+
ToString(): string;
|
|
7526
|
+
}
|
|
7527
|
+
class ToggleComponent {
|
|
7528
|
+
constructor(context: ReactUnity.UGUI.UGUIContext);
|
|
7529
|
+
Value: any;
|
|
6912
7530
|
Toggle: UnityEngine.UI.Toggle;
|
|
6913
7531
|
Checked: boolean;
|
|
6914
7532
|
Indeterminate: boolean;
|
|
@@ -6925,6 +7543,8 @@ export declare namespace ReactUnity {
|
|
|
6925
7543
|
Name: string;
|
|
6926
7544
|
ClientWidth: number;
|
|
6927
7545
|
ClientHeight: number;
|
|
7546
|
+
EventViewport: UnityEngine.RectTransform;
|
|
7547
|
+
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
6928
7548
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
6929
7549
|
Parent: ReactUnity.IContainerComponent;
|
|
6930
7550
|
Data: ReactUnity.Helpers.WatchableObjectRecord;
|
|
@@ -6982,7 +7602,7 @@ export declare namespace ReactUnity {
|
|
|
6982
7602
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
6983
7603
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
6984
7604
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
6985
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
7605
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
6986
7606
|
AddBefore(): void;
|
|
6987
7607
|
RemoveBefore(): void;
|
|
6988
7608
|
AddAfter(): void;
|
|
@@ -7008,6 +7628,8 @@ export declare namespace ReactUnity {
|
|
|
7008
7628
|
Name: string;
|
|
7009
7629
|
ClientWidth: number;
|
|
7010
7630
|
ClientHeight: number;
|
|
7631
|
+
EventViewport: UnityEngine.RectTransform;
|
|
7632
|
+
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
7011
7633
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
7012
7634
|
Parent: ReactUnity.IContainerComponent;
|
|
7013
7635
|
Data: ReactUnity.Helpers.WatchableObjectRecord;
|
|
@@ -7063,7 +7685,7 @@ export declare namespace ReactUnity {
|
|
|
7063
7685
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
7064
7686
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
7065
7687
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
7066
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
7688
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
7067
7689
|
AddBefore(): void;
|
|
7068
7690
|
RemoveBefore(): void;
|
|
7069
7691
|
AddAfter(): void;
|
|
@@ -7080,10 +7702,8 @@ export declare namespace ReactUnity {
|
|
|
7080
7702
|
constructor(context: ReactUnity.UGUI.UGUIContext);
|
|
7081
7703
|
RenderTexture: UnityEngine.RenderTexture;
|
|
7082
7704
|
Image: UnityEngine.UI.RawImage;
|
|
7083
|
-
|
|
7084
|
-
|
|
7085
|
-
ImageContainer: UnityEngine.GameObject;
|
|
7086
|
-
ReplacedElement: ReactUnity.UGUI.Behaviours.ReactReplacedElement;
|
|
7705
|
+
Replaced: ReactUnity.UGUI.BaseImageComponent_ReplacedImageHelper;
|
|
7706
|
+
Source: any;
|
|
7087
7707
|
GameObject: UnityEngine.GameObject;
|
|
7088
7708
|
RectTransform: UnityEngine.RectTransform;
|
|
7089
7709
|
Component: ReactUnity.UGUI.Behaviours.ReactElement;
|
|
@@ -7096,6 +7716,8 @@ export declare namespace ReactUnity {
|
|
|
7096
7716
|
Name: string;
|
|
7097
7717
|
ClientWidth: number;
|
|
7098
7718
|
ClientHeight: number;
|
|
7719
|
+
EventViewport: UnityEngine.RectTransform;
|
|
7720
|
+
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
7099
7721
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
7100
7722
|
Parent: ReactUnity.IContainerComponent;
|
|
7101
7723
|
Data: ReactUnity.Helpers.WatchableObjectRecord;
|
|
@@ -7152,7 +7774,7 @@ export declare namespace ReactUnity {
|
|
|
7152
7774
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
7153
7775
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
7154
7776
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
7155
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
7777
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
7156
7778
|
AddBefore(): void;
|
|
7157
7779
|
RemoveBefore(): void;
|
|
7158
7780
|
AddAfter(): void;
|
|
@@ -7215,7 +7837,7 @@ export declare namespace ReactUnity {
|
|
|
7215
7837
|
AutoRender: boolean;
|
|
7216
7838
|
BeforeStart: UnityEngine.Events.UnityEvent;
|
|
7217
7839
|
AfterStart: UnityEngine.Events.UnityEvent;
|
|
7218
|
-
Render():
|
|
7840
|
+
Render(): ReactUnity.ReactUnityBase_WaitForRenderToComplete;
|
|
7219
7841
|
IsInvoking(): boolean;
|
|
7220
7842
|
CancelInvoke(): void;
|
|
7221
7843
|
Invoke(methodName: string, time: number): void;
|
|
@@ -7281,11 +7903,13 @@ export declare namespace ReactUnity {
|
|
|
7281
7903
|
DefaultIconSet: ReactUnity.Styling.IconSet;
|
|
7282
7904
|
IconSets: Record<string, ReactUnity.Styling.IconSet>;
|
|
7283
7905
|
CursorSet: ReactUnity.Styling.CursorSet;
|
|
7906
|
+
RootCanvas: UnityEngine.Canvas;
|
|
7284
7907
|
CalculatesLayout: boolean;
|
|
7285
7908
|
Host: ReactUnity.IHostComponent;
|
|
7286
7909
|
DetachedRoots: System.Collections.Generic.HashSet<ReactUnity.IReactComponent>;
|
|
7287
7910
|
Globals: ReactUnity.Helpers.GlobalRecord;
|
|
7288
7911
|
IsDisposed: boolean;
|
|
7912
|
+
IsEditorContext: boolean;
|
|
7289
7913
|
options: ReactUnity.ReactContext_Options;
|
|
7290
7914
|
Source: ReactUnity.ScriptSource;
|
|
7291
7915
|
Timer: ReactUnity.Scheduling.ITimer;
|
|
@@ -7300,30 +7924,43 @@ export declare namespace ReactUnity {
|
|
|
7300
7924
|
Html: ReactUnity.Html.HtmlContext;
|
|
7301
7925
|
CursorAPI: ReactUnity.Helpers.CursorAPI;
|
|
7302
7926
|
Disposables: (() => void)[];
|
|
7303
|
-
static defaultCreator: ((
|
|
7304
|
-
static textCreator: ((
|
|
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);
|
|
7305
7929
|
CreateDefaultComponent(tag: string, text: string): ReactUnity.IReactComponent;
|
|
7306
7930
|
CreateComponent(tag: string, text: string): ReactUnity.IReactComponent;
|
|
7307
7931
|
CreateText(text: string): ReactUnity.ITextComponent;
|
|
7308
7932
|
CreatePseudoComponent(tag: string): ReactUnity.IReactComponent;
|
|
7309
7933
|
PlayAudio(clip: UnityEngine.AudioClip): void;
|
|
7934
|
+
UpdateElementsRecursively(): void;
|
|
7310
7935
|
InsertStyle(style: string): ReactUnity.Styling.StyleSheet;
|
|
7311
7936
|
InsertStyle(style: string, importanceOffset: number): ReactUnity.Styling.StyleSheet;
|
|
7312
7937
|
InsertStyle(sheet: ReactUnity.Styling.StyleSheet): ReactUnity.Styling.StyleSheet;
|
|
7313
7938
|
RemoveStyle(sheet: ReactUnity.Styling.StyleSheet): void;
|
|
7314
7939
|
ResolvePath(path: string): string;
|
|
7315
7940
|
CreateStaticScript(path: string): ReactUnity.ScriptSource;
|
|
7316
|
-
Start(): void;
|
|
7941
|
+
Start(afterStart?: (() => void)): void;
|
|
7317
7942
|
Dispose(): void;
|
|
7943
|
+
BindCommands(commandsObject: any, callbacksObject: any, getObjectCallback: any, getEventAsObjectCallback: any): void;
|
|
7318
7944
|
SetRef(refId: number, cmp: ReactUnity.IReactComponent): void;
|
|
7319
7945
|
GetRef(refId: number, ensureUpdate?: boolean): ReactUnity.IReactComponent;
|
|
7320
|
-
BindCommands(commandsObject: any, callbacksObject: any, getObjectCallback: any, getEventAsObjectCallback: any): void;
|
|
7321
7946
|
FlushCommands(serializedCommands?: string): void;
|
|
7322
7947
|
Equals(obj: any): boolean;
|
|
7323
7948
|
GetHashCode(): number;
|
|
7324
7949
|
GetType(): System.Type;
|
|
7325
7950
|
ToString(): string;
|
|
7326
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
|
+
}
|
|
7327
7964
|
class UGUIContext_Options {
|
|
7328
7965
|
constructor();
|
|
7329
7966
|
CalculatesLayout: boolean;
|
|
@@ -7347,6 +7984,87 @@ export declare namespace ReactUnity {
|
|
|
7347
7984
|
ToString(): string;
|
|
7348
7985
|
}
|
|
7349
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
|
+
}
|
|
7350
8068
|
class ImageMeasurer {
|
|
7351
8069
|
constructor();
|
|
7352
8070
|
FitMode: ReactUnity.Types.ObjectFit;
|
|
@@ -7377,7 +8095,7 @@ export declare namespace ReactUnity {
|
|
|
7377
8095
|
Layout: Facebook.Yoga.YogaNode;
|
|
7378
8096
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
7379
8097
|
MarkDirty(): void;
|
|
7380
|
-
Measure(node: Facebook.Yoga.YogaNode, width: number,
|
|
8098
|
+
Measure(node: Facebook.Yoga.YogaNode, width: number, wm: Facebook.Yoga.YogaMeasureMode, height: number, hm: Facebook.Yoga.YogaMeasureMode): Facebook.Yoga.YogaSize;
|
|
7381
8099
|
IsInvoking(): boolean;
|
|
7382
8100
|
CancelInvoke(): void;
|
|
7383
8101
|
Invoke(methodName: string, time: number): void;
|
|
@@ -7657,6 +8375,7 @@ export declare namespace ReactUnity {
|
|
|
7657
8375
|
class ReactReplacedElement {
|
|
7658
8376
|
constructor();
|
|
7659
8377
|
Layout: Facebook.Yoga.YogaNode;
|
|
8378
|
+
Measurer: ReactUnity.UGUI.Behaviours.ImageMeasurer;
|
|
7660
8379
|
Position: ReactUnity.Types.YogaValue2;
|
|
7661
8380
|
useGUILayout: boolean;
|
|
7662
8381
|
runInEditMode: boolean;
|
|
@@ -8141,8 +8860,8 @@ export declare namespace ReactUnity {
|
|
|
8141
8860
|
}
|
|
8142
8861
|
class PrefabTarget_PrefabEvent {
|
|
8143
8862
|
constructor();
|
|
8144
|
-
AddListener(call:
|
|
8145
|
-
RemoveListener(call:
|
|
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;
|
|
8146
8865
|
Invoke(arg0: ReactUnity.UGUI.PrefabComponent, arg1: ReactUnity.UGUI.Behaviours.PrefabTarget): void;
|
|
8147
8866
|
GetPersistentEventCount(): number;
|
|
8148
8867
|
GetPersistentTarget(index: number): UnityEngine.Object;
|
|
@@ -8669,10 +9388,81 @@ export declare namespace ReactUnity {
|
|
|
8669
9388
|
Use(): void;
|
|
8670
9389
|
Equals(obj: any): boolean;
|
|
8671
9390
|
GetHashCode(): number;
|
|
8672
|
-
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;
|
|
8673
9462
|
ToString(): string;
|
|
9463
|
+
GetType(): System.Type;
|
|
8674
9464
|
}
|
|
8675
|
-
class
|
|
9465
|
+
class PointerClickHandler {
|
|
8676
9466
|
constructor();
|
|
8677
9467
|
useGUILayout: boolean;
|
|
8678
9468
|
runInEditMode: boolean;
|
|
@@ -8696,7 +9486,7 @@ export declare namespace ReactUnity {
|
|
|
8696
9486
|
particleSystem: UnityEngine.Component;
|
|
8697
9487
|
name: string;
|
|
8698
9488
|
hideFlags: UnityEngine.HideFlags;
|
|
8699
|
-
|
|
9489
|
+
OnPointerClick(eventData: UnityEngine.EventSystems.PointerEventData): void;
|
|
8700
9490
|
ClearListeners(): void;
|
|
8701
9491
|
IsInvoking(): boolean;
|
|
8702
9492
|
CancelInvoke(): void;
|
|
@@ -8743,7 +9533,7 @@ export declare namespace ReactUnity {
|
|
|
8743
9533
|
ToString(): string;
|
|
8744
9534
|
GetType(): System.Type;
|
|
8745
9535
|
}
|
|
8746
|
-
class
|
|
9536
|
+
class PointerDownHandler {
|
|
8747
9537
|
constructor();
|
|
8748
9538
|
useGUILayout: boolean;
|
|
8749
9539
|
runInEditMode: boolean;
|
|
@@ -8767,7 +9557,7 @@ export declare namespace ReactUnity {
|
|
|
8767
9557
|
particleSystem: UnityEngine.Component;
|
|
8768
9558
|
name: string;
|
|
8769
9559
|
hideFlags: UnityEngine.HideFlags;
|
|
8770
|
-
|
|
9560
|
+
OnPointerDown(eventData: UnityEngine.EventSystems.PointerEventData): void;
|
|
8771
9561
|
ClearListeners(): void;
|
|
8772
9562
|
IsInvoking(): boolean;
|
|
8773
9563
|
CancelInvoke(): void;
|
|
@@ -8814,7 +9604,7 @@ export declare namespace ReactUnity {
|
|
|
8814
9604
|
ToString(): string;
|
|
8815
9605
|
GetType(): System.Type;
|
|
8816
9606
|
}
|
|
8817
|
-
class
|
|
9607
|
+
class PointerEnterHandler {
|
|
8818
9608
|
constructor();
|
|
8819
9609
|
useGUILayout: boolean;
|
|
8820
9610
|
runInEditMode: boolean;
|
|
@@ -8838,7 +9628,7 @@ export declare namespace ReactUnity {
|
|
|
8838
9628
|
particleSystem: UnityEngine.Component;
|
|
8839
9629
|
name: string;
|
|
8840
9630
|
hideFlags: UnityEngine.HideFlags;
|
|
8841
|
-
|
|
9631
|
+
OnPointerEnter(eventData: UnityEngine.EventSystems.PointerEventData): void;
|
|
8842
9632
|
ClearListeners(): void;
|
|
8843
9633
|
IsInvoking(): boolean;
|
|
8844
9634
|
CancelInvoke(): void;
|
|
@@ -8885,7 +9675,7 @@ export declare namespace ReactUnity {
|
|
|
8885
9675
|
ToString(): string;
|
|
8886
9676
|
GetType(): System.Type;
|
|
8887
9677
|
}
|
|
8888
|
-
class
|
|
9678
|
+
class PointerExitHandler {
|
|
8889
9679
|
constructor();
|
|
8890
9680
|
useGUILayout: boolean;
|
|
8891
9681
|
runInEditMode: boolean;
|
|
@@ -8909,7 +9699,7 @@ export declare namespace ReactUnity {
|
|
|
8909
9699
|
particleSystem: UnityEngine.Component;
|
|
8910
9700
|
name: string;
|
|
8911
9701
|
hideFlags: UnityEngine.HideFlags;
|
|
8912
|
-
|
|
9702
|
+
OnPointerExit(eventData: UnityEngine.EventSystems.PointerEventData): void;
|
|
8913
9703
|
ClearListeners(): void;
|
|
8914
9704
|
IsInvoking(): boolean;
|
|
8915
9705
|
CancelInvoke(): void;
|
|
@@ -8956,7 +9746,7 @@ export declare namespace ReactUnity {
|
|
|
8956
9746
|
ToString(): string;
|
|
8957
9747
|
GetType(): System.Type;
|
|
8958
9748
|
}
|
|
8959
|
-
class
|
|
9749
|
+
class PointerMoveHandler {
|
|
8960
9750
|
constructor();
|
|
8961
9751
|
useGUILayout: boolean;
|
|
8962
9752
|
runInEditMode: boolean;
|
|
@@ -8980,6 +9770,7 @@ export declare namespace ReactUnity {
|
|
|
8980
9770
|
particleSystem: UnityEngine.Component;
|
|
8981
9771
|
name: string;
|
|
8982
9772
|
hideFlags: UnityEngine.HideFlags;
|
|
9773
|
+
OnPointerEnter(eventData: UnityEngine.EventSystems.PointerEventData): void;
|
|
8983
9774
|
OnPointerExit(eventData: UnityEngine.EventSystems.PointerEventData): void;
|
|
8984
9775
|
ClearListeners(): void;
|
|
8985
9776
|
IsInvoking(): boolean;
|
|
@@ -9607,6 +10398,7 @@ export declare namespace ReactUnity {
|
|
|
9607
10398
|
SetLayoutDirty(): void;
|
|
9608
10399
|
SetVerticesDirty(): void;
|
|
9609
10400
|
SetMaterialDirty(): void;
|
|
10401
|
+
SetRaycastDirty(): void;
|
|
9610
10402
|
OnCullingChanged(): void;
|
|
9611
10403
|
Rebuild(update: UnityEngine.UI.CanvasUpdate): void;
|
|
9612
10404
|
LayoutComplete(): void;
|
|
@@ -9618,12 +10410,12 @@ export declare namespace ReactUnity {
|
|
|
9618
10410
|
CrossFadeColor(targetColor: UnityEngine.Color, duration: number, ignoreTimeScale: boolean, useAlpha: boolean): void;
|
|
9619
10411
|
CrossFadeColor(targetColor: UnityEngine.Color, duration: number, ignoreTimeScale: boolean, useAlpha: boolean, useRGB: boolean): void;
|
|
9620
10412
|
CrossFadeAlpha(alpha: number, duration: number, ignoreTimeScale: boolean): void;
|
|
9621
|
-
RegisterDirtyLayoutCallback(action:
|
|
9622
|
-
UnregisterDirtyLayoutCallback(action:
|
|
9623
|
-
RegisterDirtyVerticesCallback(action:
|
|
9624
|
-
UnregisterDirtyVerticesCallback(action:
|
|
9625
|
-
RegisterDirtyMaterialCallback(action:
|
|
9626
|
-
UnregisterDirtyMaterialCallback(action:
|
|
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;
|
|
9627
10419
|
IsActive(): boolean;
|
|
9628
10420
|
IsDestroyed(): boolean;
|
|
9629
10421
|
IsInvoking(): boolean;
|
|
@@ -9758,6 +10550,7 @@ export declare namespace ReactUnity {
|
|
|
9758
10550
|
SetLayoutDirty(): void;
|
|
9759
10551
|
SetVerticesDirty(): void;
|
|
9760
10552
|
SetMaterialDirty(): void;
|
|
10553
|
+
SetRaycastDirty(): void;
|
|
9761
10554
|
OnCullingChanged(): void;
|
|
9762
10555
|
Rebuild(update: UnityEngine.UI.CanvasUpdate): void;
|
|
9763
10556
|
LayoutComplete(): void;
|
|
@@ -9769,12 +10562,12 @@ export declare namespace ReactUnity {
|
|
|
9769
10562
|
CrossFadeColor(targetColor: UnityEngine.Color, duration: number, ignoreTimeScale: boolean, useAlpha: boolean): void;
|
|
9770
10563
|
CrossFadeColor(targetColor: UnityEngine.Color, duration: number, ignoreTimeScale: boolean, useAlpha: boolean, useRGB: boolean): void;
|
|
9771
10564
|
CrossFadeAlpha(alpha: number, duration: number, ignoreTimeScale: boolean): void;
|
|
9772
|
-
RegisterDirtyLayoutCallback(action:
|
|
9773
|
-
UnregisterDirtyLayoutCallback(action:
|
|
9774
|
-
RegisterDirtyVerticesCallback(action:
|
|
9775
|
-
UnregisterDirtyVerticesCallback(action:
|
|
9776
|
-
RegisterDirtyMaterialCallback(action:
|
|
9777
|
-
UnregisterDirtyMaterialCallback(action:
|
|
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;
|
|
9778
10571
|
IsActive(): boolean;
|
|
9779
10572
|
IsDestroyed(): boolean;
|
|
9780
10573
|
IsInvoking(): boolean;
|
|
@@ -9861,7 +10654,7 @@ export declare namespace ReactUnity {
|
|
|
9861
10654
|
BackgroundGraphics: ReactUnity.UGUI.Internal.BackgroundImage[];
|
|
9862
10655
|
MaskGraphics: ReactUnity.UGUI.Internal.BackgroundImage[];
|
|
9863
10656
|
MaskRoot: UnityEngine.RectTransform;
|
|
9864
|
-
static Create(go: UnityEngine.GameObject, comp: ReactUnity.UGUI.UGUIComponent, setContainer: ((
|
|
10657
|
+
static Create(go: UnityEngine.GameObject, comp: ReactUnity.UGUI.UGUIComponent, setContainer: ((obj: UnityEngine.RectTransform) => void)): ReactUnity.UGUI.Internal.BorderAndBackground;
|
|
9865
10658
|
UpdateStyle(style: ReactUnity.Styling.NodeStyle): void;
|
|
9866
10659
|
UpdateLayout(layout: Facebook.Yoga.YogaNode): void;
|
|
9867
10660
|
IsInvoking(): boolean;
|
|
@@ -9992,6 +10785,7 @@ export declare namespace ReactUnity {
|
|
|
9992
10785
|
SetLayoutDirty(): void;
|
|
9993
10786
|
SetVerticesDirty(): void;
|
|
9994
10787
|
SetMaterialDirty(): void;
|
|
10788
|
+
SetRaycastDirty(): void;
|
|
9995
10789
|
OnCullingChanged(): void;
|
|
9996
10790
|
Rebuild(update: UnityEngine.UI.CanvasUpdate): void;
|
|
9997
10791
|
LayoutComplete(): void;
|
|
@@ -10003,12 +10797,12 @@ export declare namespace ReactUnity {
|
|
|
10003
10797
|
CrossFadeColor(targetColor: UnityEngine.Color, duration: number, ignoreTimeScale: boolean, useAlpha: boolean): void;
|
|
10004
10798
|
CrossFadeColor(targetColor: UnityEngine.Color, duration: number, ignoreTimeScale: boolean, useAlpha: boolean, useRGB: boolean): void;
|
|
10005
10799
|
CrossFadeAlpha(alpha: number, duration: number, ignoreTimeScale: boolean): void;
|
|
10006
|
-
RegisterDirtyLayoutCallback(action:
|
|
10007
|
-
UnregisterDirtyLayoutCallback(action:
|
|
10008
|
-
RegisterDirtyVerticesCallback(action:
|
|
10009
|
-
UnregisterDirtyVerticesCallback(action:
|
|
10010
|
-
RegisterDirtyMaterialCallback(action:
|
|
10011
|
-
UnregisterDirtyMaterialCallback(action:
|
|
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;
|
|
10012
10806
|
IsActive(): boolean;
|
|
10013
10807
|
IsDestroyed(): boolean;
|
|
10014
10808
|
IsInvoking(): boolean;
|
|
@@ -10210,6 +11004,7 @@ export declare namespace ReactUnity {
|
|
|
10210
11004
|
SetLayoutDirty(): void;
|
|
10211
11005
|
SetVerticesDirty(): void;
|
|
10212
11006
|
SetMaterialDirty(): void;
|
|
11007
|
+
SetRaycastDirty(): void;
|
|
10213
11008
|
OnCullingChanged(): void;
|
|
10214
11009
|
Rebuild(update: UnityEngine.UI.CanvasUpdate): void;
|
|
10215
11010
|
LayoutComplete(): void;
|
|
@@ -10221,12 +11016,12 @@ export declare namespace ReactUnity {
|
|
|
10221
11016
|
CrossFadeColor(targetColor: UnityEngine.Color, duration: number, ignoreTimeScale: boolean, useAlpha: boolean): void;
|
|
10222
11017
|
CrossFadeColor(targetColor: UnityEngine.Color, duration: number, ignoreTimeScale: boolean, useAlpha: boolean, useRGB: boolean): void;
|
|
10223
11018
|
CrossFadeAlpha(alpha: number, duration: number, ignoreTimeScale: boolean): void;
|
|
10224
|
-
RegisterDirtyLayoutCallback(action:
|
|
10225
|
-
UnregisterDirtyLayoutCallback(action:
|
|
10226
|
-
RegisterDirtyVerticesCallback(action:
|
|
10227
|
-
UnregisterDirtyVerticesCallback(action:
|
|
10228
|
-
RegisterDirtyMaterialCallback(action:
|
|
10229
|
-
UnregisterDirtyMaterialCallback(action:
|
|
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;
|
|
10230
11025
|
IsActive(): boolean;
|
|
10231
11026
|
IsDestroyed(): boolean;
|
|
10232
11027
|
IsInvoking(): boolean;
|
|
@@ -10351,6 +11146,7 @@ export declare namespace ReactUnity {
|
|
|
10351
11146
|
class CursorHandler {
|
|
10352
11147
|
constructor();
|
|
10353
11148
|
Cursor: ReactUnity.Types.ICssValueList<ReactUnity.Types.Cursor>;
|
|
11149
|
+
CursorShown: boolean;
|
|
10354
11150
|
useGUILayout: boolean;
|
|
10355
11151
|
runInEditMode: boolean;
|
|
10356
11152
|
enabled: boolean;
|
|
@@ -10708,6 +11504,78 @@ export declare namespace ReactUnity {
|
|
|
10708
11504
|
ToString(): string;
|
|
10709
11505
|
GetType(): System.Type;
|
|
10710
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
|
+
}
|
|
10711
11579
|
}
|
|
10712
11580
|
}
|
|
10713
11581
|
namespace UIToolkit {
|
|
@@ -10774,7 +11642,7 @@ export declare namespace ReactUnity {
|
|
|
10774
11642
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
10775
11643
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
10776
11644
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
10777
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
11645
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
10778
11646
|
AddBefore(): void;
|
|
10779
11647
|
RemoveBefore(): void;
|
|
10780
11648
|
AddAfter(): void;
|
|
@@ -10856,7 +11724,7 @@ export declare namespace ReactUnity {
|
|
|
10856
11724
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
10857
11725
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
10858
11726
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
10859
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
11727
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
10860
11728
|
AddBefore(): void;
|
|
10861
11729
|
RemoveBefore(): void;
|
|
10862
11730
|
AddAfter(): void;
|
|
@@ -10941,7 +11809,7 @@ export declare namespace ReactUnity {
|
|
|
10941
11809
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
10942
11810
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
10943
11811
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
10944
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
11812
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
10945
11813
|
AddBefore(): void;
|
|
10946
11814
|
RemoveBefore(): void;
|
|
10947
11815
|
AddAfter(): void;
|
|
@@ -11028,7 +11896,7 @@ export declare namespace ReactUnity {
|
|
|
11028
11896
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
11029
11897
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
11030
11898
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
11031
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
11899
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
11032
11900
|
AddBefore(): void;
|
|
11033
11901
|
RemoveBefore(): void;
|
|
11034
11902
|
AddAfter(): void;
|
|
@@ -11103,7 +11971,7 @@ export declare namespace ReactUnity {
|
|
|
11103
11971
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
11104
11972
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
11105
11973
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
11106
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
11974
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
11107
11975
|
AddBefore(): void;
|
|
11108
11976
|
RemoveBefore(): void;
|
|
11109
11977
|
AddAfter(): void;
|
|
@@ -11178,7 +12046,7 @@ export declare namespace ReactUnity {
|
|
|
11178
12046
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
11179
12047
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
11180
12048
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
11181
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
12049
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
11182
12050
|
AddBefore(): void;
|
|
11183
12051
|
RemoveBefore(): void;
|
|
11184
12052
|
AddAfter(): void;
|
|
@@ -11255,7 +12123,7 @@ export declare namespace ReactUnity {
|
|
|
11255
12123
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
11256
12124
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
11257
12125
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
11258
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
12126
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
11259
12127
|
AddBefore(): void;
|
|
11260
12128
|
RemoveBefore(): void;
|
|
11261
12129
|
AddAfter(): void;
|
|
@@ -11330,7 +12198,7 @@ export declare namespace ReactUnity {
|
|
|
11330
12198
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
11331
12199
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
11332
12200
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
11333
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
12201
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
11334
12202
|
AddBefore(): void;
|
|
11335
12203
|
RemoveBefore(): void;
|
|
11336
12204
|
AddAfter(): void;
|
|
@@ -11407,7 +12275,7 @@ export declare namespace ReactUnity {
|
|
|
11407
12275
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
11408
12276
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
11409
12277
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
11410
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
12278
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
11411
12279
|
AddBefore(): void;
|
|
11412
12280
|
RemoveBefore(): void;
|
|
11413
12281
|
AddAfter(): void;
|
|
@@ -11489,7 +12357,7 @@ export declare namespace ReactUnity {
|
|
|
11489
12357
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
11490
12358
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
11491
12359
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
11492
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
12360
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
11493
12361
|
AddBefore(): void;
|
|
11494
12362
|
RemoveBefore(): void;
|
|
11495
12363
|
AddAfter(): void;
|
|
@@ -11571,7 +12439,86 @@ export declare namespace ReactUnity {
|
|
|
11571
12439
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
11572
12440
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
11573
12441
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
11574
|
-
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;
|
|
11575
12522
|
AddBefore(): void;
|
|
11576
12523
|
RemoveBefore(): void;
|
|
11577
12524
|
AddAfter(): void;
|
|
@@ -11585,7 +12532,7 @@ export declare namespace ReactUnity {
|
|
|
11585
12532
|
ToString(): string;
|
|
11586
12533
|
}
|
|
11587
12534
|
class TextComponent<TElementType = any> {
|
|
11588
|
-
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);
|
|
11589
12536
|
Content: string;
|
|
11590
12537
|
Element: TElementType;
|
|
11591
12538
|
TargetElement: UnityEngine.UIElements.VisualElement;
|
|
@@ -11648,7 +12595,7 @@ export declare namespace ReactUnity {
|
|
|
11648
12595
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
11649
12596
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
11650
12597
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
11651
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
12598
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
11652
12599
|
AddBefore(): void;
|
|
11653
12600
|
RemoveBefore(): void;
|
|
11654
12601
|
AddAfter(): void;
|
|
@@ -11731,7 +12678,7 @@ export declare namespace ReactUnity {
|
|
|
11731
12678
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
11732
12679
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
11733
12680
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
11734
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
12681
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
11735
12682
|
AddBefore(): void;
|
|
11736
12683
|
RemoveBefore(): void;
|
|
11737
12684
|
AddAfter(): void;
|
|
@@ -11810,7 +12757,7 @@ export declare namespace ReactUnity {
|
|
|
11810
12757
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
11811
12758
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
11812
12759
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
11813
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
12760
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
11814
12761
|
AddBefore(): void;
|
|
11815
12762
|
RemoveBefore(): void;
|
|
11816
12763
|
AddAfter(): void;
|
|
@@ -11891,7 +12838,7 @@ export declare namespace ReactUnity {
|
|
|
11891
12838
|
Closest(query: string): ReactUnity.IReactComponent;
|
|
11892
12839
|
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
11893
12840
|
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
11894
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor): void;
|
|
12841
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
11895
12842
|
AddBefore(): void;
|
|
11896
12843
|
RemoveBefore(): void;
|
|
11897
12844
|
AddAfter(): void;
|
|
@@ -11937,7 +12884,7 @@ export declare namespace ReactUnity {
|
|
|
11937
12884
|
enabledInHierarchy: boolean;
|
|
11938
12885
|
enabledSelf: boolean;
|
|
11939
12886
|
visible: boolean;
|
|
11940
|
-
generateVisualContent: ((
|
|
12887
|
+
generateVisualContent: ((obj: UnityEngine.UIElements.MeshGenerationContext) => void);
|
|
11941
12888
|
experimental: UnityEngine.UIElements.IExperimentalFeatures;
|
|
11942
12889
|
hierarchy: UnityEngine.UIElements.VisualElement_Hierarchy;
|
|
11943
12890
|
cacheAsBitmap: boolean;
|
|
@@ -11983,7 +12930,7 @@ export declare namespace ReactUnity {
|
|
|
11983
12930
|
ElementAt(index: number): UnityEngine.UIElements.VisualElement;
|
|
11984
12931
|
IndexOf(element: UnityEngine.UIElements.VisualElement): number;
|
|
11985
12932
|
Children(): System.Collections.Generic.IEnumerable<UnityEngine.UIElements.VisualElement>;
|
|
11986
|
-
Sort(comp:
|
|
12933
|
+
Sort(comp: ((x: UnityEngine.UIElements.VisualElement, y: UnityEngine.UIElements.VisualElement) => number)): void;
|
|
11987
12934
|
BringToFront(): void;
|
|
11988
12935
|
SendToBack(): void;
|
|
11989
12936
|
PlaceBehind(sibling: UnityEngine.UIElements.VisualElement): void;
|
|
@@ -12037,7 +12984,7 @@ export declare namespace ReactUnity {
|
|
|
12037
12984
|
BeforeStart: UnityEngine.Events.UnityEvent;
|
|
12038
12985
|
AfterStart: UnityEngine.Events.UnityEvent;
|
|
12039
12986
|
PlayAudio(clip: UnityEngine.AudioClip): void;
|
|
12040
|
-
Render():
|
|
12987
|
+
Render(): ReactUnity.ReactUnityBase_WaitForRenderToComplete;
|
|
12041
12988
|
IsInvoking(): boolean;
|
|
12042
12989
|
CancelInvoke(): void;
|
|
12043
12990
|
Invoke(methodName: string, time: number): void;
|
|
@@ -12120,6 +13067,7 @@ export declare namespace ReactUnity {
|
|
|
12120
13067
|
DetachedRoots: System.Collections.Generic.HashSet<ReactUnity.IReactComponent>;
|
|
12121
13068
|
Globals: ReactUnity.Helpers.GlobalRecord;
|
|
12122
13069
|
IsDisposed: boolean;
|
|
13070
|
+
IsEditorContext: boolean;
|
|
12123
13071
|
options: ReactUnity.ReactContext_Options;
|
|
12124
13072
|
Source: ReactUnity.ScriptSource;
|
|
12125
13073
|
Timer: ReactUnity.Scheduling.ITimer;
|
|
@@ -12135,8 +13083,8 @@ export declare namespace ReactUnity {
|
|
|
12135
13083
|
CursorSet: ReactUnity.Styling.CursorSet;
|
|
12136
13084
|
CursorAPI: ReactUnity.Helpers.CursorAPI;
|
|
12137
13085
|
Disposables: (() => void)[];
|
|
12138
|
-
static defaultCreator: ((
|
|
12139
|
-
static textCreator: ((
|
|
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);
|
|
12140
13088
|
static ComponentCreators: any;
|
|
12141
13089
|
Initialize(): void;
|
|
12142
13090
|
CreateText(text: string): ReactUnity.ITextComponent;
|
|
@@ -12144,28 +13092,121 @@ export declare namespace ReactUnity {
|
|
|
12144
13092
|
CreateComponent(tag: string, text: string): ReactUnity.IReactComponent;
|
|
12145
13093
|
CreatePseudoComponent(tag: string): ReactUnity.IReactComponent;
|
|
12146
13094
|
PlayAudio(clip: UnityEngine.AudioClip): void;
|
|
13095
|
+
UpdateElementsRecursively(): void;
|
|
12147
13096
|
InsertStyle(style: string): ReactUnity.Styling.StyleSheet;
|
|
12148
13097
|
InsertStyle(style: string, importanceOffset: number): ReactUnity.Styling.StyleSheet;
|
|
12149
13098
|
InsertStyle(sheet: ReactUnity.Styling.StyleSheet): ReactUnity.Styling.StyleSheet;
|
|
12150
13099
|
RemoveStyle(sheet: ReactUnity.Styling.StyleSheet): void;
|
|
12151
13100
|
ResolvePath(path: string): string;
|
|
12152
13101
|
CreateStaticScript(path: string): ReactUnity.ScriptSource;
|
|
12153
|
-
Start(): void;
|
|
13102
|
+
Start(afterStart?: (() => void)): void;
|
|
12154
13103
|
Dispose(): void;
|
|
13104
|
+
BindCommands(commandsObject: any, callbacksObject: any, getObjectCallback: any, getEventAsObjectCallback: any): void;
|
|
12155
13105
|
SetRef(refId: number, cmp: ReactUnity.IReactComponent): void;
|
|
12156
13106
|
GetRef(refId: number, ensureUpdate?: boolean): ReactUnity.IReactComponent;
|
|
12157
|
-
BindCommands(commandsObject: any, callbacksObject: any, getObjectCallback: any, getEventAsObjectCallback: any): void;
|
|
12158
13107
|
FlushCommands(serializedCommands?: string): void;
|
|
12159
13108
|
Equals(obj: any): boolean;
|
|
12160
13109
|
GetHashCode(): number;
|
|
12161
13110
|
GetType(): System.Type;
|
|
12162
13111
|
ToString(): string;
|
|
12163
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
|
+
}
|
|
12164
13205
|
class UIToolkitContext_Options {
|
|
12165
13206
|
constructor();
|
|
12166
13207
|
CalculatesLayout: boolean;
|
|
12167
13208
|
HostElement: UnityEngine.UIElements.VisualElement;
|
|
12168
|
-
OnAudioPlayback: ((
|
|
13209
|
+
OnAudioPlayback: ((obj: UnityEngine.AudioClip) => void);
|
|
12169
13210
|
Globals: ReactUnity.Helpers.SerializableDictionary;
|
|
12170
13211
|
Source: ReactUnity.ScriptSource;
|
|
12171
13212
|
Timer: ReactUnity.Scheduling.ITimer;
|
|
@@ -12221,3 +13262,4 @@ export declare namespace ReactUnity {
|
|
|
12221
13262
|
}
|
|
12222
13263
|
}
|
|
12223
13264
|
}
|
|
13265
|
+
export {};
|