@reactunity/renderer 0.14.5 → 0.15.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 +2 -2
- package/dist/index.js +2 -2
- package/dist/src/helpers/dictionary-watcher.d.ts +1 -1
- package/dist/src/helpers/hooks/{use-watchable.d.ts → use-reactive-value.d.ts} +1 -1
- package/dist/src/helpers/hooks/{use-watchable.js → use-reactive-value.js} +8 -8
- package/dist/src/models/editor/jsx.d.ts +17 -14
- package/dist/src/models/environment/dom/global.d.ts +2 -0
- package/dist/src/models/environment/index.d.ts +2 -1
- package/dist/src/models/environment/index.js +1 -0
- package/dist/src/models/environment/interop.d.ts +3 -0
- package/dist/src/models/environment/jsx.d.ts +45 -0
- package/dist/src/models/environment/jsx.js +1 -0
- package/dist/src/models/generated/editor.js +1 -1
- package/dist/src/models/generated/react.d.ts +603 -354
- package/dist/src/models/generated/react.js +1 -1
- package/dist/src/models/generated/system.js +1 -1
- package/dist/src/models/generated/tests.js +1 -1
- package/dist/src/models/generated/unity.js +1 -1
- package/dist/src/models/generated/yoga.js +1 -1
- package/dist/src/models/properties/common.d.ts +2 -0
- package/dist/src/models/properties/common.js +1 -0
- package/dist/src/models/properties/index.d.ts +1 -0
- package/dist/src/models/properties/index.js +1 -0
- package/dist/src/models/properties/styles-enums.d.ts +0 -1
- package/dist/src/models/properties/styles.d.ts +2 -1
- package/dist/src/models/ugui/components.d.ts +3 -1
- package/dist/src/models/ugui/jsx.d.ts +18 -15
- package/dist/src/models/uitoolkit/components.d.ts +4 -1
- package/dist/src/models/uitoolkit/jsx.d.ts +17 -14
- package/dist/src/renderer/renderer.d.ts +4 -0
- package/dist/src/renderer/renderer.js +76 -69
- package/dist/src/version.d.ts +1 -1
- package/dist/src/version.js +1 -1
- package/dist/src/views/default-view.d.ts +1 -1
- package/dist/src/views/error-boundary.js +1 -1
- package/dist/src/webgl-compat/error-messages.d.ts +9 -0
- package/dist/src/webgl-compat/error-messages.js +10 -0
- package/dist/src/webgl-compat/index.d.ts +13 -0
- package/dist/src/webgl-compat/index.js +8 -0
- package/dist/src/webgl-compat/use-event-system.d.ts +8 -0
- package/dist/src/webgl-compat/use-event-system.js +64 -0
- package/dist/src/webgl-compat/use-unity-context.d.ts +4 -0
- package/dist/src/webgl-compat/use-unity-context.js +74 -0
- package/dist/webgl-compat.d.ts +1 -0
- package/dist/webgl-compat.js +1 -0
- package/package.json +8 -3
- package/webgl-compat.ts +1 -0
|
@@ -7,7 +7,7 @@ export declare namespace ReactUnity {
|
|
|
7
7
|
class BaseReactComponent<ContextType = any> {
|
|
8
8
|
Context: ContextType;
|
|
9
9
|
Parent: ReactUnity.IContainerComponent;
|
|
10
|
-
Data: ReactUnity.
|
|
10
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
11
11
|
Layout: Facebook.Yoga.YogaNode;
|
|
12
12
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
13
13
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -103,7 +103,7 @@ export declare namespace ReactUnity {
|
|
|
103
103
|
ClassName: string;
|
|
104
104
|
ClassList: ReactUnity.Helpers.ClassList;
|
|
105
105
|
StateStyles: ReactUnity.Styling.StateStyles;
|
|
106
|
-
Data: ReactUnity.
|
|
106
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
107
107
|
ParentIndex: number;
|
|
108
108
|
CurrentOrder: number;
|
|
109
109
|
RefId: number;
|
|
@@ -210,7 +210,7 @@ export declare namespace ReactUnity {
|
|
|
210
210
|
ClassName: string;
|
|
211
211
|
ClassList: ReactUnity.Helpers.ClassList;
|
|
212
212
|
StateStyles: ReactUnity.Styling.StateStyles;
|
|
213
|
-
Data: ReactUnity.
|
|
213
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
214
214
|
ParentIndex: number;
|
|
215
215
|
CurrentOrder: number;
|
|
216
216
|
ScrollLeft: number;
|
|
@@ -285,7 +285,7 @@ export declare namespace ReactUnity {
|
|
|
285
285
|
Content: string;
|
|
286
286
|
ClassList: ReactUnity.Helpers.ClassList;
|
|
287
287
|
StateStyles: ReactUnity.Styling.StateStyles;
|
|
288
|
-
Data: ReactUnity.
|
|
288
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
289
289
|
ParentIndex: number;
|
|
290
290
|
CurrentOrder: number;
|
|
291
291
|
ScrollLeft: number;
|
|
@@ -364,6 +364,7 @@ export declare namespace ReactUnity {
|
|
|
364
364
|
PlayAudio(clip: UnityEngine.AudioClip): void;
|
|
365
365
|
Start(afterStart?: (() => void)): void;
|
|
366
366
|
Dispose(): void;
|
|
367
|
+
HandleUnknownProperty(cmp: ReactUnity.IReactComponent, propertyName: string, value: any): void;
|
|
367
368
|
BindCommands(commandsObject: any, callbacksObject: any, getObjectCallback: any, getEventAsObjectCallback: any): void;
|
|
368
369
|
SetRef(refId: number, cmp: ReactUnity.IReactComponent): void;
|
|
369
370
|
GetRef(refId: number, ensureUpdate?: boolean): ReactUnity.IReactComponent;
|
|
@@ -378,10 +379,10 @@ export declare namespace ReactUnity {
|
|
|
378
379
|
GetType(): System.Type;
|
|
379
380
|
ToString(): string;
|
|
380
381
|
}
|
|
381
|
-
class
|
|
382
|
+
class ReactRendererBase {
|
|
382
383
|
MediaProvider: ReactUnity.Styling.Rules.IMediaProvider;
|
|
383
384
|
Context: ReactUnity.ReactContext;
|
|
384
|
-
|
|
385
|
+
Timer: ReactUnity.Scheduling.ITimer;
|
|
385
386
|
destroyCancellationToken: System.Threading.CancellationToken;
|
|
386
387
|
useGUILayout: boolean;
|
|
387
388
|
runInEditMode: boolean;
|
|
@@ -408,8 +409,8 @@ export declare namespace ReactUnity {
|
|
|
408
409
|
Source: ReactUnity.ScriptSource;
|
|
409
410
|
EngineType: ReactUnity.Scripting.JavascriptEngineType;
|
|
410
411
|
Globals: ReactUnity.Helpers.SerializableDictionary;
|
|
411
|
-
AdvancedOptions: ReactUnity.
|
|
412
|
-
Render(): ReactUnity.
|
|
412
|
+
AdvancedOptions: ReactUnity.ReactRendererBase_ReactAdvancedOptions;
|
|
413
|
+
Render(): ReactUnity.ReactRendererBase_WaitForRenderToComplete;
|
|
413
414
|
IsInvoking(): boolean;
|
|
414
415
|
CancelInvoke(): void;
|
|
415
416
|
Invoke(methodName: string, time: number): void;
|
|
@@ -494,8 +495,8 @@ export declare namespace ReactUnity {
|
|
|
494
495
|
ResourcesPath: string;
|
|
495
496
|
UseDevServer: ReactUnity.ScriptSource_DevServerType;
|
|
496
497
|
DevServer: string;
|
|
497
|
-
static Resource(path: string): ReactUnity.ScriptSource;
|
|
498
|
-
static Text(path: string): ReactUnity.ScriptSource;
|
|
498
|
+
static Resource(path: string, language?: ReactUnity.ScriptSourceLanguage): ReactUnity.ScriptSource;
|
|
499
|
+
static Text(path: string, language?: ReactUnity.ScriptSourceLanguage): ReactUnity.ScriptSource;
|
|
499
500
|
GetResolvedSourceUrl(useDevServer?: boolean): string;
|
|
500
501
|
GetScript(callback: ((obj: string) => void), dispatcher?: ReactUnity.Scheduling.IDispatcher, useDevServer?: boolean): System.IDisposable;
|
|
501
502
|
static WatchFileSystem(path: string, callback: ((obj: string) => void)): System.IDisposable;
|
|
@@ -543,7 +544,7 @@ export declare namespace ReactUnity {
|
|
|
543
544
|
ClassName: string;
|
|
544
545
|
ClassList: ReactUnity.Helpers.ClassList;
|
|
545
546
|
StateStyles: ReactUnity.Styling.StateStyles;
|
|
546
|
-
Data: ReactUnity.
|
|
547
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
547
548
|
ParentIndex: number;
|
|
548
549
|
CurrentOrder: number;
|
|
549
550
|
ScrollLeft: number;
|
|
@@ -639,6 +640,13 @@ export declare namespace ReactUnity {
|
|
|
639
640
|
Basic = 1,
|
|
640
641
|
All = 2
|
|
641
642
|
}
|
|
643
|
+
enum ReactContext_UnknownPropertyHandling {
|
|
644
|
+
None = 0,
|
|
645
|
+
Log = 1,
|
|
646
|
+
Warn = 2,
|
|
647
|
+
Error = 3,
|
|
648
|
+
Exception = 4
|
|
649
|
+
}
|
|
642
650
|
class ReactContext_Options {
|
|
643
651
|
constructor();
|
|
644
652
|
CalculatesLayout: boolean;
|
|
@@ -653,21 +661,23 @@ export declare namespace ReactUnity {
|
|
|
653
661
|
BeforeStart: (() => void);
|
|
654
662
|
AfterStart: (() => void);
|
|
655
663
|
Pooling: ReactUnity.ReactContext_PoolingType;
|
|
664
|
+
UnknownPropertyHandling: ReactUnity.ReactContext_UnknownPropertyHandling;
|
|
656
665
|
Equals(obj: any): boolean;
|
|
657
666
|
GetHashCode(): number;
|
|
658
667
|
GetType(): System.Type;
|
|
659
668
|
ToString(): string;
|
|
660
669
|
}
|
|
661
|
-
enum
|
|
670
|
+
enum ReactRendererBase_DebugMode {
|
|
662
671
|
None = 0,
|
|
663
672
|
Debug = 1,
|
|
664
673
|
DebugAndAwait = 2
|
|
665
674
|
}
|
|
666
|
-
class
|
|
675
|
+
class ReactRendererBase_ReactAdvancedOptions {
|
|
667
676
|
constructor();
|
|
668
677
|
Pooling: ReactUnity.ReactContext_PoolingType;
|
|
669
678
|
MediaUpdateInterval: number;
|
|
670
|
-
DebugMode: ReactUnity.
|
|
679
|
+
DebugMode: ReactUnity.ReactRendererBase_DebugMode;
|
|
680
|
+
UnknownPropertyHandling: ReactUnity.ReactContext_UnknownPropertyHandling;
|
|
671
681
|
AutoRender: boolean;
|
|
672
682
|
Stylesheets: UnityEngine.TextAsset[];
|
|
673
683
|
BeforeStart: UnityEngine.Events.UnityEvent;
|
|
@@ -677,7 +687,7 @@ export declare namespace ReactUnity {
|
|
|
677
687
|
GetType(): System.Type;
|
|
678
688
|
ToString(): string;
|
|
679
689
|
}
|
|
680
|
-
class
|
|
690
|
+
class ReactRendererBase_WaitForRenderToComplete {
|
|
681
691
|
constructor();
|
|
682
692
|
rendered: boolean;
|
|
683
693
|
keepWaiting: boolean;
|
|
@@ -993,6 +1003,7 @@ export declare namespace ReactUnity {
|
|
|
993
1003
|
static Instance: ReactUnity.Editor.EditorTimer;
|
|
994
1004
|
AnimationTime: number;
|
|
995
1005
|
TimeScale: number;
|
|
1006
|
+
Yield(advanceBy: number): any;
|
|
996
1007
|
Equals(obj: any): boolean;
|
|
997
1008
|
GetHashCode(): number;
|
|
998
1009
|
GetType(): System.Type;
|
|
@@ -1217,6 +1228,7 @@ export declare namespace ReactUnity {
|
|
|
1217
1228
|
CreateStaticScript(path: string): ReactUnity.ScriptSource;
|
|
1218
1229
|
Start(afterStart?: (() => void)): void;
|
|
1219
1230
|
Dispose(): void;
|
|
1231
|
+
HandleUnknownProperty(cmp: ReactUnity.IReactComponent, propertyName: string, value: any): void;
|
|
1220
1232
|
BindCommands(commandsObject: any, callbacksObject: any, getObjectCallback: any, getEventAsObjectCallback: any): void;
|
|
1221
1233
|
SetRef(refId: number, cmp: ReactUnity.IReactComponent): void;
|
|
1222
1234
|
GetRef(refId: number, ensureUpdate?: boolean): ReactUnity.IReactComponent;
|
|
@@ -1435,6 +1447,7 @@ export declare namespace ReactUnity {
|
|
|
1435
1447
|
BeforeStart: (() => void);
|
|
1436
1448
|
AfterStart: (() => void);
|
|
1437
1449
|
Pooling: ReactUnity.ReactContext_PoolingType;
|
|
1450
|
+
UnknownPropertyHandling: ReactUnity.ReactContext_UnknownPropertyHandling;
|
|
1438
1451
|
Equals(obj: any): boolean;
|
|
1439
1452
|
GetHashCode(): number;
|
|
1440
1453
|
GetType(): System.Type;
|
|
@@ -1448,9 +1461,10 @@ export declare namespace ReactUnity {
|
|
|
1448
1461
|
Element: ReactUnity.Editor.UIToolkit.DialogElement;
|
|
1449
1462
|
ClientWidth: number;
|
|
1450
1463
|
ClientHeight: number;
|
|
1464
|
+
Disabled: boolean;
|
|
1451
1465
|
Context: ReactUnity.UIToolkit.UIToolkitContext;
|
|
1452
1466
|
Parent: ReactUnity.IContainerComponent;
|
|
1453
|
-
Data: ReactUnity.
|
|
1467
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
1454
1468
|
Layout: Facebook.Yoga.YogaNode;
|
|
1455
1469
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
1456
1470
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -1497,6 +1511,7 @@ export declare namespace ReactUnity {
|
|
|
1497
1511
|
ReleaseMouse(): void;
|
|
1498
1512
|
HasMouseCapture(): boolean;
|
|
1499
1513
|
UpdateOrder(prev: number, current: number): boolean;
|
|
1514
|
+
Activate(): void;
|
|
1500
1515
|
Update(): void;
|
|
1501
1516
|
MarkForStyleResolving(recursive: boolean): void;
|
|
1502
1517
|
Remove(): void;
|
|
@@ -1689,9 +1704,10 @@ export declare namespace ReactUnity {
|
|
|
1689
1704
|
TargetElement: UnityEngine.UIElements.VisualElement;
|
|
1690
1705
|
ClientWidth: number;
|
|
1691
1706
|
ClientHeight: number;
|
|
1707
|
+
Disabled: boolean;
|
|
1692
1708
|
Context: ReactUnity.UIToolkit.UIToolkitContext;
|
|
1693
1709
|
Parent: ReactUnity.IContainerComponent;
|
|
1694
|
-
Data: ReactUnity.
|
|
1710
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
1695
1711
|
Layout: Facebook.Yoga.YogaNode;
|
|
1696
1712
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
1697
1713
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -1737,6 +1753,7 @@ export declare namespace ReactUnity {
|
|
|
1737
1753
|
ReleaseMouse(): void;
|
|
1738
1754
|
HasMouseCapture(): boolean;
|
|
1739
1755
|
UpdateOrder(prev: number, current: number): boolean;
|
|
1756
|
+
Activate(): void;
|
|
1740
1757
|
Update(): void;
|
|
1741
1758
|
MarkForStyleResolving(recursive: boolean): void;
|
|
1742
1759
|
Remove(): void;
|
|
@@ -1771,15 +1788,15 @@ export declare namespace ReactUnity {
|
|
|
1771
1788
|
class EnumComponent<T = any> {
|
|
1772
1789
|
constructor(context: ReactUnity.Editor.Renderer.EditorContext, tag: string);
|
|
1773
1790
|
Indeterminate: boolean;
|
|
1774
|
-
Disabled: boolean;
|
|
1775
1791
|
Value: System.Enum;
|
|
1776
1792
|
Element: T;
|
|
1777
1793
|
TargetElement: UnityEngine.UIElements.VisualElement;
|
|
1778
1794
|
ClientWidth: number;
|
|
1779
1795
|
ClientHeight: number;
|
|
1796
|
+
Disabled: boolean;
|
|
1780
1797
|
Context: ReactUnity.UIToolkit.UIToolkitContext;
|
|
1781
1798
|
Parent: ReactUnity.IContainerComponent;
|
|
1782
|
-
Data: ReactUnity.
|
|
1799
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
1783
1800
|
Layout: Facebook.Yoga.YogaNode;
|
|
1784
1801
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
1785
1802
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -1863,15 +1880,15 @@ export declare namespace ReactUnity {
|
|
|
1863
1880
|
class ObjectComponent {
|
|
1864
1881
|
constructor(context: ReactUnity.Editor.Renderer.EditorContext);
|
|
1865
1882
|
Indeterminate: boolean;
|
|
1866
|
-
Disabled: boolean;
|
|
1867
1883
|
Value: UnityEngine.Object;
|
|
1868
1884
|
Element: any;
|
|
1869
1885
|
TargetElement: UnityEngine.UIElements.VisualElement;
|
|
1870
1886
|
ClientWidth: number;
|
|
1871
1887
|
ClientHeight: number;
|
|
1888
|
+
Disabled: boolean;
|
|
1872
1889
|
Context: ReactUnity.UIToolkit.UIToolkitContext;
|
|
1873
1890
|
Parent: ReactUnity.IContainerComponent;
|
|
1874
|
-
Data: ReactUnity.
|
|
1891
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
1875
1892
|
Layout: Facebook.Yoga.YogaNode;
|
|
1876
1893
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
1877
1894
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -2103,6 +2120,7 @@ export declare namespace ReactUnity {
|
|
|
2103
2120
|
UnionWith(other: System.Collections.Generic.IEnumerable<string>): void;
|
|
2104
2121
|
Change(): void;
|
|
2105
2122
|
AddListener(cb: any): (() => void);
|
|
2123
|
+
AddListener(listener: ((obj: System.Collections.Generic.HashSet<string>) => void)): (() => void);
|
|
2106
2124
|
Equals(obj: any): boolean;
|
|
2107
2125
|
GetHashCode(): number;
|
|
2108
2126
|
GetType(): System.Type;
|
|
@@ -2156,10 +2174,9 @@ export declare namespace ReactUnity {
|
|
|
2156
2174
|
Values: System.Collections.Generic.ICollection<any>;
|
|
2157
2175
|
Count: number;
|
|
2158
2176
|
IsReadOnly: boolean;
|
|
2159
|
-
Value: ReactUnity.Helpers.WatchableDictionary<string, any>;
|
|
2160
2177
|
static BindSerializableDictionary(dict: ReactUnity.Helpers.SerializableDictionary, dispatcher: ReactUnity.Scheduling.IDispatcher, isSerializing: boolean): ReactUnity.Helpers.GlobalRecord;
|
|
2161
2178
|
BindSerializableDictionary(dict: ReactUnity.Helpers.SerializableDictionary, isSerializing: boolean): void;
|
|
2162
|
-
UpdateStringObjectDictionary(dict: ReactUnity.
|
|
2179
|
+
UpdateStringObjectDictionary(dict: ReactUnity.Reactive.ReactiveRecord<any>, isSerializing: boolean): void;
|
|
2163
2180
|
OnExposedToScriptCode(engine: any): void;
|
|
2164
2181
|
Set(key: string, value: any): void;
|
|
2165
2182
|
SetWithoutNotify(key: string, value: any): void;
|
|
@@ -2172,7 +2189,8 @@ export declare namespace ReactUnity {
|
|
|
2172
2189
|
Remove(key: string): boolean;
|
|
2173
2190
|
RemoveWithoutNotify(key: string): boolean;
|
|
2174
2191
|
AddListener(cb: any): (() => void);
|
|
2175
|
-
AddListener(listener: ((
|
|
2192
|
+
AddListener(listener: ((obj: Record<string, any>) => void)): (() => void);
|
|
2193
|
+
AddListener(listener: ((arg1: string, arg2: any, arg3: ReactUnity.Reactive.ReactiveDictionary<string, any>) => void)): (() => void);
|
|
2176
2194
|
GetValueOrDefault(key: string): any;
|
|
2177
2195
|
Dispose(): void;
|
|
2178
2196
|
Change(): void;
|
|
@@ -2235,7 +2253,6 @@ export declare namespace ReactUnity {
|
|
|
2235
2253
|
Values: System.Collections.Generic.ICollection<any>;
|
|
2236
2254
|
Count: number;
|
|
2237
2255
|
IsReadOnly: boolean;
|
|
2238
|
-
Value: ReactUnity.Helpers.WatchableDictionary<string, any>;
|
|
2239
2256
|
OnAfterDeserialize(): void;
|
|
2240
2257
|
OnBeforeSerialize(): void;
|
|
2241
2258
|
AddReserializeListener(callback: ((obj: ReactUnity.Helpers.SerializableDictionary) => void)): (() => void);
|
|
@@ -2251,7 +2268,8 @@ export declare namespace ReactUnity {
|
|
|
2251
2268
|
Remove(key: string): boolean;
|
|
2252
2269
|
RemoveWithoutNotify(key: string): boolean;
|
|
2253
2270
|
AddListener(cb: any): (() => void);
|
|
2254
|
-
AddListener(listener: ((
|
|
2271
|
+
AddListener(listener: ((obj: Record<string, any>) => void)): (() => void);
|
|
2272
|
+
AddListener(listener: ((arg1: string, arg2: any, arg3: ReactUnity.Reactive.ReactiveDictionary<string, any>) => void)): (() => void);
|
|
2255
2273
|
GetValueOrDefault(key: string): any;
|
|
2256
2274
|
Dispose(): void;
|
|
2257
2275
|
Change(): void;
|
|
@@ -2260,23 +2278,162 @@ export declare namespace ReactUnity {
|
|
|
2260
2278
|
GetType(): System.Type;
|
|
2261
2279
|
ToString(): string;
|
|
2262
2280
|
}
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2281
|
+
class ReactUnityWebGLCompat {
|
|
2282
|
+
constructor();
|
|
2283
|
+
Module: ReactUnity.Helpers.ReactUnityWebGLCompat_WebGLCompatModule;
|
|
2284
|
+
SendMessage(gameObjectName: string, methodName: string, parameter: any): void;
|
|
2285
|
+
SetFullscreen(fullScreen: number): void;
|
|
2286
|
+
Quit(): void;
|
|
2287
|
+
Equals(obj: any): boolean;
|
|
2288
|
+
GetHashCode(): number;
|
|
2289
|
+
GetType(): System.Type;
|
|
2290
|
+
ToString(): string;
|
|
2267
2291
|
}
|
|
2268
|
-
class
|
|
2292
|
+
class YogaHelpers {
|
|
2293
|
+
static IsLegacyYoga: boolean;
|
|
2294
|
+
static HasValue(val: Facebook.Yoga.YogaValue): boolean;
|
|
2295
|
+
static IfPoint(val: Facebook.Yoga.YogaValue, elseValue?: number): number;
|
|
2296
|
+
static IfPercent(val: Facebook.Yoga.YogaValue, elseValue?: number): number;
|
|
2297
|
+
static GetPointValue(val: Facebook.Yoga.YogaValue, fullSize: number, defaultValue?: number): number;
|
|
2298
|
+
static GetRatioValue(val: Facebook.Yoga.YogaValue, fullSize: number, defaultValue?: number): number;
|
|
2299
|
+
static GetPointValue(val: ReactUnity.Types.YogaValue2, fullSize: UnityEngine.Vector2, defaultValue?: number, yInverted?: boolean): UnityEngine.Vector2;
|
|
2300
|
+
static GetPointValue(val: ReactUnity.Types.YogaValue2, fullSize: UnityEngine.Vector2, defaultValue?: UnityEngine.Vector2, yInverted?: boolean): UnityEngine.Vector2;
|
|
2301
|
+
static GetRatioValue(val: ReactUnity.Types.YogaValue2, fullSize: UnityEngine.Vector2, defaultValue?: number, yInverted?: boolean): UnityEngine.Vector2;
|
|
2302
|
+
Equals(obj: any): boolean;
|
|
2303
|
+
GetHashCode(): number;
|
|
2304
|
+
GetType(): System.Type;
|
|
2305
|
+
ToString(): string;
|
|
2306
|
+
}
|
|
2307
|
+
class ReactUnityWebGLCompat_WebGLCompatModule {
|
|
2269
2308
|
constructor();
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2309
|
+
canvas: ReactUnity.Helpers.ReactUnityWebGLCompat_WebGLCompatModule_WebGLCompatCanvas;
|
|
2310
|
+
SetFullscreen(fullScreen: number): void;
|
|
2311
|
+
Pointer_stringify(pointer: number, length: number): string;
|
|
2312
|
+
Equals(obj: any): boolean;
|
|
2313
|
+
GetHashCode(): number;
|
|
2314
|
+
GetType(): System.Type;
|
|
2315
|
+
ToString(): string;
|
|
2316
|
+
}
|
|
2317
|
+
class ReactUnityWebGLCompat_WebGLCompatModule_WebGLCompatCanvas {
|
|
2318
|
+
constructor();
|
|
2319
|
+
requestPointerLock(): void;
|
|
2320
|
+
exitPointerLock(): void;
|
|
2321
|
+
toDataUrl(type: string, quality: number): string;
|
|
2322
|
+
Equals(obj: any): boolean;
|
|
2323
|
+
GetHashCode(): number;
|
|
2324
|
+
GetType(): System.Type;
|
|
2325
|
+
ToString(): string;
|
|
2326
|
+
}
|
|
2327
|
+
namespace Visitors {
|
|
2328
|
+
class ReactComponentVisitor {
|
|
2329
|
+
Visit(component: ReactUnity.IReactComponent): boolean;
|
|
2330
|
+
Equals(obj: any): boolean;
|
|
2331
|
+
GetHashCode(): number;
|
|
2332
|
+
GetType(): System.Type;
|
|
2333
|
+
ToString(): string;
|
|
2334
|
+
}
|
|
2335
|
+
}
|
|
2336
|
+
}
|
|
2337
|
+
namespace Html {
|
|
2338
|
+
class HtmlComponent {
|
|
2339
|
+
constructor(ctx: ReactUnity.ReactContext, tag?: string, text?: string);
|
|
2340
|
+
Content: string;
|
|
2341
|
+
ResolvedContent: string;
|
|
2342
|
+
Source: any;
|
|
2343
|
+
Proxy: ReactUnity.IContainerComponent;
|
|
2344
|
+
Context: ReactUnity.ReactContext;
|
|
2345
|
+
Parent: ReactUnity.IContainerComponent;
|
|
2346
|
+
IsPseudoElement: boolean;
|
|
2347
|
+
Destroyed: boolean;
|
|
2348
|
+
Entering: boolean;
|
|
2349
|
+
Leaving: boolean;
|
|
2350
|
+
UpdatedThisFrame: boolean;
|
|
2351
|
+
Layout: Facebook.Yoga.YogaNode;
|
|
2352
|
+
StyleState: ReactUnity.Styling.StyleState;
|
|
2353
|
+
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
2354
|
+
Style: ReactUnity.Styling.InlineStyles;
|
|
2355
|
+
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
2356
|
+
Id: string;
|
|
2357
|
+
Name: string;
|
|
2358
|
+
Tag: string;
|
|
2359
|
+
TextContent: string;
|
|
2360
|
+
RefId: number;
|
|
2361
|
+
InstanceId: number;
|
|
2362
|
+
ClassName: string;
|
|
2363
|
+
ClassList: ReactUnity.Helpers.ClassList;
|
|
2364
|
+
StateStyles: ReactUnity.Styling.StateStyles;
|
|
2365
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
2366
|
+
ParentIndex: number;
|
|
2367
|
+
CurrentOrder: number;
|
|
2368
|
+
ScrollLeft: number;
|
|
2369
|
+
ScrollTop: number;
|
|
2370
|
+
ScrollWidth: number;
|
|
2371
|
+
ScrollHeight: number;
|
|
2372
|
+
ClientWidth: number;
|
|
2373
|
+
ClientHeight: number;
|
|
2374
|
+
Children: ReactUnity.IReactComponent[];
|
|
2375
|
+
BeforePseudo: ReactUnity.IReactComponent;
|
|
2376
|
+
AfterPseudo: ReactUnity.IReactComponent;
|
|
2377
|
+
BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
|
|
2378
|
+
AfterRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
|
|
2379
|
+
SetProperty(propertyName: string, value: any): void;
|
|
2380
|
+
ApplyLayoutStyles(): void;
|
|
2381
|
+
ResolveStyle(recursive?: boolean): void;
|
|
2382
|
+
Update(): void;
|
|
2383
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
2384
|
+
SetParent(parent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
|
|
2385
|
+
SetCustomProperty(property: string, value: any): void;
|
|
2386
|
+
SetData(property: string, value: any): void;
|
|
2387
|
+
SetEventListener(eventType: string, callback: ReactUnity.Helpers.Callback): void;
|
|
2388
|
+
AddEventListener(eventType: string, callback: ReactUnity.Helpers.Callback): (() => void);
|
|
2389
|
+
FireEvent(eventName: string, arg: any): void;
|
|
2390
|
+
GetComponent(type: System.Type): any;
|
|
2391
|
+
AddComponent(type: System.Type): any;
|
|
2392
|
+
MarkForStyleResolving(recursive: boolean): void;
|
|
2393
|
+
MarkForStyleResolvingWithSiblings(recursive: boolean): void;
|
|
2394
|
+
Matches(query: string): boolean;
|
|
2395
|
+
Closest(query: string): ReactUnity.IReactComponent;
|
|
2396
|
+
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
2397
|
+
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
2398
|
+
Remove(): void;
|
|
2399
|
+
Destroy(recursive?: boolean): void;
|
|
2400
|
+
RegisterChild(child: ReactUnity.IReactComponent, index?: number): void;
|
|
2401
|
+
UnregisterChild(child: ReactUnity.IReactComponent): void;
|
|
2402
|
+
SetText(text: string): void;
|
|
2403
|
+
Clear(): void;
|
|
2404
|
+
Equals(obj: any): boolean;
|
|
2405
|
+
GetHashCode(): number;
|
|
2406
|
+
GetType(): System.Type;
|
|
2407
|
+
ToString(): string;
|
|
2408
|
+
}
|
|
2409
|
+
class HtmlContext {
|
|
2410
|
+
constructor(context: ReactUnity.ReactContext);
|
|
2411
|
+
Context: ReactUnity.ReactContext;
|
|
2412
|
+
Parser: ReactUnity.Html.HtmlParser;
|
|
2413
|
+
InsertHtml(html: string, root?: ReactUnity.IContainerComponent, clearContent?: boolean): void;
|
|
2274
2414
|
Equals(obj: any): boolean;
|
|
2275
2415
|
GetHashCode(): number;
|
|
2276
2416
|
GetType(): System.Type;
|
|
2277
2417
|
ToString(): string;
|
|
2278
2418
|
}
|
|
2279
|
-
class
|
|
2419
|
+
class HtmlParser {
|
|
2420
|
+
constructor(context: ReactUnity.Html.HtmlContext);
|
|
2421
|
+
Context: ReactUnity.Html.HtmlContext;
|
|
2422
|
+
Parse(html: string, root: ReactUnity.IContainerComponent): void;
|
|
2423
|
+
Equals(obj: any): boolean;
|
|
2424
|
+
GetHashCode(): number;
|
|
2425
|
+
GetType(): System.Type;
|
|
2426
|
+
ToString(): string;
|
|
2427
|
+
}
|
|
2428
|
+
}
|
|
2429
|
+
namespace Reactive {
|
|
2430
|
+
interface IReactive<T = any> {
|
|
2431
|
+
Value: T;
|
|
2432
|
+
Change(): void;
|
|
2433
|
+
AddListener(cb: any): (() => void);
|
|
2434
|
+
AddListener(listener: ((obj: T) => void)): (() => void);
|
|
2435
|
+
}
|
|
2436
|
+
class ReactiveList<T = any> {
|
|
2280
2437
|
constructor();
|
|
2281
2438
|
[key: string]: any;
|
|
2282
2439
|
Count: number;
|
|
@@ -2294,6 +2451,7 @@ export declare namespace ReactUnity {
|
|
|
2294
2451
|
GetEnumerator(): System.Collections.Generic.IEnumerator<T>;
|
|
2295
2452
|
Change(): void;
|
|
2296
2453
|
AddListener(cb: any): (() => void);
|
|
2454
|
+
AddListener(listener: ((obj: T[]) => void)): (() => void);
|
|
2297
2455
|
IndexOf(item: T): number;
|
|
2298
2456
|
Insert(index: number, item: T): void;
|
|
2299
2457
|
RemoveAt(index: number): void;
|
|
@@ -2302,7 +2460,7 @@ export declare namespace ReactUnity {
|
|
|
2302
2460
|
GetType(): System.Type;
|
|
2303
2461
|
ToString(): string;
|
|
2304
2462
|
}
|
|
2305
|
-
class
|
|
2463
|
+
class ReactiveDictionary<TKey = any, T = any> {
|
|
2306
2464
|
constructor();
|
|
2307
2465
|
constructor(dict: System.Collections.Generic.IDictionary<TKey, T>);
|
|
2308
2466
|
[key: string]: any;
|
|
@@ -2310,7 +2468,6 @@ export declare namespace ReactUnity {
|
|
|
2310
2468
|
Values: System.Collections.Generic.ICollection<T>;
|
|
2311
2469
|
Count: number;
|
|
2312
2470
|
IsReadOnly: boolean;
|
|
2313
|
-
Value: ReactUnity.Helpers.WatchableDictionary<TKey, T>;
|
|
2314
2471
|
Set(key: TKey, value: T): void;
|
|
2315
2472
|
SetWithoutNotify(key: TKey, value: T): void;
|
|
2316
2473
|
Add(key: TKey, value: T): void;
|
|
@@ -2322,7 +2479,8 @@ export declare namespace ReactUnity {
|
|
|
2322
2479
|
Remove(key: TKey): boolean;
|
|
2323
2480
|
RemoveWithoutNotify(key: TKey): boolean;
|
|
2324
2481
|
AddListener(cb: any): (() => void);
|
|
2325
|
-
AddListener(listener: ((
|
|
2482
|
+
AddListener(listener: ((obj: System.Collections.Generic.Dictionary<TKey, T>) => void)): (() => void);
|
|
2483
|
+
AddListener(listener: ((arg1: TKey, arg2: T, arg3: ReactUnity.Reactive.ReactiveDictionary<TKey, T>) => void)): (() => void);
|
|
2326
2484
|
GetValueOrDefault(key: TKey): T;
|
|
2327
2485
|
Dispose(): void;
|
|
2328
2486
|
Change(): void;
|
|
@@ -2331,13 +2489,12 @@ export declare namespace ReactUnity {
|
|
|
2331
2489
|
GetType(): System.Type;
|
|
2332
2490
|
ToString(): string;
|
|
2333
2491
|
}
|
|
2334
|
-
class
|
|
2492
|
+
class ReactiveAdaptibleRecord<TKey = any, T = any> {
|
|
2335
2493
|
[key: string]: any;
|
|
2336
2494
|
Keys: System.Collections.Generic.ICollection<TKey>;
|
|
2337
2495
|
Values: System.Collections.Generic.ICollection<T>;
|
|
2338
2496
|
Count: number;
|
|
2339
2497
|
IsReadOnly: boolean;
|
|
2340
|
-
Value: ReactUnity.Helpers.WatchableDictionary<TKey, T>;
|
|
2341
2498
|
Add(key: string, value: any): void;
|
|
2342
2499
|
Add(item: System.Collections.Generic.KeyValuePair<string, any>): void;
|
|
2343
2500
|
Contains(item: System.Collections.Generic.KeyValuePair<string, any>): boolean;
|
|
@@ -2359,7 +2516,8 @@ export declare namespace ReactUnity {
|
|
|
2359
2516
|
Remove(key: TKey): boolean;
|
|
2360
2517
|
RemoveWithoutNotify(key: TKey): boolean;
|
|
2361
2518
|
AddListener(cb: any): (() => void);
|
|
2362
|
-
AddListener(listener: ((
|
|
2519
|
+
AddListener(listener: ((obj: System.Collections.Generic.Dictionary<TKey, T>) => void)): (() => void);
|
|
2520
|
+
AddListener(listener: ((arg1: TKey, arg2: T, arg3: ReactUnity.Reactive.ReactiveDictionary<TKey, T>) => void)): (() => void);
|
|
2363
2521
|
GetValueOrDefault(key: TKey): T;
|
|
2364
2522
|
Dispose(): void;
|
|
2365
2523
|
Change(): void;
|
|
@@ -2368,13 +2526,12 @@ export declare namespace ReactUnity {
|
|
|
2368
2526
|
GetType(): System.Type;
|
|
2369
2527
|
ToString(): string;
|
|
2370
2528
|
}
|
|
2371
|
-
class
|
|
2529
|
+
class ReactiveAdaptibleRecordBag<TKey = any, T = any> {
|
|
2372
2530
|
[key: string]: any;
|
|
2373
2531
|
Keys: System.Collections.Generic.ICollection<TKey>;
|
|
2374
2532
|
Values: System.Collections.Generic.ICollection<T>;
|
|
2375
2533
|
Count: number;
|
|
2376
2534
|
IsReadOnly: boolean;
|
|
2377
|
-
Value: ReactUnity.Helpers.WatchableDictionary<TKey, T>;
|
|
2378
2535
|
OnExposedToScriptCode(engine: any): void;
|
|
2379
2536
|
Add(key: string, value: any): void;
|
|
2380
2537
|
Add(item: System.Collections.Generic.KeyValuePair<string, any>): void;
|
|
@@ -2397,7 +2554,8 @@ export declare namespace ReactUnity {
|
|
|
2397
2554
|
Remove(key: TKey): boolean;
|
|
2398
2555
|
RemoveWithoutNotify(key: TKey): boolean;
|
|
2399
2556
|
AddListener(cb: any): (() => void);
|
|
2400
|
-
AddListener(listener: ((
|
|
2557
|
+
AddListener(listener: ((obj: System.Collections.Generic.Dictionary<TKey, T>) => void)): (() => void);
|
|
2558
|
+
AddListener(listener: ((arg1: TKey, arg2: T, arg3: ReactUnity.Reactive.ReactiveDictionary<TKey, T>) => void)): (() => void);
|
|
2401
2559
|
GetValueOrDefault(key: TKey): T;
|
|
2402
2560
|
Dispose(): void;
|
|
2403
2561
|
Change(): void;
|
|
@@ -2406,14 +2564,13 @@ export declare namespace ReactUnity {
|
|
|
2406
2564
|
GetType(): System.Type;
|
|
2407
2565
|
ToString(): string;
|
|
2408
2566
|
}
|
|
2409
|
-
class
|
|
2567
|
+
class ReactiveRecord<T = any> {
|
|
2410
2568
|
constructor();
|
|
2411
2569
|
[key: string]: any;
|
|
2412
2570
|
Keys: System.Collections.Generic.ICollection<string>;
|
|
2413
2571
|
Values: System.Collections.Generic.ICollection<T>;
|
|
2414
2572
|
Count: number;
|
|
2415
2573
|
IsReadOnly: boolean;
|
|
2416
|
-
Value: ReactUnity.Helpers.WatchableDictionary<string, T>;
|
|
2417
2574
|
Set(key: string, value: T): void;
|
|
2418
2575
|
SetWithoutNotify(key: string, value: T): void;
|
|
2419
2576
|
Add(key: string, value: T): void;
|
|
@@ -2425,7 +2582,8 @@ export declare namespace ReactUnity {
|
|
|
2425
2582
|
Remove(key: string): boolean;
|
|
2426
2583
|
RemoveWithoutNotify(key: string): boolean;
|
|
2427
2584
|
AddListener(cb: any): (() => void);
|
|
2428
|
-
AddListener(listener: ((
|
|
2585
|
+
AddListener(listener: ((obj: Record<string, T>) => void)): (() => void);
|
|
2586
|
+
AddListener(listener: ((arg1: string, arg2: T, arg3: ReactUnity.Reactive.ReactiveDictionary<string, T>) => void)): (() => void);
|
|
2429
2587
|
GetValueOrDefault(key: string): T;
|
|
2430
2588
|
Dispose(): void;
|
|
2431
2589
|
Change(): void;
|
|
@@ -2434,14 +2592,13 @@ export declare namespace ReactUnity {
|
|
|
2434
2592
|
GetType(): System.Type;
|
|
2435
2593
|
ToString(): string;
|
|
2436
2594
|
}
|
|
2437
|
-
class
|
|
2595
|
+
class ReactiveObjectRecord {
|
|
2438
2596
|
constructor();
|
|
2439
2597
|
[key: string]: any;
|
|
2440
2598
|
Keys: System.Collections.Generic.ICollection<string>;
|
|
2441
2599
|
Values: System.Collections.Generic.ICollection<any>;
|
|
2442
2600
|
Count: number;
|
|
2443
2601
|
IsReadOnly: boolean;
|
|
2444
|
-
Value: ReactUnity.Helpers.WatchableDictionary<string, any>;
|
|
2445
2602
|
OnExposedToScriptCode(engine: any): void;
|
|
2446
2603
|
Set(key: string, value: any): void;
|
|
2447
2604
|
SetWithoutNotify(key: string, value: any): void;
|
|
@@ -2454,7 +2611,8 @@ export declare namespace ReactUnity {
|
|
|
2454
2611
|
Remove(key: string): boolean;
|
|
2455
2612
|
RemoveWithoutNotify(key: string): boolean;
|
|
2456
2613
|
AddListener(cb: any): (() => void);
|
|
2457
|
-
AddListener(listener: ((
|
|
2614
|
+
AddListener(listener: ((obj: Record<string, any>) => void)): (() => void);
|
|
2615
|
+
AddListener(listener: ((arg1: string, arg2: any, arg3: ReactUnity.Reactive.ReactiveDictionary<string, any>) => void)): (() => void);
|
|
2458
2616
|
GetValueOrDefault(key: string): any;
|
|
2459
2617
|
Dispose(): void;
|
|
2460
2618
|
Change(): void;
|
|
@@ -2463,7 +2621,7 @@ export declare namespace ReactUnity {
|
|
|
2463
2621
|
GetType(): System.Type;
|
|
2464
2622
|
ToString(): string;
|
|
2465
2623
|
}
|
|
2466
|
-
class
|
|
2624
|
+
class ReactiveSet<T = any> {
|
|
2467
2625
|
constructor();
|
|
2468
2626
|
Count: number;
|
|
2469
2627
|
IsReadOnly: boolean;
|
|
@@ -2494,122 +2652,19 @@ export declare namespace ReactUnity {
|
|
|
2494
2652
|
UnionWith(other: System.Collections.Generic.IEnumerable<T>): void;
|
|
2495
2653
|
Change(): void;
|
|
2496
2654
|
AddListener(cb: any): (() => void);
|
|
2655
|
+
AddListener(listener: ((obj: System.Collections.Generic.HashSet<T>) => void)): (() => void);
|
|
2497
2656
|
Equals(obj: any): boolean;
|
|
2498
2657
|
GetHashCode(): number;
|
|
2499
2658
|
GetType(): System.Type;
|
|
2500
2659
|
ToString(): string;
|
|
2501
2660
|
}
|
|
2502
|
-
class
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
static GetPointValue(val: ReactUnity.Types.YogaValue2, fullSize: UnityEngine.Vector2, defaultValue?: number, yInverted?: boolean): UnityEngine.Vector2;
|
|
2510
|
-
static GetPointValue(val: ReactUnity.Types.YogaValue2, fullSize: UnityEngine.Vector2, defaultValue?: UnityEngine.Vector2, yInverted?: boolean): UnityEngine.Vector2;
|
|
2511
|
-
static GetRatioValue(val: ReactUnity.Types.YogaValue2, fullSize: UnityEngine.Vector2, defaultValue?: number, yInverted?: boolean): UnityEngine.Vector2;
|
|
2512
|
-
Equals(obj: any): boolean;
|
|
2513
|
-
GetHashCode(): number;
|
|
2514
|
-
GetType(): System.Type;
|
|
2515
|
-
ToString(): string;
|
|
2516
|
-
}
|
|
2517
|
-
namespace Visitors {
|
|
2518
|
-
class ReactComponentVisitor {
|
|
2519
|
-
Visit(component: ReactUnity.IReactComponent): boolean;
|
|
2520
|
-
Equals(obj: any): boolean;
|
|
2521
|
-
GetHashCode(): number;
|
|
2522
|
-
GetType(): System.Type;
|
|
2523
|
-
ToString(): string;
|
|
2524
|
-
}
|
|
2525
|
-
}
|
|
2526
|
-
}
|
|
2527
|
-
namespace Html {
|
|
2528
|
-
class HtmlComponent {
|
|
2529
|
-
constructor(ctx: ReactUnity.ReactContext, tag?: string, text?: string);
|
|
2530
|
-
Content: string;
|
|
2531
|
-
ResolvedContent: string;
|
|
2532
|
-
Source: any;
|
|
2533
|
-
Proxy: ReactUnity.IContainerComponent;
|
|
2534
|
-
Context: ReactUnity.ReactContext;
|
|
2535
|
-
Parent: ReactUnity.IContainerComponent;
|
|
2536
|
-
IsPseudoElement: boolean;
|
|
2537
|
-
Destroyed: boolean;
|
|
2538
|
-
Entering: boolean;
|
|
2539
|
-
Leaving: boolean;
|
|
2540
|
-
UpdatedThisFrame: boolean;
|
|
2541
|
-
Layout: Facebook.Yoga.YogaNode;
|
|
2542
|
-
StyleState: ReactUnity.Styling.StyleState;
|
|
2543
|
-
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
2544
|
-
Style: ReactUnity.Styling.InlineStyles;
|
|
2545
|
-
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
2546
|
-
Id: string;
|
|
2547
|
-
Name: string;
|
|
2548
|
-
Tag: string;
|
|
2549
|
-
TextContent: string;
|
|
2550
|
-
RefId: number;
|
|
2551
|
-
InstanceId: number;
|
|
2552
|
-
ClassName: string;
|
|
2553
|
-
ClassList: ReactUnity.Helpers.ClassList;
|
|
2554
|
-
StateStyles: ReactUnity.Styling.StateStyles;
|
|
2555
|
-
Data: ReactUnity.Helpers.WatchableObjectRecord;
|
|
2556
|
-
ParentIndex: number;
|
|
2557
|
-
CurrentOrder: number;
|
|
2558
|
-
ScrollLeft: number;
|
|
2559
|
-
ScrollTop: number;
|
|
2560
|
-
ScrollWidth: number;
|
|
2561
|
-
ScrollHeight: number;
|
|
2562
|
-
ClientWidth: number;
|
|
2563
|
-
ClientHeight: number;
|
|
2564
|
-
Children: ReactUnity.IReactComponent[];
|
|
2565
|
-
BeforePseudo: ReactUnity.IReactComponent;
|
|
2566
|
-
AfterPseudo: ReactUnity.IReactComponent;
|
|
2567
|
-
BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
|
|
2568
|
-
AfterRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
|
|
2569
|
-
SetProperty(propertyName: string, value: any): void;
|
|
2570
|
-
ApplyLayoutStyles(): void;
|
|
2571
|
-
ResolveStyle(recursive?: boolean): void;
|
|
2572
|
-
Update(): void;
|
|
2573
|
-
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
2574
|
-
SetParent(parent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
|
|
2575
|
-
SetCustomProperty(property: string, value: any): void;
|
|
2576
|
-
SetData(property: string, value: any): void;
|
|
2577
|
-
SetEventListener(eventType: string, callback: ReactUnity.Helpers.Callback): void;
|
|
2578
|
-
AddEventListener(eventType: string, callback: ReactUnity.Helpers.Callback): (() => void);
|
|
2579
|
-
FireEvent(eventName: string, arg: any): void;
|
|
2580
|
-
GetComponent(type: System.Type): any;
|
|
2581
|
-
AddComponent(type: System.Type): any;
|
|
2582
|
-
MarkForStyleResolving(recursive: boolean): void;
|
|
2583
|
-
MarkForStyleResolvingWithSiblings(recursive: boolean): void;
|
|
2584
|
-
Matches(query: string): boolean;
|
|
2585
|
-
Closest(query: string): ReactUnity.IReactComponent;
|
|
2586
|
-
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
2587
|
-
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
2588
|
-
Remove(): void;
|
|
2589
|
-
Destroy(recursive?: boolean): void;
|
|
2590
|
-
RegisterChild(child: ReactUnity.IReactComponent, index?: number): void;
|
|
2591
|
-
UnregisterChild(child: ReactUnity.IReactComponent): void;
|
|
2592
|
-
SetText(text: string): void;
|
|
2593
|
-
Clear(): void;
|
|
2594
|
-
Equals(obj: any): boolean;
|
|
2595
|
-
GetHashCode(): number;
|
|
2596
|
-
GetType(): System.Type;
|
|
2597
|
-
ToString(): string;
|
|
2598
|
-
}
|
|
2599
|
-
class HtmlContext {
|
|
2600
|
-
constructor(context: ReactUnity.ReactContext);
|
|
2601
|
-
Context: ReactUnity.ReactContext;
|
|
2602
|
-
Parser: ReactUnity.Html.HtmlParser;
|
|
2603
|
-
InsertHtml(html: string, root?: ReactUnity.IContainerComponent, clearContent?: boolean): void;
|
|
2604
|
-
Equals(obj: any): boolean;
|
|
2605
|
-
GetHashCode(): number;
|
|
2606
|
-
GetType(): System.Type;
|
|
2607
|
-
ToString(): string;
|
|
2608
|
-
}
|
|
2609
|
-
class HtmlParser {
|
|
2610
|
-
constructor(context: ReactUnity.Html.HtmlContext);
|
|
2611
|
-
Context: ReactUnity.Html.HtmlContext;
|
|
2612
|
-
Parse(html: string, root: ReactUnity.IContainerComponent): void;
|
|
2661
|
+
class ReactiveValue<T = any> {
|
|
2662
|
+
constructor();
|
|
2663
|
+
constructor(value: T);
|
|
2664
|
+
Value: T;
|
|
2665
|
+
Change(): void;
|
|
2666
|
+
AddListener(cb: any): (() => void);
|
|
2667
|
+
AddListener(listener: ((obj: T) => void)): (() => void);
|
|
2613
2668
|
Equals(obj: any): boolean;
|
|
2614
2669
|
GetHashCode(): number;
|
|
2615
2670
|
GetType(): System.Type;
|
|
@@ -2643,6 +2698,7 @@ export declare namespace ReactUnity {
|
|
|
2643
2698
|
AnimationTime: number;
|
|
2644
2699
|
TimeScale: number;
|
|
2645
2700
|
AdvanceTime(advanceBy: number): void;
|
|
2701
|
+
Yield(advanceBy: number): any;
|
|
2646
2702
|
Equals(obj: any): boolean;
|
|
2647
2703
|
GetHashCode(): number;
|
|
2648
2704
|
GetType(): System.Type;
|
|
@@ -2785,6 +2841,7 @@ export declare namespace ReactUnity {
|
|
|
2785
2841
|
interface ITimer {
|
|
2786
2842
|
AnimationTime: number;
|
|
2787
2843
|
TimeScale: number;
|
|
2844
|
+
Yield(advanceBy: number): any;
|
|
2788
2845
|
}
|
|
2789
2846
|
class NoScheduler {
|
|
2790
2847
|
constructor();
|
|
@@ -2877,6 +2934,17 @@ export declare namespace ReactUnity {
|
|
|
2877
2934
|
static Instance: ReactUnity.Scheduling.UnityTimer;
|
|
2878
2935
|
AnimationTime: number;
|
|
2879
2936
|
TimeScale: number;
|
|
2937
|
+
Yield(advanceBy: number): any;
|
|
2938
|
+
Equals(obj: any): boolean;
|
|
2939
|
+
GetHashCode(): number;
|
|
2940
|
+
GetType(): System.Type;
|
|
2941
|
+
ToString(): string;
|
|
2942
|
+
}
|
|
2943
|
+
class UnscaledTimer {
|
|
2944
|
+
static Instance: ReactUnity.Scheduling.UnscaledTimer;
|
|
2945
|
+
AnimationTime: number;
|
|
2946
|
+
TimeScale: number;
|
|
2947
|
+
Yield(advanceBy: number): any;
|
|
2880
2948
|
Equals(obj: any): boolean;
|
|
2881
2949
|
GetHashCode(): number;
|
|
2882
2950
|
GetType(): System.Type;
|
|
@@ -3116,7 +3184,7 @@ export declare namespace ReactUnity {
|
|
|
3116
3184
|
ClassName: string;
|
|
3117
3185
|
ClassList: ReactUnity.Helpers.ClassList;
|
|
3118
3186
|
StateStyles: ReactUnity.Styling.StateStyles;
|
|
3119
|
-
Data: ReactUnity.
|
|
3187
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
3120
3188
|
ParentIndex: number;
|
|
3121
3189
|
CurrentOrder: number;
|
|
3122
3190
|
ScrollLeft: number;
|
|
@@ -3169,6 +3237,7 @@ export declare namespace ReactUnity {
|
|
|
3169
3237
|
EngineInitialized: boolean;
|
|
3170
3238
|
Debug: boolean;
|
|
3171
3239
|
AwaitDebugger: boolean;
|
|
3240
|
+
WebGLCompat: ReactUnity.Helpers.ReactUnityWebGLCompat;
|
|
3172
3241
|
Context: ReactUnity.ReactContext;
|
|
3173
3242
|
EngineType: ReactUnity.Scripting.JavascriptEngineType;
|
|
3174
3243
|
EngineFactory: ReactUnity.Scripting.IJavaScriptEngineFactory;
|
|
@@ -3178,6 +3247,7 @@ export declare namespace ReactUnity {
|
|
|
3178
3247
|
ExecuteScript(code: string, fileName?: string): void;
|
|
3179
3248
|
EvaluateScript(code: string, fileName?: string): any;
|
|
3180
3249
|
CreateEventCallback(code: string, thisVal: any): ReactUnity.Helpers.Callback;
|
|
3250
|
+
WebGLCompatDispatchEvent(eventName: string, ...args: any[]): void;
|
|
3181
3251
|
Dispose(): void;
|
|
3182
3252
|
Equals(obj: any): boolean;
|
|
3183
3253
|
GetHashCode(): number;
|
|
@@ -3401,13 +3471,14 @@ export declare namespace ReactUnity {
|
|
|
3401
3471
|
GetType(): System.Type;
|
|
3402
3472
|
ToString(): string;
|
|
3403
3473
|
}
|
|
3404
|
-
class
|
|
3474
|
+
class EventTarget {
|
|
3405
3475
|
constructor();
|
|
3406
3476
|
SetEventListener(eventName: string, fun: any): void;
|
|
3407
3477
|
GetEventListener(eventName: string): any;
|
|
3478
|
+
GetAllEventListeners(eventName: string): any[];
|
|
3408
3479
|
AddEventListener(eventName: string, fun: any): (() => void);
|
|
3409
3480
|
RemoveEventListener(eventName: string, fun: any): void;
|
|
3410
|
-
|
|
3481
|
+
DispatchEvent(eventName: string, context: ReactUnity.ReactContext, ...argumentsCS: any[]): void;
|
|
3411
3482
|
Equals(obj: any): boolean;
|
|
3412
3483
|
GetHashCode(): number;
|
|
3413
3484
|
GetType(): System.Type;
|
|
@@ -3428,6 +3499,7 @@ export declare namespace ReactUnity {
|
|
|
3428
3499
|
class Location {
|
|
3429
3500
|
constructor(href: string);
|
|
3430
3501
|
constructor(ctx: ReactUnity.ReactContext);
|
|
3502
|
+
baseUrl: string;
|
|
3431
3503
|
href: string;
|
|
3432
3504
|
protocol: string;
|
|
3433
3505
|
hostname: string;
|
|
@@ -3439,6 +3511,7 @@ export declare namespace ReactUnity {
|
|
|
3439
3511
|
pathname: string;
|
|
3440
3512
|
rawPathname: string;
|
|
3441
3513
|
reload(): void;
|
|
3514
|
+
assign(href: string): void;
|
|
3442
3515
|
Equals(obj: any): boolean;
|
|
3443
3516
|
GetHashCode(): number;
|
|
3444
3517
|
GetType(): System.Type;
|
|
@@ -3468,6 +3541,7 @@ export declare namespace ReactUnity {
|
|
|
3468
3541
|
class URL {
|
|
3469
3542
|
constructor(url: string);
|
|
3470
3543
|
constructor(url: string, baseUrl: string);
|
|
3544
|
+
baseUrl: string;
|
|
3471
3545
|
href: string;
|
|
3472
3546
|
protocol: string;
|
|
3473
3547
|
hostname: string;
|
|
@@ -3684,10 +3758,10 @@ export declare namespace ReactUnity {
|
|
|
3684
3758
|
class WebSocketProxy {
|
|
3685
3759
|
constructor(context: ReactUnity.ReactContext, url: string);
|
|
3686
3760
|
constructor(context: ReactUnity.ReactContext, url: string, ...protocols: string[]);
|
|
3687
|
-
onmessage: any;
|
|
3688
|
-
onclose: any;
|
|
3689
3761
|
onopen: any;
|
|
3762
|
+
onmessage: any;
|
|
3690
3763
|
onerror: any;
|
|
3764
|
+
onclose: any;
|
|
3691
3765
|
socket: ReactUnity.Scripting.DomProxies.WebSocket;
|
|
3692
3766
|
static CONNECTING: number;
|
|
3693
3767
|
static OPEN: number;
|
|
@@ -3695,7 +3769,10 @@ export declare namespace ReactUnity {
|
|
|
3695
3769
|
static CLOSED: number;
|
|
3696
3770
|
binaryType: string;
|
|
3697
3771
|
close(code?: number, reason?: string): void;
|
|
3772
|
+
send(data: Byte[]): void;
|
|
3698
3773
|
Dispose(): void;
|
|
3774
|
+
addEventListener(eventType: string, callback: any, capture?: boolean): void;
|
|
3775
|
+
removeEventListener(eventType: string, callback: any, capture?: boolean): void;
|
|
3699
3776
|
Equals(obj: any): boolean;
|
|
3700
3777
|
GetHashCode(): number;
|
|
3701
3778
|
GetType(): System.Type;
|
|
@@ -3823,7 +3900,6 @@ export declare namespace ReactUnity {
|
|
|
3823
3900
|
Values: System.Collections.Generic.ICollection<ReactUnity.Styling.CursorPair>;
|
|
3824
3901
|
Count: number;
|
|
3825
3902
|
IsReadOnly: boolean;
|
|
3826
|
-
Value: ReactUnity.Helpers.WatchableDictionary<string, ReactUnity.Styling.CursorPair>;
|
|
3827
3903
|
OnAfterDeserialize(): void;
|
|
3828
3904
|
OnBeforeSerialize(): void;
|
|
3829
3905
|
Set(key: string, value: ReactUnity.Styling.CursorPair): void;
|
|
@@ -3837,7 +3913,8 @@ export declare namespace ReactUnity {
|
|
|
3837
3913
|
Remove(key: string): boolean;
|
|
3838
3914
|
RemoveWithoutNotify(key: string): boolean;
|
|
3839
3915
|
AddListener(cb: any): (() => void);
|
|
3840
|
-
AddListener(listener: ((
|
|
3916
|
+
AddListener(listener: ((obj: Record<string, ReactUnity.Styling.CursorPair>) => void)): (() => void);
|
|
3917
|
+
AddListener(listener: ((arg1: string, arg2: ReactUnity.Styling.CursorPair, arg3: ReactUnity.Reactive.ReactiveDictionary<string, ReactUnity.Styling.CursorPair>) => void)): (() => void);
|
|
3841
3918
|
GetValueOrDefault(key: string): ReactUnity.Styling.CursorPair;
|
|
3842
3919
|
Dispose(): void;
|
|
3843
3920
|
Change(): void;
|
|
@@ -3869,7 +3946,6 @@ export declare namespace ReactUnity {
|
|
|
3869
3946
|
Values: System.Collections.Generic.ICollection<any>;
|
|
3870
3947
|
Count: number;
|
|
3871
3948
|
IsReadOnly: boolean;
|
|
3872
|
-
Value: ReactUnity.Helpers.WatchableDictionary<ReactUnity.Styling.IStyleProperty, any>;
|
|
3873
3949
|
OnExposedToScriptCode(engine: any): void;
|
|
3874
3950
|
Add(key: string, value: any): void;
|
|
3875
3951
|
Add(item: System.Collections.Generic.KeyValuePair<string, any>): void;
|
|
@@ -3892,7 +3968,8 @@ export declare namespace ReactUnity {
|
|
|
3892
3968
|
Remove(key: ReactUnity.Styling.IStyleProperty): boolean;
|
|
3893
3969
|
RemoveWithoutNotify(key: ReactUnity.Styling.IStyleProperty): boolean;
|
|
3894
3970
|
AddListener(cb: any): (() => void);
|
|
3895
|
-
AddListener(listener: ((
|
|
3971
|
+
AddListener(listener: ((obj: System.Collections.Generic.Dictionary<ReactUnity.Styling.IStyleProperty, any>) => void)): (() => void);
|
|
3972
|
+
AddListener(listener: ((arg1: ReactUnity.Styling.IStyleProperty, arg2: any, arg3: ReactUnity.Reactive.ReactiveDictionary<ReactUnity.Styling.IStyleProperty, any>) => void)): (() => void);
|
|
3896
3973
|
GetValueOrDefault(key: ReactUnity.Styling.IStyleProperty): any;
|
|
3897
3974
|
Dispose(): void;
|
|
3898
3975
|
Change(): void;
|
|
@@ -4342,7 +4419,7 @@ export declare namespace ReactUnity {
|
|
|
4342
4419
|
ClassName: string;
|
|
4343
4420
|
ClassList: ReactUnity.Helpers.ClassList;
|
|
4344
4421
|
StateStyles: ReactUnity.Styling.StateStyles;
|
|
4345
|
-
Data: ReactUnity.
|
|
4422
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
4346
4423
|
ParentIndex: number;
|
|
4347
4424
|
CurrentOrder: number;
|
|
4348
4425
|
ScrollLeft: number;
|
|
@@ -6273,9 +6350,9 @@ export declare namespace ReactUnity {
|
|
|
6273
6350
|
}
|
|
6274
6351
|
namespace UGUI {
|
|
6275
6352
|
class AnchorComponent {
|
|
6276
|
-
constructor(context: ReactUnity.UGUI.UGUIContext);
|
|
6353
|
+
constructor(context: ReactUnity.UGUI.UGUIContext, tag?: string);
|
|
6277
6354
|
Url: string;
|
|
6278
|
-
|
|
6355
|
+
Target: string;
|
|
6279
6356
|
Disabled: boolean;
|
|
6280
6357
|
GameObject: UnityEngine.GameObject;
|
|
6281
6358
|
RectTransform: UnityEngine.RectTransform;
|
|
@@ -6292,7 +6369,7 @@ export declare namespace ReactUnity {
|
|
|
6292
6369
|
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
6293
6370
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
6294
6371
|
Parent: ReactUnity.IContainerComponent;
|
|
6295
|
-
Data: ReactUnity.
|
|
6372
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
6296
6373
|
Layout: Facebook.Yoga.YogaNode;
|
|
6297
6374
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
6298
6375
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -6329,8 +6406,8 @@ export declare namespace ReactUnity {
|
|
|
6329
6406
|
ScrollWidth: number;
|
|
6330
6407
|
ScrollHeight: number;
|
|
6331
6408
|
SetProperty(propertyName: string, value: any): void;
|
|
6332
|
-
OpenUrl(openInNewTab: boolean): void;
|
|
6333
6409
|
Activate(): void;
|
|
6410
|
+
OpenUrl(target?: string): void;
|
|
6334
6411
|
Revive(): boolean;
|
|
6335
6412
|
Pool(): boolean;
|
|
6336
6413
|
AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
|
|
@@ -6390,7 +6467,7 @@ export declare namespace ReactUnity {
|
|
|
6390
6467
|
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
6391
6468
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
6392
6469
|
Parent: ReactUnity.IContainerComponent;
|
|
6393
|
-
Data: ReactUnity.
|
|
6470
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
6394
6471
|
Layout: Facebook.Yoga.YogaNode;
|
|
6395
6472
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
6396
6473
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -6490,7 +6567,7 @@ export declare namespace ReactUnity {
|
|
|
6490
6567
|
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
6491
6568
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
6492
6569
|
Parent: ReactUnity.IContainerComponent;
|
|
6493
|
-
Data: ReactUnity.
|
|
6570
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
6494
6571
|
Layout: Facebook.Yoga.YogaNode;
|
|
6495
6572
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
6496
6573
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -6592,7 +6669,7 @@ export declare namespace ReactUnity {
|
|
|
6592
6669
|
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
6593
6670
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
6594
6671
|
Parent: ReactUnity.IContainerComponent;
|
|
6595
|
-
Data: ReactUnity.
|
|
6672
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
6596
6673
|
Layout: Facebook.Yoga.YogaNode;
|
|
6597
6674
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
6598
6675
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -6690,7 +6767,7 @@ export declare namespace ReactUnity {
|
|
|
6690
6767
|
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
6691
6768
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
6692
6769
|
Parent: ReactUnity.IContainerComponent;
|
|
6693
|
-
Data: ReactUnity.
|
|
6770
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
6694
6771
|
Layout: Facebook.Yoga.YogaNode;
|
|
6695
6772
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
6696
6773
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -6785,7 +6862,7 @@ export declare namespace ReactUnity {
|
|
|
6785
6862
|
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
6786
6863
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
6787
6864
|
Parent: ReactUnity.IContainerComponent;
|
|
6788
|
-
Data: ReactUnity.
|
|
6865
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
6789
6866
|
Layout: Facebook.Yoga.YogaNode;
|
|
6790
6867
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
6791
6868
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -6882,7 +6959,7 @@ export declare namespace ReactUnity {
|
|
|
6882
6959
|
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
6883
6960
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
6884
6961
|
Parent: ReactUnity.IContainerComponent;
|
|
6885
|
-
Data: ReactUnity.
|
|
6962
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
6886
6963
|
Layout: Facebook.Yoga.YogaNode;
|
|
6887
6964
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
6888
6965
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -6982,7 +7059,7 @@ export declare namespace ReactUnity {
|
|
|
6982
7059
|
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
6983
7060
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
6984
7061
|
Parent: ReactUnity.IContainerComponent;
|
|
6985
|
-
Data: ReactUnity.
|
|
7062
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
6986
7063
|
Layout: Facebook.Yoga.YogaNode;
|
|
6987
7064
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
6988
7065
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -7082,7 +7159,7 @@ export declare namespace ReactUnity {
|
|
|
7082
7159
|
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
7083
7160
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
7084
7161
|
Parent: ReactUnity.IContainerComponent;
|
|
7085
|
-
Data: ReactUnity.
|
|
7162
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
7086
7163
|
Layout: Facebook.Yoga.YogaNode;
|
|
7087
7164
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
7088
7165
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -7186,7 +7263,7 @@ export declare namespace ReactUnity {
|
|
|
7186
7263
|
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
7187
7264
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
7188
7265
|
Parent: ReactUnity.IContainerComponent;
|
|
7189
|
-
Data: ReactUnity.
|
|
7266
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
7190
7267
|
Layout: Facebook.Yoga.YogaNode;
|
|
7191
7268
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
7192
7269
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -7283,7 +7360,7 @@ export declare namespace ReactUnity {
|
|
|
7283
7360
|
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
7284
7361
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
7285
7362
|
Parent: ReactUnity.IContainerComponent;
|
|
7286
|
-
Data: ReactUnity.
|
|
7363
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
7287
7364
|
Layout: Facebook.Yoga.YogaNode;
|
|
7288
7365
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
7289
7366
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -7384,7 +7461,7 @@ export declare namespace ReactUnity {
|
|
|
7384
7461
|
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
7385
7462
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
7386
7463
|
Parent: ReactUnity.IContainerComponent;
|
|
7387
|
-
Data: ReactUnity.
|
|
7464
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
7388
7465
|
Layout: Facebook.Yoga.YogaNode;
|
|
7389
7466
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
7390
7467
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -7481,7 +7558,7 @@ export declare namespace ReactUnity {
|
|
|
7481
7558
|
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
7482
7559
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
7483
7560
|
Parent: ReactUnity.IContainerComponent;
|
|
7484
|
-
Data: ReactUnity.
|
|
7561
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
7485
7562
|
Layout: Facebook.Yoga.YogaNode;
|
|
7486
7563
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
7487
7564
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -7578,7 +7655,7 @@ export declare namespace ReactUnity {
|
|
|
7578
7655
|
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
7579
7656
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
7580
7657
|
Parent: ReactUnity.IContainerComponent;
|
|
7581
|
-
Data: ReactUnity.
|
|
7658
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
7582
7659
|
Layout: Facebook.Yoga.YogaNode;
|
|
7583
7660
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
7584
7661
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -7675,7 +7752,7 @@ export declare namespace ReactUnity {
|
|
|
7675
7752
|
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
7676
7753
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
7677
7754
|
Parent: ReactUnity.IContainerComponent;
|
|
7678
|
-
Data: ReactUnity.
|
|
7755
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
7679
7756
|
Layout: Facebook.Yoga.YogaNode;
|
|
7680
7757
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
7681
7758
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -7775,7 +7852,7 @@ export declare namespace ReactUnity {
|
|
|
7775
7852
|
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
7776
7853
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
7777
7854
|
Parent: ReactUnity.IContainerComponent;
|
|
7778
|
-
Data: ReactUnity.
|
|
7855
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
7779
7856
|
Layout: Facebook.Yoga.YogaNode;
|
|
7780
7857
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
7781
7858
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -7874,7 +7951,7 @@ export declare namespace ReactUnity {
|
|
|
7874
7951
|
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
7875
7952
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
7876
7953
|
Parent: ReactUnity.IContainerComponent;
|
|
7877
|
-
Data: ReactUnity.
|
|
7954
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
7878
7955
|
Layout: Facebook.Yoga.YogaNode;
|
|
7879
7956
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
7880
7957
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -7968,7 +8045,7 @@ export declare namespace ReactUnity {
|
|
|
7968
8045
|
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
7969
8046
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
7970
8047
|
Parent: ReactUnity.IContainerComponent;
|
|
7971
|
-
Data: ReactUnity.
|
|
8048
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
7972
8049
|
Layout: Facebook.Yoga.YogaNode;
|
|
7973
8050
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
7974
8051
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -8070,7 +8147,7 @@ export declare namespace ReactUnity {
|
|
|
8070
8147
|
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
8071
8148
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
8072
8149
|
Parent: ReactUnity.IContainerComponent;
|
|
8073
|
-
Data: ReactUnity.
|
|
8150
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
8074
8151
|
Layout: Facebook.Yoga.YogaNode;
|
|
8075
8152
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
8076
8153
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -8168,7 +8245,7 @@ export declare namespace ReactUnity {
|
|
|
8168
8245
|
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
8169
8246
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
8170
8247
|
Parent: ReactUnity.IContainerComponent;
|
|
8171
|
-
Data: ReactUnity.
|
|
8248
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
8172
8249
|
Layout: Facebook.Yoga.YogaNode;
|
|
8173
8250
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
8174
8251
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -8265,7 +8342,7 @@ export declare namespace ReactUnity {
|
|
|
8265
8342
|
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
8266
8343
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
8267
8344
|
Parent: ReactUnity.IContainerComponent;
|
|
8268
|
-
Data: ReactUnity.
|
|
8345
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
8269
8346
|
Layout: Facebook.Yoga.YogaNode;
|
|
8270
8347
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
8271
8348
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -8367,7 +8444,7 @@ export declare namespace ReactUnity {
|
|
|
8367
8444
|
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
8368
8445
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
8369
8446
|
Parent: ReactUnity.IContainerComponent;
|
|
8370
|
-
Data: ReactUnity.
|
|
8447
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
8371
8448
|
Layout: Facebook.Yoga.YogaNode;
|
|
8372
8449
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
8373
8450
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -8470,7 +8547,7 @@ export declare namespace ReactUnity {
|
|
|
8470
8547
|
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
8471
8548
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
8472
8549
|
Parent: ReactUnity.IContainerComponent;
|
|
8473
|
-
Data: ReactUnity.
|
|
8550
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
8474
8551
|
Layout: Facebook.Yoga.YogaNode;
|
|
8475
8552
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
8476
8553
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -8571,7 +8648,7 @@ export declare namespace ReactUnity {
|
|
|
8571
8648
|
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
8572
8649
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
8573
8650
|
Parent: ReactUnity.IContainerComponent;
|
|
8574
|
-
Data: ReactUnity.
|
|
8651
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
8575
8652
|
Layout: Facebook.Yoga.YogaNode;
|
|
8576
8653
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
8577
8654
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -8666,7 +8743,7 @@ export declare namespace ReactUnity {
|
|
|
8666
8743
|
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
8667
8744
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
8668
8745
|
Parent: ReactUnity.IContainerComponent;
|
|
8669
|
-
Data: ReactUnity.
|
|
8746
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
8670
8747
|
Layout: Facebook.Yoga.YogaNode;
|
|
8671
8748
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
8672
8749
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -8766,7 +8843,7 @@ export declare namespace ReactUnity {
|
|
|
8766
8843
|
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
8767
8844
|
Context: ReactUnity.UGUI.UGUIContext;
|
|
8768
8845
|
Parent: ReactUnity.IContainerComponent;
|
|
8769
|
-
Data: ReactUnity.
|
|
8846
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
8770
8847
|
Layout: Facebook.Yoga.YogaNode;
|
|
8771
8848
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
8772
8849
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -8855,12 +8932,12 @@ export declare namespace ReactUnity {
|
|
|
8855
8932
|
interface IEventHandler {
|
|
8856
8933
|
ClearListeners(): void;
|
|
8857
8934
|
}
|
|
8858
|
-
class
|
|
8935
|
+
class ReactRendererUGUI {
|
|
8859
8936
|
constructor();
|
|
8860
8937
|
Root: UnityEngine.RectTransform;
|
|
8861
8938
|
MediaProvider: ReactUnity.Styling.Rules.IMediaProvider;
|
|
8862
8939
|
Context: ReactUnity.ReactContext;
|
|
8863
|
-
|
|
8940
|
+
Timer: ReactUnity.Scheduling.ITimer;
|
|
8864
8941
|
destroyCancellationToken: System.Threading.CancellationToken;
|
|
8865
8942
|
useGUILayout: boolean;
|
|
8866
8943
|
runInEditMode: boolean;
|
|
@@ -8890,8 +8967,8 @@ export declare namespace ReactUnity {
|
|
|
8890
8967
|
Source: ReactUnity.ScriptSource;
|
|
8891
8968
|
EngineType: ReactUnity.Scripting.JavascriptEngineType;
|
|
8892
8969
|
Globals: ReactUnity.Helpers.SerializableDictionary;
|
|
8893
|
-
AdvancedOptions: ReactUnity.
|
|
8894
|
-
Render(): ReactUnity.
|
|
8970
|
+
AdvancedOptions: ReactUnity.ReactRendererBase_ReactAdvancedOptions;
|
|
8971
|
+
Render(): ReactUnity.ReactRendererBase_WaitForRenderToComplete;
|
|
8895
8972
|
IsInvoking(): boolean;
|
|
8896
8973
|
CancelInvoke(): void;
|
|
8897
8974
|
Invoke(methodName: string, time: number): void;
|
|
@@ -8994,6 +9071,7 @@ export declare namespace ReactUnity {
|
|
|
8994
9071
|
CreateStaticScript(path: string): ReactUnity.ScriptSource;
|
|
8995
9072
|
Start(afterStart?: (() => void)): void;
|
|
8996
9073
|
Dispose(): void;
|
|
9074
|
+
HandleUnknownProperty(cmp: ReactUnity.IReactComponent, propertyName: string, value: any): void;
|
|
8997
9075
|
BindCommands(commandsObject: any, callbacksObject: any, getObjectCallback: any, getEventAsObjectCallback: any): void;
|
|
8998
9076
|
SetRef(refId: number, cmp: ReactUnity.IReactComponent): void;
|
|
8999
9077
|
GetRef(refId: number, ensureUpdate?: boolean): ReactUnity.IReactComponent;
|
|
@@ -9038,6 +9116,7 @@ export declare namespace ReactUnity {
|
|
|
9038
9116
|
BeforeStart: (() => void);
|
|
9039
9117
|
AfterStart: (() => void);
|
|
9040
9118
|
Pooling: ReactUnity.ReactContext_PoolingType;
|
|
9119
|
+
UnknownPropertyHandling: ReactUnity.ReactContext_UnknownPropertyHandling;
|
|
9041
9120
|
Equals(obj: any): boolean;
|
|
9042
9121
|
GetHashCode(): number;
|
|
9043
9122
|
GetType(): System.Type;
|
|
@@ -9716,23 +9795,185 @@ export declare namespace ReactUnity {
|
|
|
9716
9795
|
particleSystem: UnityEngine.Component;
|
|
9717
9796
|
name: string;
|
|
9718
9797
|
hideFlags: UnityEngine.HideFlags;
|
|
9719
|
-
OnScroll(data: UnityEngine.EventSystems.PointerEventData): void;
|
|
9720
|
-
ScrollBy(left?: number | undefined, top?: number | undefined, smoothness?: number | undefined): void;
|
|
9721
|
-
ScrollTo(left?: number | undefined, top?: number | undefined, smoothness?: number | undefined): void;
|
|
9722
|
-
Rebuild(executing: UnityEngine.UI.CanvasUpdate): void;
|
|
9723
|
-
LayoutComplete(): void;
|
|
9724
|
-
GraphicUpdateComplete(): void;
|
|
9725
|
-
IsActive(): boolean;
|
|
9726
|
-
StopMovement(): void;
|
|
9727
|
-
OnInitializePotentialDrag(eventData: UnityEngine.EventSystems.PointerEventData): void;
|
|
9728
|
-
OnBeginDrag(eventData: UnityEngine.EventSystems.PointerEventData): void;
|
|
9729
|
-
OnEndDrag(eventData: UnityEngine.EventSystems.PointerEventData): void;
|
|
9730
|
-
OnDrag(eventData: UnityEngine.EventSystems.PointerEventData): void;
|
|
9731
|
-
CalculateLayoutInputHorizontal(): void;
|
|
9732
|
-
CalculateLayoutInputVertical(): void;
|
|
9733
|
-
SetLayoutHorizontal(): void;
|
|
9734
|
-
SetLayoutVertical(): void;
|
|
9735
|
-
IsDestroyed(): boolean;
|
|
9798
|
+
OnScroll(data: UnityEngine.EventSystems.PointerEventData): void;
|
|
9799
|
+
ScrollBy(left?: number | undefined, top?: number | undefined, smoothness?: number | undefined): void;
|
|
9800
|
+
ScrollTo(left?: number | undefined, top?: number | undefined, smoothness?: number | undefined): void;
|
|
9801
|
+
Rebuild(executing: UnityEngine.UI.CanvasUpdate): void;
|
|
9802
|
+
LayoutComplete(): void;
|
|
9803
|
+
GraphicUpdateComplete(): void;
|
|
9804
|
+
IsActive(): boolean;
|
|
9805
|
+
StopMovement(): void;
|
|
9806
|
+
OnInitializePotentialDrag(eventData: UnityEngine.EventSystems.PointerEventData): void;
|
|
9807
|
+
OnBeginDrag(eventData: UnityEngine.EventSystems.PointerEventData): void;
|
|
9808
|
+
OnEndDrag(eventData: UnityEngine.EventSystems.PointerEventData): void;
|
|
9809
|
+
OnDrag(eventData: UnityEngine.EventSystems.PointerEventData): void;
|
|
9810
|
+
CalculateLayoutInputHorizontal(): void;
|
|
9811
|
+
CalculateLayoutInputVertical(): void;
|
|
9812
|
+
SetLayoutHorizontal(): void;
|
|
9813
|
+
SetLayoutVertical(): void;
|
|
9814
|
+
IsDestroyed(): boolean;
|
|
9815
|
+
IsInvoking(): boolean;
|
|
9816
|
+
CancelInvoke(): void;
|
|
9817
|
+
Invoke(methodName: string, time: number): void;
|
|
9818
|
+
InvokeRepeating(methodName: string, time: number, repeatRate: number): void;
|
|
9819
|
+
CancelInvoke(methodName: string): void;
|
|
9820
|
+
IsInvoking(methodName: string): boolean;
|
|
9821
|
+
StartCoroutine(methodName: string): UnityEngine.Coroutine;
|
|
9822
|
+
StartCoroutine(methodName: string, value: any): UnityEngine.Coroutine;
|
|
9823
|
+
StartCoroutine(routine: System.Collections.IEnumerator): UnityEngine.Coroutine;
|
|
9824
|
+
StartCoroutine_Auto(routine: System.Collections.IEnumerator): UnityEngine.Coroutine;
|
|
9825
|
+
StopCoroutine(routine: System.Collections.IEnumerator): void;
|
|
9826
|
+
StopCoroutine(routine: UnityEngine.Coroutine): void;
|
|
9827
|
+
StopCoroutine(methodName: string): void;
|
|
9828
|
+
StopAllCoroutines(): void;
|
|
9829
|
+
GetComponent(type: System.Type): UnityEngine.Component;
|
|
9830
|
+
GetComponent(type: string): UnityEngine.Component;
|
|
9831
|
+
GetComponentInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component;
|
|
9832
|
+
GetComponentInChildren(t: System.Type): UnityEngine.Component;
|
|
9833
|
+
GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
|
|
9834
|
+
GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
|
|
9835
|
+
GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
|
|
9836
|
+
GetComponentInParent(t: System.Type): UnityEngine.Component;
|
|
9837
|
+
GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
|
|
9838
|
+
GetComponentsInParent(t: System.Type): UnityEngine.Component[];
|
|
9839
|
+
GetComponents(type: System.Type): UnityEngine.Component[];
|
|
9840
|
+
GetComponents(type: System.Type, results: UnityEngine.Component[]): void;
|
|
9841
|
+
CompareTag(tag: string): boolean;
|
|
9842
|
+
SendMessageUpwards(methodName: string, value: any, options: UnityEngine.SendMessageOptions): void;
|
|
9843
|
+
SendMessageUpwards(methodName: string, value: any): void;
|
|
9844
|
+
SendMessageUpwards(methodName: string): void;
|
|
9845
|
+
SendMessageUpwards(methodName: string, options: UnityEngine.SendMessageOptions): void;
|
|
9846
|
+
SendMessage(methodName: string, value: any): void;
|
|
9847
|
+
SendMessage(methodName: string): void;
|
|
9848
|
+
SendMessage(methodName: string, value: any, options: UnityEngine.SendMessageOptions): void;
|
|
9849
|
+
SendMessage(methodName: string, options: UnityEngine.SendMessageOptions): void;
|
|
9850
|
+
BroadcastMessage(methodName: string, parameter: any, options: UnityEngine.SendMessageOptions): void;
|
|
9851
|
+
BroadcastMessage(methodName: string, parameter: any): void;
|
|
9852
|
+
BroadcastMessage(methodName: string): void;
|
|
9853
|
+
BroadcastMessage(methodName: string, options: UnityEngine.SendMessageOptions): void;
|
|
9854
|
+
GetInstanceID(): number;
|
|
9855
|
+
GetHashCode(): number;
|
|
9856
|
+
Equals(other: any): boolean;
|
|
9857
|
+
ToString(): string;
|
|
9858
|
+
GetType(): System.Type;
|
|
9859
|
+
}
|
|
9860
|
+
class PrefabTarget_PrefabEvent {
|
|
9861
|
+
constructor();
|
|
9862
|
+
AddListener(call: ((arg0: ReactUnity.UGUI.PrefabComponent, arg1: ReactUnity.UGUI.Behaviours.PrefabTarget) => void)): void;
|
|
9863
|
+
RemoveListener(call: ((arg0: ReactUnity.UGUI.PrefabComponent, arg1: ReactUnity.UGUI.Behaviours.PrefabTarget) => void)): void;
|
|
9864
|
+
Invoke(arg0: ReactUnity.UGUI.PrefabComponent, arg1: ReactUnity.UGUI.Behaviours.PrefabTarget): void;
|
|
9865
|
+
GetPersistentEventCount(): number;
|
|
9866
|
+
GetPersistentTarget(index: number): UnityEngine.Object;
|
|
9867
|
+
GetPersistentMethodName(index: number): string;
|
|
9868
|
+
SetPersistentListenerState(index: number, state: UnityEngine.Events.UnityEventCallState): void;
|
|
9869
|
+
GetPersistentListenerState(index: number): UnityEngine.Events.UnityEventCallState;
|
|
9870
|
+
RemoveAllListeners(): void;
|
|
9871
|
+
ToString(): string;
|
|
9872
|
+
Equals(obj: any): boolean;
|
|
9873
|
+
GetHashCode(): number;
|
|
9874
|
+
GetType(): System.Type;
|
|
9875
|
+
}
|
|
9876
|
+
}
|
|
9877
|
+
namespace EventHandlers {
|
|
9878
|
+
class BeginDragHandler {
|
|
9879
|
+
constructor();
|
|
9880
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
9881
|
+
useGUILayout: boolean;
|
|
9882
|
+
runInEditMode: boolean;
|
|
9883
|
+
enabled: boolean;
|
|
9884
|
+
isActiveAndEnabled: boolean;
|
|
9885
|
+
transform: UnityEngine.Transform;
|
|
9886
|
+
gameObject: UnityEngine.GameObject;
|
|
9887
|
+
tag: string;
|
|
9888
|
+
rigidbody: UnityEngine.Component;
|
|
9889
|
+
rigidbody2D: UnityEngine.Component;
|
|
9890
|
+
camera: UnityEngine.Component;
|
|
9891
|
+
light: UnityEngine.Component;
|
|
9892
|
+
animation: UnityEngine.Component;
|
|
9893
|
+
constantForce: UnityEngine.Component;
|
|
9894
|
+
renderer: UnityEngine.Component;
|
|
9895
|
+
audio: UnityEngine.Component;
|
|
9896
|
+
networkView: UnityEngine.Component;
|
|
9897
|
+
collider: UnityEngine.Component;
|
|
9898
|
+
collider2D: UnityEngine.Component;
|
|
9899
|
+
hingeJoint: UnityEngine.Component;
|
|
9900
|
+
particleSystem: UnityEngine.Component;
|
|
9901
|
+
name: string;
|
|
9902
|
+
hideFlags: UnityEngine.HideFlags;
|
|
9903
|
+
OnBeginDrag(eventData: UnityEngine.EventSystems.PointerEventData): void;
|
|
9904
|
+
ClearListeners(): void;
|
|
9905
|
+
IsInvoking(): boolean;
|
|
9906
|
+
CancelInvoke(): void;
|
|
9907
|
+
Invoke(methodName: string, time: number): void;
|
|
9908
|
+
InvokeRepeating(methodName: string, time: number, repeatRate: number): void;
|
|
9909
|
+
CancelInvoke(methodName: string): void;
|
|
9910
|
+
IsInvoking(methodName: string): boolean;
|
|
9911
|
+
StartCoroutine(methodName: string): UnityEngine.Coroutine;
|
|
9912
|
+
StartCoroutine(methodName: string, value: any): UnityEngine.Coroutine;
|
|
9913
|
+
StartCoroutine(routine: System.Collections.IEnumerator): UnityEngine.Coroutine;
|
|
9914
|
+
StartCoroutine_Auto(routine: System.Collections.IEnumerator): UnityEngine.Coroutine;
|
|
9915
|
+
StopCoroutine(routine: System.Collections.IEnumerator): void;
|
|
9916
|
+
StopCoroutine(routine: UnityEngine.Coroutine): void;
|
|
9917
|
+
StopCoroutine(methodName: string): void;
|
|
9918
|
+
StopAllCoroutines(): void;
|
|
9919
|
+
GetComponent(type: System.Type): UnityEngine.Component;
|
|
9920
|
+
GetComponent(type: string): UnityEngine.Component;
|
|
9921
|
+
GetComponentInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component;
|
|
9922
|
+
GetComponentInChildren(t: System.Type): UnityEngine.Component;
|
|
9923
|
+
GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
|
|
9924
|
+
GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
|
|
9925
|
+
GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
|
|
9926
|
+
GetComponentInParent(t: System.Type): UnityEngine.Component;
|
|
9927
|
+
GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
|
|
9928
|
+
GetComponentsInParent(t: System.Type): UnityEngine.Component[];
|
|
9929
|
+
GetComponents(type: System.Type): UnityEngine.Component[];
|
|
9930
|
+
GetComponents(type: System.Type, results: UnityEngine.Component[]): void;
|
|
9931
|
+
CompareTag(tag: string): boolean;
|
|
9932
|
+
SendMessageUpwards(methodName: string, value: any, options: UnityEngine.SendMessageOptions): void;
|
|
9933
|
+
SendMessageUpwards(methodName: string, value: any): void;
|
|
9934
|
+
SendMessageUpwards(methodName: string): void;
|
|
9935
|
+
SendMessageUpwards(methodName: string, options: UnityEngine.SendMessageOptions): void;
|
|
9936
|
+
SendMessage(methodName: string, value: any): void;
|
|
9937
|
+
SendMessage(methodName: string): void;
|
|
9938
|
+
SendMessage(methodName: string, value: any, options: UnityEngine.SendMessageOptions): void;
|
|
9939
|
+
SendMessage(methodName: string, options: UnityEngine.SendMessageOptions): void;
|
|
9940
|
+
BroadcastMessage(methodName: string, parameter: any, options: UnityEngine.SendMessageOptions): void;
|
|
9941
|
+
BroadcastMessage(methodName: string, parameter: any): void;
|
|
9942
|
+
BroadcastMessage(methodName: string): void;
|
|
9943
|
+
BroadcastMessage(methodName: string, options: UnityEngine.SendMessageOptions): void;
|
|
9944
|
+
GetInstanceID(): number;
|
|
9945
|
+
GetHashCode(): number;
|
|
9946
|
+
Equals(other: any): boolean;
|
|
9947
|
+
ToString(): string;
|
|
9948
|
+
GetType(): System.Type;
|
|
9949
|
+
}
|
|
9950
|
+
class CancelHandler {
|
|
9951
|
+
constructor();
|
|
9952
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
9953
|
+
useGUILayout: boolean;
|
|
9954
|
+
runInEditMode: boolean;
|
|
9955
|
+
enabled: boolean;
|
|
9956
|
+
isActiveAndEnabled: boolean;
|
|
9957
|
+
transform: UnityEngine.Transform;
|
|
9958
|
+
gameObject: UnityEngine.GameObject;
|
|
9959
|
+
tag: string;
|
|
9960
|
+
rigidbody: UnityEngine.Component;
|
|
9961
|
+
rigidbody2D: UnityEngine.Component;
|
|
9962
|
+
camera: UnityEngine.Component;
|
|
9963
|
+
light: UnityEngine.Component;
|
|
9964
|
+
animation: UnityEngine.Component;
|
|
9965
|
+
constantForce: UnityEngine.Component;
|
|
9966
|
+
renderer: UnityEngine.Component;
|
|
9967
|
+
audio: UnityEngine.Component;
|
|
9968
|
+
networkView: UnityEngine.Component;
|
|
9969
|
+
collider: UnityEngine.Component;
|
|
9970
|
+
collider2D: UnityEngine.Component;
|
|
9971
|
+
hingeJoint: UnityEngine.Component;
|
|
9972
|
+
particleSystem: UnityEngine.Component;
|
|
9973
|
+
name: string;
|
|
9974
|
+
hideFlags: UnityEngine.HideFlags;
|
|
9975
|
+
OnCancel(eventData: UnityEngine.EventSystems.BaseEventData): void;
|
|
9976
|
+
ClearListeners(): void;
|
|
9736
9977
|
IsInvoking(): boolean;
|
|
9737
9978
|
CancelInvoke(): void;
|
|
9738
9979
|
Invoke(methodName: string, time: number): void;
|
|
@@ -9778,25 +10019,7 @@ export declare namespace ReactUnity {
|
|
|
9778
10019
|
ToString(): string;
|
|
9779
10020
|
GetType(): System.Type;
|
|
9780
10021
|
}
|
|
9781
|
-
class
|
|
9782
|
-
constructor();
|
|
9783
|
-
AddListener(call: ((arg0: ReactUnity.UGUI.PrefabComponent, arg1: ReactUnity.UGUI.Behaviours.PrefabTarget) => void)): void;
|
|
9784
|
-
RemoveListener(call: ((arg0: ReactUnity.UGUI.PrefabComponent, arg1: ReactUnity.UGUI.Behaviours.PrefabTarget) => void)): void;
|
|
9785
|
-
Invoke(arg0: ReactUnity.UGUI.PrefabComponent, arg1: ReactUnity.UGUI.Behaviours.PrefabTarget): void;
|
|
9786
|
-
GetPersistentEventCount(): number;
|
|
9787
|
-
GetPersistentTarget(index: number): UnityEngine.Object;
|
|
9788
|
-
GetPersistentMethodName(index: number): string;
|
|
9789
|
-
SetPersistentListenerState(index: number, state: UnityEngine.Events.UnityEventCallState): void;
|
|
9790
|
-
GetPersistentListenerState(index: number): UnityEngine.Events.UnityEventCallState;
|
|
9791
|
-
RemoveAllListeners(): void;
|
|
9792
|
-
ToString(): string;
|
|
9793
|
-
Equals(obj: any): boolean;
|
|
9794
|
-
GetHashCode(): number;
|
|
9795
|
-
GetType(): System.Type;
|
|
9796
|
-
}
|
|
9797
|
-
}
|
|
9798
|
-
namespace EventHandlers {
|
|
9799
|
-
class BeginDragHandler {
|
|
10022
|
+
class ContextMenuHandler {
|
|
9800
10023
|
constructor();
|
|
9801
10024
|
destroyCancellationToken: System.Threading.CancellationToken;
|
|
9802
10025
|
useGUILayout: boolean;
|
|
@@ -9821,7 +10044,7 @@ export declare namespace ReactUnity {
|
|
|
9821
10044
|
particleSystem: UnityEngine.Component;
|
|
9822
10045
|
name: string;
|
|
9823
10046
|
hideFlags: UnityEngine.HideFlags;
|
|
9824
|
-
|
|
10047
|
+
OnPointerClick(eventData: UnityEngine.EventSystems.PointerEventData): void;
|
|
9825
10048
|
ClearListeners(): void;
|
|
9826
10049
|
IsInvoking(): boolean;
|
|
9827
10050
|
CancelInvoke(): void;
|
|
@@ -9868,7 +10091,7 @@ export declare namespace ReactUnity {
|
|
|
9868
10091
|
ToString(): string;
|
|
9869
10092
|
GetType(): System.Type;
|
|
9870
10093
|
}
|
|
9871
|
-
class
|
|
10094
|
+
class DeselectHandler {
|
|
9872
10095
|
constructor();
|
|
9873
10096
|
destroyCancellationToken: System.Threading.CancellationToken;
|
|
9874
10097
|
useGUILayout: boolean;
|
|
@@ -9893,7 +10116,7 @@ export declare namespace ReactUnity {
|
|
|
9893
10116
|
particleSystem: UnityEngine.Component;
|
|
9894
10117
|
name: string;
|
|
9895
10118
|
hideFlags: UnityEngine.HideFlags;
|
|
9896
|
-
|
|
10119
|
+
OnDeselect(eventData: UnityEngine.EventSystems.BaseEventData): void;
|
|
9897
10120
|
ClearListeners(): void;
|
|
9898
10121
|
IsInvoking(): boolean;
|
|
9899
10122
|
CancelInvoke(): void;
|
|
@@ -9940,7 +10163,7 @@ export declare namespace ReactUnity {
|
|
|
9940
10163
|
ToString(): string;
|
|
9941
10164
|
GetType(): System.Type;
|
|
9942
10165
|
}
|
|
9943
|
-
class
|
|
10166
|
+
class DoubleClickHandler {
|
|
9944
10167
|
constructor();
|
|
9945
10168
|
destroyCancellationToken: System.Threading.CancellationToken;
|
|
9946
10169
|
useGUILayout: boolean;
|
|
@@ -9965,7 +10188,7 @@ export declare namespace ReactUnity {
|
|
|
9965
10188
|
particleSystem: UnityEngine.Component;
|
|
9966
10189
|
name: string;
|
|
9967
10190
|
hideFlags: UnityEngine.HideFlags;
|
|
9968
|
-
|
|
10191
|
+
OnPointerClick(eventData: UnityEngine.EventSystems.PointerEventData): void;
|
|
9969
10192
|
ClearListeners(): void;
|
|
9970
10193
|
IsInvoking(): boolean;
|
|
9971
10194
|
CancelInvoke(): void;
|
|
@@ -12947,14 +13170,17 @@ export declare namespace ReactUnity {
|
|
|
12947
13170
|
}
|
|
12948
13171
|
namespace UIToolkit {
|
|
12949
13172
|
class AnchorComponent {
|
|
12950
|
-
constructor(context: ReactUnity.UIToolkit.UIToolkitContext);
|
|
13173
|
+
constructor(context: ReactUnity.UIToolkit.UIToolkitContext, tag?: string);
|
|
13174
|
+
Url: string;
|
|
13175
|
+
Target: string;
|
|
12951
13176
|
Element: UnityEngine.UIElements.Button;
|
|
12952
13177
|
TargetElement: UnityEngine.UIElements.VisualElement;
|
|
12953
13178
|
ClientWidth: number;
|
|
12954
13179
|
ClientHeight: number;
|
|
13180
|
+
Disabled: boolean;
|
|
12955
13181
|
Context: ReactUnity.UIToolkit.UIToolkitContext;
|
|
12956
13182
|
Parent: ReactUnity.IContainerComponent;
|
|
12957
|
-
Data: ReactUnity.
|
|
13183
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
12958
13184
|
Layout: Facebook.Yoga.YogaNode;
|
|
12959
13185
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
12960
13186
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -12990,8 +13216,9 @@ export declare namespace ReactUnity {
|
|
|
12990
13216
|
ScrollTop: number;
|
|
12991
13217
|
ScrollWidth: number;
|
|
12992
13218
|
ScrollHeight: number;
|
|
12993
|
-
url: string;
|
|
12994
13219
|
SetProperty(propertyName: string, value: any): void;
|
|
13220
|
+
Activate(): void;
|
|
13221
|
+
OpenUrl(target?: string): void;
|
|
12995
13222
|
Pool(): boolean;
|
|
12996
13223
|
AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
|
|
12997
13224
|
GetComponent(type: System.Type): any;
|
|
@@ -13035,15 +13262,15 @@ export declare namespace ReactUnity {
|
|
|
13035
13262
|
class BaseFieldComponent<TElementType = any, TValueType = any> {
|
|
13036
13263
|
constructor(context: ReactUnity.UIToolkit.UIToolkitContext, tag: string);
|
|
13037
13264
|
Indeterminate: boolean;
|
|
13038
|
-
Disabled: boolean;
|
|
13039
13265
|
Value: TValueType;
|
|
13040
13266
|
Element: TElementType;
|
|
13041
13267
|
TargetElement: UnityEngine.UIElements.VisualElement;
|
|
13042
13268
|
ClientWidth: number;
|
|
13043
13269
|
ClientHeight: number;
|
|
13270
|
+
Disabled: boolean;
|
|
13044
13271
|
Context: ReactUnity.UIToolkit.UIToolkitContext;
|
|
13045
13272
|
Parent: ReactUnity.IContainerComponent;
|
|
13046
|
-
Data: ReactUnity.
|
|
13273
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
13047
13274
|
Layout: Facebook.Yoga.YogaNode;
|
|
13048
13275
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
13049
13276
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -13129,15 +13356,15 @@ export declare namespace ReactUnity {
|
|
|
13129
13356
|
ReadOnly: boolean;
|
|
13130
13357
|
PlaceholderShown: boolean;
|
|
13131
13358
|
Indeterminate: boolean;
|
|
13132
|
-
Disabled: boolean;
|
|
13133
13359
|
Value: string;
|
|
13134
13360
|
Element: TElementType;
|
|
13135
13361
|
TargetElement: UnityEngine.UIElements.VisualElement;
|
|
13136
13362
|
ClientWidth: number;
|
|
13137
13363
|
ClientHeight: number;
|
|
13364
|
+
Disabled: boolean;
|
|
13138
13365
|
Context: ReactUnity.UIToolkit.UIToolkitContext;
|
|
13139
13366
|
Parent: ReactUnity.IContainerComponent;
|
|
13140
|
-
Data: ReactUnity.
|
|
13367
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
13141
13368
|
Layout: Facebook.Yoga.YogaNode;
|
|
13142
13369
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
13143
13370
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -13225,15 +13452,15 @@ export declare namespace ReactUnity {
|
|
|
13225
13452
|
ReadOnly: boolean;
|
|
13226
13453
|
PlaceholderShown: boolean;
|
|
13227
13454
|
Indeterminate: boolean;
|
|
13228
|
-
Disabled: boolean;
|
|
13229
13455
|
Value: string;
|
|
13230
13456
|
Element: UnityEngine.UIElements.TextField;
|
|
13231
13457
|
TargetElement: UnityEngine.UIElements.VisualElement;
|
|
13232
13458
|
ClientWidth: number;
|
|
13233
13459
|
ClientHeight: number;
|
|
13460
|
+
Disabled: boolean;
|
|
13234
13461
|
Context: ReactUnity.UIToolkit.UIToolkitContext;
|
|
13235
13462
|
Parent: ReactUnity.IContainerComponent;
|
|
13236
|
-
Data: ReactUnity.
|
|
13463
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
13237
13464
|
Layout: Facebook.Yoga.YogaNode;
|
|
13238
13465
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
13239
13466
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -13322,9 +13549,10 @@ export declare namespace ReactUnity {
|
|
|
13322
13549
|
TargetElement: UnityEngine.UIElements.VisualElement;
|
|
13323
13550
|
ClientWidth: number;
|
|
13324
13551
|
ClientHeight: number;
|
|
13552
|
+
Disabled: boolean;
|
|
13325
13553
|
Context: ReactUnity.UIToolkit.UIToolkitContext;
|
|
13326
13554
|
Parent: ReactUnity.IContainerComponent;
|
|
13327
|
-
Data: ReactUnity.
|
|
13555
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
13328
13556
|
Layout: Facebook.Yoga.YogaNode;
|
|
13329
13557
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
13330
13558
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -13369,6 +13597,7 @@ export declare namespace ReactUnity {
|
|
|
13369
13597
|
ReleaseMouse(): void;
|
|
13370
13598
|
HasMouseCapture(): boolean;
|
|
13371
13599
|
UpdateOrder(prev: number, current: number): boolean;
|
|
13600
|
+
Activate(): void;
|
|
13372
13601
|
Update(): void;
|
|
13373
13602
|
MarkForStyleResolving(recursive: boolean): void;
|
|
13374
13603
|
Remove(): void;
|
|
@@ -13408,9 +13637,10 @@ export declare namespace ReactUnity {
|
|
|
13408
13637
|
TargetElement: UnityEngine.UIElements.VisualElement;
|
|
13409
13638
|
ClientWidth: number;
|
|
13410
13639
|
ClientHeight: number;
|
|
13640
|
+
Disabled: boolean;
|
|
13411
13641
|
Context: ReactUnity.UIToolkit.UIToolkitContext;
|
|
13412
13642
|
Parent: ReactUnity.IContainerComponent;
|
|
13413
|
-
Data: ReactUnity.
|
|
13643
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
13414
13644
|
Layout: Facebook.Yoga.YogaNode;
|
|
13415
13645
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
13416
13646
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -13456,6 +13686,7 @@ export declare namespace ReactUnity {
|
|
|
13456
13686
|
ReleaseMouse(): void;
|
|
13457
13687
|
HasMouseCapture(): boolean;
|
|
13458
13688
|
UpdateOrder(prev: number, current: number): boolean;
|
|
13689
|
+
Activate(): void;
|
|
13459
13690
|
Update(): void;
|
|
13460
13691
|
MarkForStyleResolving(recursive: boolean): void;
|
|
13461
13692
|
Remove(): void;
|
|
@@ -13494,9 +13725,10 @@ export declare namespace ReactUnity {
|
|
|
13494
13725
|
TargetElement: UnityEngine.UIElements.VisualElement;
|
|
13495
13726
|
ClientWidth: number;
|
|
13496
13727
|
ClientHeight: number;
|
|
13728
|
+
Disabled: boolean;
|
|
13497
13729
|
Context: ReactUnity.UIToolkit.UIToolkitContext;
|
|
13498
13730
|
Parent: ReactUnity.IContainerComponent;
|
|
13499
|
-
Data: ReactUnity.
|
|
13731
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
13500
13732
|
Layout: Facebook.Yoga.YogaNode;
|
|
13501
13733
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
13502
13734
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -13541,6 +13773,7 @@ export declare namespace ReactUnity {
|
|
|
13541
13773
|
ReleaseMouse(): void;
|
|
13542
13774
|
HasMouseCapture(): boolean;
|
|
13543
13775
|
UpdateOrder(prev: number, current: number): boolean;
|
|
13776
|
+
Activate(): void;
|
|
13544
13777
|
Update(): void;
|
|
13545
13778
|
MarkForStyleResolving(recursive: boolean): void;
|
|
13546
13779
|
Remove(): void;
|
|
@@ -13581,9 +13814,10 @@ export declare namespace ReactUnity {
|
|
|
13581
13814
|
TargetElement: UnityEngine.UIElements.VisualElement;
|
|
13582
13815
|
ClientWidth: number;
|
|
13583
13816
|
ClientHeight: number;
|
|
13817
|
+
Disabled: boolean;
|
|
13584
13818
|
Context: ReactUnity.UIToolkit.UIToolkitContext;
|
|
13585
13819
|
Parent: ReactUnity.IContainerComponent;
|
|
13586
|
-
Data: ReactUnity.
|
|
13820
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
13587
13821
|
Layout: Facebook.Yoga.YogaNode;
|
|
13588
13822
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
13589
13823
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -13628,6 +13862,7 @@ export declare namespace ReactUnity {
|
|
|
13628
13862
|
ReleaseMouse(): void;
|
|
13629
13863
|
HasMouseCapture(): boolean;
|
|
13630
13864
|
UpdateOrder(prev: number, current: number): boolean;
|
|
13865
|
+
Activate(): void;
|
|
13631
13866
|
Update(): void;
|
|
13632
13867
|
MarkForStyleResolving(recursive: boolean): void;
|
|
13633
13868
|
Remove(): void;
|
|
@@ -13666,9 +13901,10 @@ export declare namespace ReactUnity {
|
|
|
13666
13901
|
TargetElement: UnityEngine.UIElements.VisualElement;
|
|
13667
13902
|
ClientWidth: number;
|
|
13668
13903
|
ClientHeight: number;
|
|
13904
|
+
Disabled: boolean;
|
|
13669
13905
|
Context: ReactUnity.UIToolkit.UIToolkitContext;
|
|
13670
13906
|
Parent: ReactUnity.IContainerComponent;
|
|
13671
|
-
Data: ReactUnity.
|
|
13907
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
13672
13908
|
Layout: Facebook.Yoga.YogaNode;
|
|
13673
13909
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
13674
13910
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -13713,6 +13949,7 @@ export declare namespace ReactUnity {
|
|
|
13713
13949
|
ReleaseMouse(): void;
|
|
13714
13950
|
HasMouseCapture(): boolean;
|
|
13715
13951
|
UpdateOrder(prev: number, current: number): boolean;
|
|
13952
|
+
Activate(): void;
|
|
13716
13953
|
Update(): void;
|
|
13717
13954
|
MarkForStyleResolving(recursive: boolean): void;
|
|
13718
13955
|
Remove(): void;
|
|
@@ -13751,9 +13988,10 @@ export declare namespace ReactUnity {
|
|
|
13751
13988
|
TargetElement: UnityEngine.UIElements.VisualElement;
|
|
13752
13989
|
ClientWidth: number;
|
|
13753
13990
|
ClientHeight: number;
|
|
13991
|
+
Disabled: boolean;
|
|
13754
13992
|
Context: ReactUnity.UIToolkit.UIToolkitContext;
|
|
13755
13993
|
Parent: ReactUnity.IContainerComponent;
|
|
13756
|
-
Data: ReactUnity.
|
|
13994
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
13757
13995
|
Layout: Facebook.Yoga.YogaNode;
|
|
13758
13996
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
13759
13997
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -13800,6 +14038,7 @@ export declare namespace ReactUnity {
|
|
|
13800
14038
|
ReleaseMouse(): void;
|
|
13801
14039
|
HasMouseCapture(): boolean;
|
|
13802
14040
|
UpdateOrder(prev: number, current: number): boolean;
|
|
14041
|
+
Activate(): void;
|
|
13803
14042
|
Update(): void;
|
|
13804
14043
|
MarkForStyleResolving(recursive: boolean): void;
|
|
13805
14044
|
Remove(): void;
|
|
@@ -13835,15 +14074,15 @@ export declare namespace ReactUnity {
|
|
|
13835
14074
|
class RangeComponent {
|
|
13836
14075
|
constructor(context: ReactUnity.UIToolkit.UIToolkitContext);
|
|
13837
14076
|
Indeterminate: boolean;
|
|
13838
|
-
Disabled: boolean;
|
|
13839
14077
|
Value: UnityEngine.Vector2;
|
|
13840
14078
|
Element: UnityEngine.UIElements.MinMaxSlider;
|
|
13841
14079
|
TargetElement: UnityEngine.UIElements.VisualElement;
|
|
13842
14080
|
ClientWidth: number;
|
|
13843
14081
|
ClientHeight: number;
|
|
14082
|
+
Disabled: boolean;
|
|
13844
14083
|
Context: ReactUnity.UIToolkit.UIToolkitContext;
|
|
13845
14084
|
Parent: ReactUnity.IContainerComponent;
|
|
13846
|
-
Data: ReactUnity.
|
|
14085
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
13847
14086
|
Layout: Facebook.Yoga.YogaNode;
|
|
13848
14087
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
13849
14088
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -13934,9 +14173,10 @@ export declare namespace ReactUnity {
|
|
|
13934
14173
|
TargetElement: UnityEngine.UIElements.VisualElement;
|
|
13935
14174
|
ClientWidth: number;
|
|
13936
14175
|
ClientHeight: number;
|
|
14176
|
+
Disabled: boolean;
|
|
13937
14177
|
Context: ReactUnity.UIToolkit.UIToolkitContext;
|
|
13938
14178
|
Parent: ReactUnity.IContainerComponent;
|
|
13939
|
-
Data: ReactUnity.
|
|
14179
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
13940
14180
|
Layout: Facebook.Yoga.YogaNode;
|
|
13941
14181
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
13942
14182
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -13979,6 +14219,7 @@ export declare namespace ReactUnity {
|
|
|
13979
14219
|
ReleaseMouse(): void;
|
|
13980
14220
|
HasMouseCapture(): boolean;
|
|
13981
14221
|
UpdateOrder(prev: number, current: number): boolean;
|
|
14222
|
+
Activate(): void;
|
|
13982
14223
|
Update(): void;
|
|
13983
14224
|
MarkForStyleResolving(recursive: boolean): void;
|
|
13984
14225
|
Remove(): void;
|
|
@@ -14014,15 +14255,15 @@ export declare namespace ReactUnity {
|
|
|
14014
14255
|
class BaseSliderComponent<S = any, TValueType = any> {
|
|
14015
14256
|
constructor(context: ReactUnity.UIToolkit.UIToolkitContext, tag: string);
|
|
14016
14257
|
Indeterminate: boolean;
|
|
14017
|
-
Disabled: boolean;
|
|
14018
14258
|
Value: TValueType;
|
|
14019
14259
|
Element: S;
|
|
14020
14260
|
TargetElement: UnityEngine.UIElements.VisualElement;
|
|
14021
14261
|
ClientWidth: number;
|
|
14022
14262
|
ClientHeight: number;
|
|
14263
|
+
Disabled: boolean;
|
|
14023
14264
|
Context: ReactUnity.UIToolkit.UIToolkitContext;
|
|
14024
14265
|
Parent: ReactUnity.IContainerComponent;
|
|
14025
|
-
Data: ReactUnity.
|
|
14266
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
14026
14267
|
Layout: Facebook.Yoga.YogaNode;
|
|
14027
14268
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
14028
14269
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -14113,9 +14354,10 @@ export declare namespace ReactUnity {
|
|
|
14113
14354
|
TargetElement: UnityEngine.UIElements.VisualElement;
|
|
14114
14355
|
ClientWidth: number;
|
|
14115
14356
|
ClientHeight: number;
|
|
14357
|
+
Disabled: boolean;
|
|
14116
14358
|
Context: ReactUnity.UIToolkit.UIToolkitContext;
|
|
14117
14359
|
Parent: ReactUnity.IContainerComponent;
|
|
14118
|
-
Data: ReactUnity.
|
|
14360
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
14119
14361
|
Layout: Facebook.Yoga.YogaNode;
|
|
14120
14362
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
14121
14363
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -14161,6 +14403,7 @@ export declare namespace ReactUnity {
|
|
|
14161
14403
|
ReleaseMouse(): void;
|
|
14162
14404
|
HasMouseCapture(): boolean;
|
|
14163
14405
|
UpdateOrder(prev: number, current: number): boolean;
|
|
14406
|
+
Activate(): void;
|
|
14164
14407
|
MarkForStyleResolving(recursive: boolean): void;
|
|
14165
14408
|
Remove(): void;
|
|
14166
14409
|
Destroy(recursive?: boolean): void;
|
|
@@ -14199,9 +14442,10 @@ export declare namespace ReactUnity {
|
|
|
14199
14442
|
TargetElement: UnityEngine.UIElements.VisualElement;
|
|
14200
14443
|
ClientWidth: number;
|
|
14201
14444
|
ClientHeight: number;
|
|
14445
|
+
Disabled: boolean;
|
|
14202
14446
|
Context: ReactUnity.UIToolkit.UIToolkitContext;
|
|
14203
14447
|
Parent: ReactUnity.IContainerComponent;
|
|
14204
|
-
Data: ReactUnity.
|
|
14448
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
14205
14449
|
Layout: Facebook.Yoga.YogaNode;
|
|
14206
14450
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
14207
14451
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -14247,6 +14491,7 @@ export declare namespace ReactUnity {
|
|
|
14247
14491
|
ReleaseMouse(): void;
|
|
14248
14492
|
HasMouseCapture(): boolean;
|
|
14249
14493
|
UpdateOrder(prev: number, current: number): boolean;
|
|
14494
|
+
Activate(): void;
|
|
14250
14495
|
Update(): void;
|
|
14251
14496
|
MarkForStyleResolving(recursive: boolean): void;
|
|
14252
14497
|
Remove(): void;
|
|
@@ -14283,15 +14528,15 @@ export declare namespace ReactUnity {
|
|
|
14283
14528
|
constructor(context: ReactUnity.UIToolkit.UIToolkitContext, tag: string);
|
|
14284
14529
|
Checked: boolean;
|
|
14285
14530
|
Indeterminate: boolean;
|
|
14286
|
-
Disabled: boolean;
|
|
14287
14531
|
Value: boolean;
|
|
14288
14532
|
Element: T;
|
|
14289
14533
|
TargetElement: UnityEngine.UIElements.VisualElement;
|
|
14290
14534
|
ClientWidth: number;
|
|
14291
14535
|
ClientHeight: number;
|
|
14536
|
+
Disabled: boolean;
|
|
14292
14537
|
Context: ReactUnity.UIToolkit.UIToolkitContext;
|
|
14293
14538
|
Parent: ReactUnity.IContainerComponent;
|
|
14294
|
-
Data: ReactUnity.
|
|
14539
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
14295
14540
|
Layout: Facebook.Yoga.YogaNode;
|
|
14296
14541
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
14297
14542
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -14382,9 +14627,10 @@ export declare namespace ReactUnity {
|
|
|
14382
14627
|
TargetElement: UnityEngine.UIElements.VisualElement;
|
|
14383
14628
|
ClientWidth: number;
|
|
14384
14629
|
ClientHeight: number;
|
|
14630
|
+
Disabled: boolean;
|
|
14385
14631
|
Context: ReactUnity.UIToolkit.UIToolkitContext;
|
|
14386
14632
|
Parent: ReactUnity.IContainerComponent;
|
|
14387
|
-
Data: ReactUnity.
|
|
14633
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
14388
14634
|
Layout: Facebook.Yoga.YogaNode;
|
|
14389
14635
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
14390
14636
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -14429,6 +14675,7 @@ export declare namespace ReactUnity {
|
|
|
14429
14675
|
ReleaseMouse(): void;
|
|
14430
14676
|
HasMouseCapture(): boolean;
|
|
14431
14677
|
UpdateOrder(prev: number, current: number): boolean;
|
|
14678
|
+
Activate(): void;
|
|
14432
14679
|
Update(): void;
|
|
14433
14680
|
MarkForStyleResolving(recursive: boolean): void;
|
|
14434
14681
|
Remove(): void;
|
|
@@ -14463,15 +14710,15 @@ export declare namespace ReactUnity {
|
|
|
14463
14710
|
}
|
|
14464
14711
|
class ValueComponent<TElementType = any, TValueType = any> {
|
|
14465
14712
|
constructor(context: ReactUnity.UIToolkit.UIToolkitContext, tag: string);
|
|
14466
|
-
Disabled: boolean;
|
|
14467
14713
|
Value: TValueType;
|
|
14468
14714
|
Element: TElementType;
|
|
14469
14715
|
TargetElement: UnityEngine.UIElements.VisualElement;
|
|
14470
14716
|
ClientWidth: number;
|
|
14471
14717
|
ClientHeight: number;
|
|
14718
|
+
Disabled: boolean;
|
|
14472
14719
|
Context: ReactUnity.UIToolkit.UIToolkitContext;
|
|
14473
14720
|
Parent: ReactUnity.IContainerComponent;
|
|
14474
|
-
Data: ReactUnity.
|
|
14721
|
+
Data: ReactUnity.Reactive.ReactiveObjectRecord;
|
|
14475
14722
|
Layout: Facebook.Yoga.YogaNode;
|
|
14476
14723
|
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
14477
14724
|
StyleState: ReactUnity.Styling.StyleState;
|
|
@@ -14560,6 +14807,86 @@ export declare namespace ReactUnity {
|
|
|
14560
14807
|
GetType(): System.Type;
|
|
14561
14808
|
ToString(): string;
|
|
14562
14809
|
}
|
|
14810
|
+
class ReactRendererUIToolkit {
|
|
14811
|
+
constructor();
|
|
14812
|
+
Root: UnityEngine.UIElements.VisualElement;
|
|
14813
|
+
MediaProvider: ReactUnity.Styling.Rules.IMediaProvider;
|
|
14814
|
+
Context: ReactUnity.ReactContext;
|
|
14815
|
+
Timer: ReactUnity.Scheduling.ITimer;
|
|
14816
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
14817
|
+
useGUILayout: boolean;
|
|
14818
|
+
runInEditMode: boolean;
|
|
14819
|
+
enabled: boolean;
|
|
14820
|
+
isActiveAndEnabled: boolean;
|
|
14821
|
+
transform: UnityEngine.Transform;
|
|
14822
|
+
gameObject: UnityEngine.GameObject;
|
|
14823
|
+
tag: string;
|
|
14824
|
+
rigidbody: UnityEngine.Component;
|
|
14825
|
+
rigidbody2D: UnityEngine.Component;
|
|
14826
|
+
camera: UnityEngine.Component;
|
|
14827
|
+
light: UnityEngine.Component;
|
|
14828
|
+
animation: UnityEngine.Component;
|
|
14829
|
+
constantForce: UnityEngine.Component;
|
|
14830
|
+
renderer: UnityEngine.Component;
|
|
14831
|
+
audio: UnityEngine.Component;
|
|
14832
|
+
networkView: UnityEngine.Component;
|
|
14833
|
+
collider: UnityEngine.Component;
|
|
14834
|
+
collider2D: UnityEngine.Component;
|
|
14835
|
+
hingeJoint: UnityEngine.Component;
|
|
14836
|
+
particleSystem: UnityEngine.Component;
|
|
14837
|
+
name: string;
|
|
14838
|
+
hideFlags: UnityEngine.HideFlags;
|
|
14839
|
+
Source: ReactUnity.ScriptSource;
|
|
14840
|
+
EngineType: ReactUnity.Scripting.JavascriptEngineType;
|
|
14841
|
+
Globals: ReactUnity.Helpers.SerializableDictionary;
|
|
14842
|
+
AdvancedOptions: ReactUnity.ReactRendererBase_ReactAdvancedOptions;
|
|
14843
|
+
PlayAudio(clip: UnityEngine.AudioClip): void;
|
|
14844
|
+
Render(): ReactUnity.ReactRendererBase_WaitForRenderToComplete;
|
|
14845
|
+
IsInvoking(): boolean;
|
|
14846
|
+
CancelInvoke(): void;
|
|
14847
|
+
Invoke(methodName: string, time: number): void;
|
|
14848
|
+
InvokeRepeating(methodName: string, time: number, repeatRate: number): void;
|
|
14849
|
+
CancelInvoke(methodName: string): void;
|
|
14850
|
+
IsInvoking(methodName: string): boolean;
|
|
14851
|
+
StartCoroutine(methodName: string): UnityEngine.Coroutine;
|
|
14852
|
+
StartCoroutine(methodName: string, value: any): UnityEngine.Coroutine;
|
|
14853
|
+
StartCoroutine(routine: System.Collections.IEnumerator): UnityEngine.Coroutine;
|
|
14854
|
+
StartCoroutine_Auto(routine: System.Collections.IEnumerator): UnityEngine.Coroutine;
|
|
14855
|
+
StopCoroutine(routine: System.Collections.IEnumerator): void;
|
|
14856
|
+
StopCoroutine(routine: UnityEngine.Coroutine): void;
|
|
14857
|
+
StopCoroutine(methodName: string): void;
|
|
14858
|
+
StopAllCoroutines(): void;
|
|
14859
|
+
GetComponent(type: System.Type): UnityEngine.Component;
|
|
14860
|
+
GetComponent(type: string): UnityEngine.Component;
|
|
14861
|
+
GetComponentInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component;
|
|
14862
|
+
GetComponentInChildren(t: System.Type): UnityEngine.Component;
|
|
14863
|
+
GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
|
|
14864
|
+
GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
|
|
14865
|
+
GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
|
|
14866
|
+
GetComponentInParent(t: System.Type): UnityEngine.Component;
|
|
14867
|
+
GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
|
|
14868
|
+
GetComponentsInParent(t: System.Type): UnityEngine.Component[];
|
|
14869
|
+
GetComponents(type: System.Type): UnityEngine.Component[];
|
|
14870
|
+
GetComponents(type: System.Type, results: UnityEngine.Component[]): void;
|
|
14871
|
+
CompareTag(tag: string): boolean;
|
|
14872
|
+
SendMessageUpwards(methodName: string, value: any, options: UnityEngine.SendMessageOptions): void;
|
|
14873
|
+
SendMessageUpwards(methodName: string, value: any): void;
|
|
14874
|
+
SendMessageUpwards(methodName: string): void;
|
|
14875
|
+
SendMessageUpwards(methodName: string, options: UnityEngine.SendMessageOptions): void;
|
|
14876
|
+
SendMessage(methodName: string, value: any): void;
|
|
14877
|
+
SendMessage(methodName: string): void;
|
|
14878
|
+
SendMessage(methodName: string, value: any, options: UnityEngine.SendMessageOptions): void;
|
|
14879
|
+
SendMessage(methodName: string, options: UnityEngine.SendMessageOptions): void;
|
|
14880
|
+
BroadcastMessage(methodName: string, parameter: any, options: UnityEngine.SendMessageOptions): void;
|
|
14881
|
+
BroadcastMessage(methodName: string, parameter: any): void;
|
|
14882
|
+
BroadcastMessage(methodName: string): void;
|
|
14883
|
+
BroadcastMessage(methodName: string, options: UnityEngine.SendMessageOptions): void;
|
|
14884
|
+
GetInstanceID(): number;
|
|
14885
|
+
GetHashCode(): number;
|
|
14886
|
+
Equals(other: any): boolean;
|
|
14887
|
+
ToString(): string;
|
|
14888
|
+
GetType(): System.Type;
|
|
14889
|
+
}
|
|
14563
14890
|
class ReactUnityElement {
|
|
14564
14891
|
constructor(script: ReactUnity.ScriptSource, globals: ReactUnity.Helpers.SerializableDictionary, timer: ReactUnity.Scheduling.ITimer, mediaProvider: ReactUnity.Styling.Rules.IMediaProvider, engineType?: ReactUnity.Scripting.JavascriptEngineType, debug?: boolean, awaitDebugger?: boolean, autorun?: boolean);
|
|
14565
14892
|
[key: string]: any;
|
|
@@ -14647,86 +14974,6 @@ export declare namespace ReactUnity {
|
|
|
14647
14974
|
GetHashCode(): number;
|
|
14648
14975
|
GetType(): System.Type;
|
|
14649
14976
|
}
|
|
14650
|
-
class ReactUnityUIDocument {
|
|
14651
|
-
constructor();
|
|
14652
|
-
Root: UnityEngine.UIElements.VisualElement;
|
|
14653
|
-
MediaProvider: ReactUnity.Styling.Rules.IMediaProvider;
|
|
14654
|
-
Context: ReactUnity.ReactContext;
|
|
14655
|
-
timer: ReactUnity.Scheduling.ITimer;
|
|
14656
|
-
destroyCancellationToken: System.Threading.CancellationToken;
|
|
14657
|
-
useGUILayout: boolean;
|
|
14658
|
-
runInEditMode: boolean;
|
|
14659
|
-
enabled: boolean;
|
|
14660
|
-
isActiveAndEnabled: boolean;
|
|
14661
|
-
transform: UnityEngine.Transform;
|
|
14662
|
-
gameObject: UnityEngine.GameObject;
|
|
14663
|
-
tag: string;
|
|
14664
|
-
rigidbody: UnityEngine.Component;
|
|
14665
|
-
rigidbody2D: UnityEngine.Component;
|
|
14666
|
-
camera: UnityEngine.Component;
|
|
14667
|
-
light: UnityEngine.Component;
|
|
14668
|
-
animation: UnityEngine.Component;
|
|
14669
|
-
constantForce: UnityEngine.Component;
|
|
14670
|
-
renderer: UnityEngine.Component;
|
|
14671
|
-
audio: UnityEngine.Component;
|
|
14672
|
-
networkView: UnityEngine.Component;
|
|
14673
|
-
collider: UnityEngine.Component;
|
|
14674
|
-
collider2D: UnityEngine.Component;
|
|
14675
|
-
hingeJoint: UnityEngine.Component;
|
|
14676
|
-
particleSystem: UnityEngine.Component;
|
|
14677
|
-
name: string;
|
|
14678
|
-
hideFlags: UnityEngine.HideFlags;
|
|
14679
|
-
Source: ReactUnity.ScriptSource;
|
|
14680
|
-
EngineType: ReactUnity.Scripting.JavascriptEngineType;
|
|
14681
|
-
Globals: ReactUnity.Helpers.SerializableDictionary;
|
|
14682
|
-
AdvancedOptions: ReactUnity.ReactUnityBase_ReactAdvancedOptions;
|
|
14683
|
-
PlayAudio(clip: UnityEngine.AudioClip): void;
|
|
14684
|
-
Render(): ReactUnity.ReactUnityBase_WaitForRenderToComplete;
|
|
14685
|
-
IsInvoking(): boolean;
|
|
14686
|
-
CancelInvoke(): void;
|
|
14687
|
-
Invoke(methodName: string, time: number): void;
|
|
14688
|
-
InvokeRepeating(methodName: string, time: number, repeatRate: number): void;
|
|
14689
|
-
CancelInvoke(methodName: string): void;
|
|
14690
|
-
IsInvoking(methodName: string): boolean;
|
|
14691
|
-
StartCoroutine(methodName: string): UnityEngine.Coroutine;
|
|
14692
|
-
StartCoroutine(methodName: string, value: any): UnityEngine.Coroutine;
|
|
14693
|
-
StartCoroutine(routine: System.Collections.IEnumerator): UnityEngine.Coroutine;
|
|
14694
|
-
StartCoroutine_Auto(routine: System.Collections.IEnumerator): UnityEngine.Coroutine;
|
|
14695
|
-
StopCoroutine(routine: System.Collections.IEnumerator): void;
|
|
14696
|
-
StopCoroutine(routine: UnityEngine.Coroutine): void;
|
|
14697
|
-
StopCoroutine(methodName: string): void;
|
|
14698
|
-
StopAllCoroutines(): void;
|
|
14699
|
-
GetComponent(type: System.Type): UnityEngine.Component;
|
|
14700
|
-
GetComponent(type: string): UnityEngine.Component;
|
|
14701
|
-
GetComponentInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component;
|
|
14702
|
-
GetComponentInChildren(t: System.Type): UnityEngine.Component;
|
|
14703
|
-
GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
|
|
14704
|
-
GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
|
|
14705
|
-
GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
|
|
14706
|
-
GetComponentInParent(t: System.Type): UnityEngine.Component;
|
|
14707
|
-
GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
|
|
14708
|
-
GetComponentsInParent(t: System.Type): UnityEngine.Component[];
|
|
14709
|
-
GetComponents(type: System.Type): UnityEngine.Component[];
|
|
14710
|
-
GetComponents(type: System.Type, results: UnityEngine.Component[]): void;
|
|
14711
|
-
CompareTag(tag: string): boolean;
|
|
14712
|
-
SendMessageUpwards(methodName: string, value: any, options: UnityEngine.SendMessageOptions): void;
|
|
14713
|
-
SendMessageUpwards(methodName: string, value: any): void;
|
|
14714
|
-
SendMessageUpwards(methodName: string): void;
|
|
14715
|
-
SendMessageUpwards(methodName: string, options: UnityEngine.SendMessageOptions): void;
|
|
14716
|
-
SendMessage(methodName: string, value: any): void;
|
|
14717
|
-
SendMessage(methodName: string): void;
|
|
14718
|
-
SendMessage(methodName: string, value: any, options: UnityEngine.SendMessageOptions): void;
|
|
14719
|
-
SendMessage(methodName: string, options: UnityEngine.SendMessageOptions): void;
|
|
14720
|
-
BroadcastMessage(methodName: string, parameter: any, options: UnityEngine.SendMessageOptions): void;
|
|
14721
|
-
BroadcastMessage(methodName: string, parameter: any): void;
|
|
14722
|
-
BroadcastMessage(methodName: string): void;
|
|
14723
|
-
BroadcastMessage(methodName: string, options: UnityEngine.SendMessageOptions): void;
|
|
14724
|
-
GetInstanceID(): number;
|
|
14725
|
-
GetHashCode(): number;
|
|
14726
|
-
Equals(other: any): boolean;
|
|
14727
|
-
ToString(): string;
|
|
14728
|
-
GetType(): System.Type;
|
|
14729
|
-
}
|
|
14730
14977
|
class ResourcesHelper {
|
|
14731
14978
|
static DefaultFont: UnityEngine.Font;
|
|
14732
14979
|
static UtilityStylesheet: UnityEngine.UIElements.StyleSheet;
|
|
@@ -14795,6 +15042,7 @@ export declare namespace ReactUnity {
|
|
|
14795
15042
|
CreateStaticScript(path: string): ReactUnity.ScriptSource;
|
|
14796
15043
|
Start(afterStart?: (() => void)): void;
|
|
14797
15044
|
Dispose(): void;
|
|
15045
|
+
HandleUnknownProperty(cmp: ReactUnity.IReactComponent, propertyName: string, value: any): void;
|
|
14798
15046
|
BindCommands(commandsObject: any, callbacksObject: any, getObjectCallback: any, getEventAsObjectCallback: any): void;
|
|
14799
15047
|
SetRef(refId: number, cmp: ReactUnity.IReactComponent): void;
|
|
14800
15048
|
GetRef(refId: number, ensureUpdate?: boolean): ReactUnity.IReactComponent;
|
|
@@ -14917,6 +15165,7 @@ export declare namespace ReactUnity {
|
|
|
14917
15165
|
BeforeStart: (() => void);
|
|
14918
15166
|
AfterStart: (() => void);
|
|
14919
15167
|
Pooling: ReactUnity.ReactContext_PoolingType;
|
|
15168
|
+
UnknownPropertyHandling: ReactUnity.ReactContext_UnknownPropertyHandling;
|
|
14920
15169
|
Equals(obj: any): boolean;
|
|
14921
15170
|
GetHashCode(): number;
|
|
14922
15171
|
GetType(): System.Type;
|