@reactunity/renderer 0.13.2 → 0.14.1
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 -1
- package/dist/index.js +2 -1
- package/dist/src/helpers/dictionary-watcher.d.ts +17 -8
- package/dist/src/helpers/dictionary-watcher.js +50 -25
- package/dist/src/helpers/hooks/use-globals.d.ts +6 -0
- package/dist/src/helpers/hooks/use-globals.js +6 -0
- package/dist/src/helpers/hooks/use-watchable.d.ts +4 -0
- package/dist/src/helpers/hooks/use-watchable.js +26 -0
- package/dist/src/helpers/icons.d.ts +2 -2
- package/dist/src/models/base.d.ts +8 -8
- package/dist/src/models/editor/components.d.ts +2 -2
- package/dist/src/models/editor/events.d.ts +4 -4
- package/dist/src/models/editor/jsx.d.ts +5 -5
- package/dist/src/models/environment/dom/common.d.ts +5 -5
- package/dist/src/models/environment/dom/fetch.d.ts +10 -10
- package/dist/src/models/environment/dom/xhr.d.ts +2 -2
- package/dist/src/models/environment/interop.d.ts +2 -2
- package/dist/src/models/generated/editor.d.ts +15016 -11979
- package/dist/src/models/generated/editor.js +1 -1
- package/dist/src/models/generated/react.d.ts +1336 -417
- package/dist/src/models/generated/react.js +1 -1
- package/dist/src/models/generated/system.d.ts +2602 -2704
- package/dist/src/models/generated/system.js +2 -2
- package/dist/src/models/generated/tests.d.ts +228 -231
- package/dist/src/models/generated/tests.js +1 -1
- package/dist/src/models/generated/unity.d.ts +7998 -14519
- package/dist/src/models/generated/unity.js +2 -2
- package/dist/src/models/generated/yoga.d.ts +1 -1
- package/dist/src/models/generated/yoga.js +1 -1
- package/dist/src/models/properties/colors.d.ts +1 -1
- package/dist/src/models/properties/style.d.ts +7 -2
- package/dist/src/models/properties/styles-enums.d.ts +24 -19
- package/dist/src/models/properties/styles.d.ts +76 -60
- package/dist/src/models/properties/values.d.ts +16 -16
- package/dist/src/models/properties/yoga-enums.d.ts +8 -8
- package/dist/src/models/properties/yoga.d.ts +16 -16
- package/dist/src/models/renderer.d.ts +14 -14
- package/dist/src/models/richtext.d.ts +6 -2
- package/dist/src/models/svg.d.ts +2 -2
- package/dist/src/models/ugui/components.d.ts +1 -1
- package/dist/src/models/ugui/events.d.ts +7 -7
- package/dist/src/models/ugui/input.d.ts +6 -6
- package/dist/src/models/ugui/jsx.d.ts +2 -2
- package/dist/src/models/uitoolkit/components.d.ts +2 -2
- package/dist/src/models/uitoolkit/events.d.ts +4 -4
- package/dist/src/models/uitoolkit/jsx.d.ts +2 -2
- package/dist/src/renderer/async/commands.d.ts +14 -14
- package/dist/src/renderer/async/types.d.ts +10 -10
- package/dist/src/renderer/diffing.d.ts +1 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/src/version.js +1 -1
- package/dist/src/views/default-view.js +1 -2
- package/package.json +5 -5
- package/dist/src/helpers/watcher.d.ts +0 -2
- package/dist/src/helpers/watcher.js +0 -14
|
@@ -2,7 +2,7 @@ import { InlineStyleRemap } from '../properties/style';
|
|
|
2
2
|
import { System } from './system';
|
|
3
3
|
import { UnityEngine } from './unity';
|
|
4
4
|
import { Facebook } from './yoga';
|
|
5
|
-
|
|
5
|
+
type Byte = number;
|
|
6
6
|
export declare namespace ReactUnity {
|
|
7
7
|
class BaseReactComponent<ContextType = any> {
|
|
8
8
|
Context: ContextType;
|
|
@@ -15,6 +15,7 @@ export declare namespace ReactUnity {
|
|
|
15
15
|
Style: InlineStyleRemap;
|
|
16
16
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
17
17
|
CustomProperties: Record<string, any>;
|
|
18
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
18
19
|
ParentIndex: number;
|
|
19
20
|
CurrentOrder: number;
|
|
20
21
|
Entering: boolean;
|
|
@@ -149,7 +150,7 @@ export declare namespace ReactUnity {
|
|
|
149
150
|
Content: string;
|
|
150
151
|
SetText(text: string): void;
|
|
151
152
|
}
|
|
152
|
-
interface IHostComponent extends ReactUnity.
|
|
153
|
+
interface IHostComponent extends ReactUnity.IReactComponent, ReactUnity.IContainerComponent {
|
|
153
154
|
Width: number;
|
|
154
155
|
Height: number;
|
|
155
156
|
}
|
|
@@ -381,6 +382,7 @@ export declare namespace ReactUnity {
|
|
|
381
382
|
MediaProvider: ReactUnity.Styling.Rules.IMediaProvider;
|
|
382
383
|
Context: ReactUnity.ReactContext;
|
|
383
384
|
timer: ReactUnity.Scheduling.ITimer;
|
|
385
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
384
386
|
useGUILayout: boolean;
|
|
385
387
|
runInEditMode: boolean;
|
|
386
388
|
enabled: boolean;
|
|
@@ -585,10 +587,20 @@ export declare namespace ReactUnity {
|
|
|
585
587
|
GetType(): System.Type;
|
|
586
588
|
ToString(): string;
|
|
587
589
|
}
|
|
590
|
+
class EncodingHelpers {
|
|
591
|
+
static encodeURI(input: string): string;
|
|
592
|
+
static decodeURI(input: string): string;
|
|
593
|
+
static encodeURIComponent(input: string): string;
|
|
594
|
+
static decodeURIComponent(input: string): string;
|
|
595
|
+
Equals(obj: any): boolean;
|
|
596
|
+
GetHashCode(): number;
|
|
597
|
+
GetType(): System.Type;
|
|
598
|
+
ToString(): string;
|
|
599
|
+
}
|
|
588
600
|
class FormData {
|
|
589
601
|
constructor();
|
|
590
602
|
append(name: string, value: any, fileName?: string): void;
|
|
591
|
-
delete(name: string): void;
|
|
603
|
+
'delete'(name: string): void;
|
|
592
604
|
get(name: string): any;
|
|
593
605
|
getAll(name: string): any[];
|
|
594
606
|
has(name: string): boolean;
|
|
@@ -685,12 +697,16 @@ export declare namespace ReactUnity {
|
|
|
685
697
|
namespace Editor {
|
|
686
698
|
class ReactElementDrawer {
|
|
687
699
|
constructor();
|
|
700
|
+
hasUnsavedChanges: boolean;
|
|
701
|
+
saveChangesMessage: string;
|
|
688
702
|
target: UnityEngine.Object;
|
|
689
703
|
targets: UnityEngine.Object[];
|
|
690
704
|
serializedObject: any;
|
|
691
705
|
name: string;
|
|
692
706
|
hideFlags: UnityEngine.HideFlags;
|
|
693
707
|
OnInspectorGUI(): void;
|
|
708
|
+
SaveChanges(): void;
|
|
709
|
+
DiscardChanges(): void;
|
|
694
710
|
DrawDefaultInspector(): boolean;
|
|
695
711
|
Repaint(): void;
|
|
696
712
|
CreateInspectorGUI(): UnityEngine.UIElements.VisualElement;
|
|
@@ -743,6 +759,32 @@ export declare namespace ReactUnity {
|
|
|
743
759
|
GetType(): System.Type;
|
|
744
760
|
ToString(): string;
|
|
745
761
|
}
|
|
762
|
+
class YogaValue2Drawer {
|
|
763
|
+
constructor();
|
|
764
|
+
attribute: any;
|
|
765
|
+
fieldInfo: System.Reflection.FieldInfo;
|
|
766
|
+
OnGUI(position: UnityEngine.Rect, property: any, label: UnityEngine.GUIContent): void;
|
|
767
|
+
GetPropertyHeight(property: any, label: UnityEngine.GUIContent): number;
|
|
768
|
+
CreatePropertyGUI(property: any): UnityEngine.UIElements.VisualElement;
|
|
769
|
+
CanCacheInspectorGUI(property: any): boolean;
|
|
770
|
+
Equals(obj: any): boolean;
|
|
771
|
+
GetHashCode(): number;
|
|
772
|
+
GetType(): System.Type;
|
|
773
|
+
ToString(): string;
|
|
774
|
+
}
|
|
775
|
+
class YogaValueDrawer {
|
|
776
|
+
constructor();
|
|
777
|
+
attribute: any;
|
|
778
|
+
fieldInfo: System.Reflection.FieldInfo;
|
|
779
|
+
OnGUI(position: UnityEngine.Rect, property: any, label: UnityEngine.GUIContent): void;
|
|
780
|
+
GetPropertyHeight(property: any, label: UnityEngine.GUIContent): number;
|
|
781
|
+
CreatePropertyGUI(property: any): UnityEngine.UIElements.VisualElement;
|
|
782
|
+
CanCacheInspectorGUI(property: any): boolean;
|
|
783
|
+
Equals(obj: any): boolean;
|
|
784
|
+
GetHashCode(): number;
|
|
785
|
+
GetType(): System.Type;
|
|
786
|
+
ToString(): string;
|
|
787
|
+
}
|
|
746
788
|
class DevToolsWindow {
|
|
747
789
|
constructor();
|
|
748
790
|
Context: ReactUnity.ReactContext;
|
|
@@ -752,6 +794,7 @@ export declare namespace ReactUnity {
|
|
|
752
794
|
EngineType: ReactUnity.Scripting.JavascriptEngineType;
|
|
753
795
|
Timer: ReactUnity.Scheduling.ITimer;
|
|
754
796
|
AutoRun: boolean;
|
|
797
|
+
dataModeController: any;
|
|
755
798
|
rootVisualElement: UnityEngine.UIElements.VisualElement;
|
|
756
799
|
overlayCanvas: any;
|
|
757
800
|
wantsMouseMove: boolean;
|
|
@@ -821,6 +864,7 @@ export declare namespace ReactUnity {
|
|
|
821
864
|
EngineType: ReactUnity.Scripting.JavascriptEngineType;
|
|
822
865
|
Timer: ReactUnity.Scheduling.ITimer;
|
|
823
866
|
AutoRun: boolean;
|
|
867
|
+
dataModeController: any;
|
|
824
868
|
rootVisualElement: UnityEngine.UIElements.VisualElement;
|
|
825
869
|
overlayCanvas: any;
|
|
826
870
|
wantsMouseMove: boolean;
|
|
@@ -901,12 +945,16 @@ export declare namespace ReactUnity {
|
|
|
901
945
|
}
|
|
902
946
|
class ReactElementInspector {
|
|
903
947
|
constructor();
|
|
948
|
+
hasUnsavedChanges: boolean;
|
|
949
|
+
saveChangesMessage: string;
|
|
904
950
|
target: UnityEngine.Object;
|
|
905
951
|
targets: UnityEngine.Object[];
|
|
906
952
|
serializedObject: any;
|
|
907
953
|
name: string;
|
|
908
954
|
hideFlags: UnityEngine.HideFlags;
|
|
909
955
|
CreateInspectorGUI(): UnityEngine.UIElements.VisualElement;
|
|
956
|
+
SaveChanges(): void;
|
|
957
|
+
DiscardChanges(): void;
|
|
910
958
|
DrawDefaultInspector(): boolean;
|
|
911
959
|
Repaint(): void;
|
|
912
960
|
OnInspectorGUI(): void;
|
|
@@ -991,23 +1039,135 @@ export declare namespace ReactUnity {
|
|
|
991
1039
|
ExcludedTypes: string[];
|
|
992
1040
|
ImportNamespaces: Record<string, string>;
|
|
993
1041
|
Remaps: Record<string, string>;
|
|
1042
|
+
TypeRemaps: System.Collections.Generic.Dictionary<System.Type, System.Type>;
|
|
1043
|
+
Aliases: Record<string, string>;
|
|
994
1044
|
ExportAsClass: boolean;
|
|
995
1045
|
AllowGeneric: boolean;
|
|
996
|
-
AllowIndexer: boolean;
|
|
997
1046
|
AllowPointer: boolean;
|
|
998
1047
|
WriteDocs: boolean;
|
|
999
1048
|
IncludeExterns: boolean;
|
|
1000
1049
|
IsExternal: boolean;
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
static GenerateSystem(): void;
|
|
1006
|
-
static GenerateQuickJS(): void;
|
|
1007
|
-
static GenerateCurrentProject(): void;
|
|
1008
|
-
PickFileAndGenerate(): string;
|
|
1050
|
+
Members: ReactUnity.Editor.Developer.TypescriptModelsGenerator_MemberFlags;
|
|
1051
|
+
EnumExport: ReactUnity.Editor.Developer.TypescriptModelsGenerator_EnumExportType;
|
|
1052
|
+
n: string;
|
|
1053
|
+
LineEnding: string;
|
|
1009
1054
|
GenerateTo(filePath: string): void;
|
|
1010
|
-
|
|
1055
|
+
GetTypescriptForAllTypes(): string;
|
|
1056
|
+
GetTypescriptFor(types: System.Type[]): string;
|
|
1057
|
+
Equals(obj: any): boolean;
|
|
1058
|
+
GetHashCode(): number;
|
|
1059
|
+
GetType(): System.Type;
|
|
1060
|
+
ToString(): string;
|
|
1061
|
+
}
|
|
1062
|
+
class TypescriptModelsGeneratorPresets {
|
|
1063
|
+
static GenerateAll(): string;
|
|
1064
|
+
static GenerateAll(directory?: string): string;
|
|
1065
|
+
static GenerateUnity(): string;
|
|
1066
|
+
static GenerateUnity(filePath?: string): string;
|
|
1067
|
+
static GenerateEditor(): string;
|
|
1068
|
+
static GenerateEditor(filePath?: string): string;
|
|
1069
|
+
static GenerateReactUnity(): string;
|
|
1070
|
+
static GenerateReactUnity(filePath?: string): string;
|
|
1071
|
+
static GenerateYoga(): string;
|
|
1072
|
+
static GenerateYoga(filePath?: string): string;
|
|
1073
|
+
static GenerateSystem(): string;
|
|
1074
|
+
static GenerateSystem(filePath?: string): string;
|
|
1075
|
+
static GenerateNUnit(): string;
|
|
1076
|
+
static GenerateNUnit(filePath?: string): string;
|
|
1077
|
+
static GenerateQuickJS(): string;
|
|
1078
|
+
static GenerateQuickJS(filePath?: string): string;
|
|
1079
|
+
static GenerateCurrentProject(): string;
|
|
1080
|
+
static GenerateCurrentProject(filePath?: string): string;
|
|
1081
|
+
static PickFileAndGenerate(generator: ReactUnity.Editor.Developer.TypescriptModelsGenerator, filePath?: string): string;
|
|
1082
|
+
Equals(obj: any): boolean;
|
|
1083
|
+
GetHashCode(): number;
|
|
1084
|
+
GetType(): System.Type;
|
|
1085
|
+
ToString(): string;
|
|
1086
|
+
}
|
|
1087
|
+
enum TypescriptModelsGenerator_MemberFlags {
|
|
1088
|
+
Constructor = 1,
|
|
1089
|
+
Methods = 2,
|
|
1090
|
+
Fields = 4,
|
|
1091
|
+
Properties = 8,
|
|
1092
|
+
Indexer = 16,
|
|
1093
|
+
Default = 15,
|
|
1094
|
+
All = 31
|
|
1095
|
+
}
|
|
1096
|
+
enum TypescriptModelsGenerator_EnumExportType {
|
|
1097
|
+
Enum = 0,
|
|
1098
|
+
Keys = 1,
|
|
1099
|
+
Values = 2
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
namespace Editor {
|
|
1103
|
+
namespace Generators {
|
|
1104
|
+
namespace ReactAction {
|
|
1105
|
+
class ReactActionGenerator {
|
|
1106
|
+
constructor();
|
|
1107
|
+
Errors: System.CodeDom.Compiler.CompilerErrorCollection;
|
|
1108
|
+
CurrentIndent: string;
|
|
1109
|
+
Session: Record<string, any>;
|
|
1110
|
+
ToStringHelper: ReactUnity.Editor.Editor.Generators.ReactAction.ReactActionGeneratorBase_ToStringInstanceHelper;
|
|
1111
|
+
TransformText(): string;
|
|
1112
|
+
Write(textToAppend: string): void;
|
|
1113
|
+
WriteLine(textToAppend: string): void;
|
|
1114
|
+
Write(format: string, ...args: any[]): void;
|
|
1115
|
+
WriteLine(format: string, ...args: any[]): void;
|
|
1116
|
+
Error(message: string): void;
|
|
1117
|
+
Warning(message: string): void;
|
|
1118
|
+
PushIndent(indent: string): void;
|
|
1119
|
+
PopIndent(): string;
|
|
1120
|
+
ClearIndent(): void;
|
|
1121
|
+
Equals(obj: any): boolean;
|
|
1122
|
+
GetHashCode(): number;
|
|
1123
|
+
GetType(): System.Type;
|
|
1124
|
+
ToString(): string;
|
|
1125
|
+
}
|
|
1126
|
+
class ReactActionGeneratorBase {
|
|
1127
|
+
constructor();
|
|
1128
|
+
Errors: System.CodeDom.Compiler.CompilerErrorCollection;
|
|
1129
|
+
CurrentIndent: string;
|
|
1130
|
+
Session: Record<string, any>;
|
|
1131
|
+
ToStringHelper: ReactUnity.Editor.Editor.Generators.ReactAction.ReactActionGeneratorBase_ToStringInstanceHelper;
|
|
1132
|
+
Write(textToAppend: string): void;
|
|
1133
|
+
WriteLine(textToAppend: string): void;
|
|
1134
|
+
Write(format: string, ...args: any[]): void;
|
|
1135
|
+
WriteLine(format: string, ...args: any[]): void;
|
|
1136
|
+
Error(message: string): void;
|
|
1137
|
+
Warning(message: string): void;
|
|
1138
|
+
PushIndent(indent: string): void;
|
|
1139
|
+
PopIndent(): string;
|
|
1140
|
+
ClearIndent(): void;
|
|
1141
|
+
Equals(obj: any): boolean;
|
|
1142
|
+
GetHashCode(): number;
|
|
1143
|
+
GetType(): System.Type;
|
|
1144
|
+
ToString(): string;
|
|
1145
|
+
}
|
|
1146
|
+
class ReactActionGeneratorBase_ToStringInstanceHelper {
|
|
1147
|
+
constructor();
|
|
1148
|
+
FormatProvider: System.IFormatProvider;
|
|
1149
|
+
ToStringWithCulture(objectToConvert: any): string;
|
|
1150
|
+
Equals(obj: any): boolean;
|
|
1151
|
+
GetHashCode(): number;
|
|
1152
|
+
GetType(): System.Type;
|
|
1153
|
+
ToString(): string;
|
|
1154
|
+
}
|
|
1155
|
+
}
|
|
1156
|
+
}
|
|
1157
|
+
}
|
|
1158
|
+
namespace Generators {
|
|
1159
|
+
class GeneratorHelpers {
|
|
1160
|
+
constructor();
|
|
1161
|
+
AutoGeneratedWarning: string;
|
|
1162
|
+
Equals(obj: any): boolean;
|
|
1163
|
+
GetHashCode(): number;
|
|
1164
|
+
GetType(): System.Type;
|
|
1165
|
+
ToString(): string;
|
|
1166
|
+
}
|
|
1167
|
+
class RuntimeT4Generator {
|
|
1168
|
+
constructor();
|
|
1169
|
+
static Sessions: any;
|
|
1170
|
+
static GenerateFromTemplates(): void;
|
|
1011
1171
|
Equals(obj: any): boolean;
|
|
1012
1172
|
GetHashCode(): number;
|
|
1013
1173
|
GetType(): System.Type;
|
|
@@ -1088,6 +1248,7 @@ export declare namespace ReactUnity {
|
|
|
1088
1248
|
EngineType: ReactUnity.Scripting.JavascriptEngineType;
|
|
1089
1249
|
Timer: ReactUnity.Scheduling.ITimer;
|
|
1090
1250
|
AutoRun: boolean;
|
|
1251
|
+
dataModeController: any;
|
|
1091
1252
|
rootVisualElement: UnityEngine.UIElements.VisualElement;
|
|
1092
1253
|
overlayCanvas: any;
|
|
1093
1254
|
wantsMouseMove: boolean;
|
|
@@ -1144,12 +1305,16 @@ export declare namespace ReactUnity {
|
|
|
1144
1305
|
GetType(): System.Type;
|
|
1145
1306
|
}
|
|
1146
1307
|
class ReactInspector {
|
|
1308
|
+
hasUnsavedChanges: boolean;
|
|
1309
|
+
saveChangesMessage: string;
|
|
1147
1310
|
target: UnityEngine.Object;
|
|
1148
1311
|
targets: UnityEngine.Object[];
|
|
1149
1312
|
serializedObject: any;
|
|
1150
1313
|
name: string;
|
|
1151
1314
|
hideFlags: UnityEngine.HideFlags;
|
|
1152
1315
|
CreateInspectorGUI(): UnityEngine.UIElements.VisualElement;
|
|
1316
|
+
SaveChanges(): void;
|
|
1317
|
+
DiscardChanges(): void;
|
|
1153
1318
|
DrawDefaultInspector(): boolean;
|
|
1154
1319
|
Repaint(): void;
|
|
1155
1320
|
OnInspectorGUI(): void;
|
|
@@ -1196,6 +1361,7 @@ export declare namespace ReactUnity {
|
|
|
1196
1361
|
EngineType: ReactUnity.Scripting.JavascriptEngineType;
|
|
1197
1362
|
Timer: ReactUnity.Scheduling.ITimer;
|
|
1198
1363
|
AutoRun: boolean;
|
|
1364
|
+
dataModeController: any;
|
|
1199
1365
|
rootVisualElement: UnityEngine.UIElements.VisualElement;
|
|
1200
1366
|
overlayCanvas: any;
|
|
1201
1367
|
wantsMouseMove: boolean;
|
|
@@ -1292,6 +1458,7 @@ export declare namespace ReactUnity {
|
|
|
1292
1458
|
Style: InlineStyleRemap;
|
|
1293
1459
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
1294
1460
|
CustomProperties: Record<string, any>;
|
|
1461
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
1295
1462
|
ParentIndex: number;
|
|
1296
1463
|
CurrentOrder: number;
|
|
1297
1464
|
Entering: boolean;
|
|
@@ -1322,6 +1489,7 @@ export declare namespace ReactUnity {
|
|
|
1322
1489
|
Open(): void;
|
|
1323
1490
|
Close(): void;
|
|
1324
1491
|
SetProperty(property: string, value: any): void;
|
|
1492
|
+
Pool(): boolean;
|
|
1325
1493
|
AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
|
|
1326
1494
|
GetComponent(type: System.Type): any;
|
|
1327
1495
|
AddComponent(type: System.Type): any;
|
|
@@ -1333,7 +1501,6 @@ export declare namespace ReactUnity {
|
|
|
1333
1501
|
MarkForStyleResolving(recursive: boolean): void;
|
|
1334
1502
|
Remove(): void;
|
|
1335
1503
|
Destroy(recursive?: boolean): void;
|
|
1336
|
-
Pool(): boolean;
|
|
1337
1504
|
Revive(): boolean;
|
|
1338
1505
|
OnClassChange(): void;
|
|
1339
1506
|
SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
|
|
@@ -1373,6 +1540,7 @@ export declare namespace ReactUnity {
|
|
|
1373
1540
|
}
|
|
1374
1541
|
class DialogWindow {
|
|
1375
1542
|
constructor();
|
|
1543
|
+
dataModeController: any;
|
|
1376
1544
|
rootVisualElement: UnityEngine.UIElements.VisualElement;
|
|
1377
1545
|
overlayCanvas: any;
|
|
1378
1546
|
wantsMouseMove: boolean;
|
|
@@ -1432,6 +1600,7 @@ export declare namespace ReactUnity {
|
|
|
1432
1600
|
Shown: boolean;
|
|
1433
1601
|
Type: ReactUnity.Editor.UIToolkit.DialogType;
|
|
1434
1602
|
Context: ReactUnity.Editor.Renderer.EditorContext;
|
|
1603
|
+
resolvedStyle: UnityEngine.UIElements.IResolvedStyle;
|
|
1435
1604
|
viewDataKey: string;
|
|
1436
1605
|
userData: any;
|
|
1437
1606
|
canGrabFocus: boolean;
|
|
@@ -1461,7 +1630,6 @@ export declare namespace ReactUnity {
|
|
|
1461
1630
|
customStyle: UnityEngine.UIElements.ICustomStyle;
|
|
1462
1631
|
styleSheets: UnityEngine.UIElements.VisualElementStyleSheetSet;
|
|
1463
1632
|
tooltip: string;
|
|
1464
|
-
resolvedStyle: UnityEngine.UIElements.IResolvedStyle;
|
|
1465
1633
|
focusable: boolean;
|
|
1466
1634
|
tabIndex: number;
|
|
1467
1635
|
delegatesFocus: boolean;
|
|
@@ -1531,6 +1699,7 @@ export declare namespace ReactUnity {
|
|
|
1531
1699
|
Style: InlineStyleRemap;
|
|
1532
1700
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
1533
1701
|
CustomProperties: Record<string, any>;
|
|
1702
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
1534
1703
|
ParentIndex: number;
|
|
1535
1704
|
CurrentOrder: number;
|
|
1536
1705
|
Entering: boolean;
|
|
@@ -1618,6 +1787,7 @@ export declare namespace ReactUnity {
|
|
|
1618
1787
|
Style: InlineStyleRemap;
|
|
1619
1788
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
1620
1789
|
CustomProperties: Record<string, any>;
|
|
1790
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
1621
1791
|
ParentIndex: number;
|
|
1622
1792
|
CurrentOrder: number;
|
|
1623
1793
|
Entering: boolean;
|
|
@@ -1651,6 +1821,7 @@ export declare namespace ReactUnity {
|
|
|
1651
1821
|
SetValue(value: System.Enum): void;
|
|
1652
1822
|
SetValueWithoutNotify(value: System.Enum): void;
|
|
1653
1823
|
Activate(): void;
|
|
1824
|
+
Pool(): boolean;
|
|
1654
1825
|
GetComponent(type: System.Type): any;
|
|
1655
1826
|
AddComponent(type: System.Type): any;
|
|
1656
1827
|
CaptureMouse(): void;
|
|
@@ -1661,7 +1832,6 @@ export declare namespace ReactUnity {
|
|
|
1661
1832
|
MarkForStyleResolving(recursive: boolean): void;
|
|
1662
1833
|
Remove(): void;
|
|
1663
1834
|
Destroy(recursive?: boolean): void;
|
|
1664
|
-
Pool(): boolean;
|
|
1665
1835
|
Revive(): boolean;
|
|
1666
1836
|
OnClassChange(): void;
|
|
1667
1837
|
SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
|
|
@@ -1709,6 +1879,7 @@ export declare namespace ReactUnity {
|
|
|
1709
1879
|
Style: InlineStyleRemap;
|
|
1710
1880
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
1711
1881
|
CustomProperties: Record<string, any>;
|
|
1882
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
1712
1883
|
ParentIndex: number;
|
|
1713
1884
|
CurrentOrder: number;
|
|
1714
1885
|
Entering: boolean;
|
|
@@ -1742,6 +1913,7 @@ export declare namespace ReactUnity {
|
|
|
1742
1913
|
SetValue(value: UnityEngine.Object): void;
|
|
1743
1914
|
SetValueWithoutNotify(value: UnityEngine.Object): void;
|
|
1744
1915
|
Activate(): void;
|
|
1916
|
+
Pool(): boolean;
|
|
1745
1917
|
GetComponent(type: System.Type): any;
|
|
1746
1918
|
AddComponent(type: System.Type): any;
|
|
1747
1919
|
CaptureMouse(): void;
|
|
@@ -1752,7 +1924,6 @@ export declare namespace ReactUnity {
|
|
|
1752
1924
|
MarkForStyleResolving(recursive: boolean): void;
|
|
1753
1925
|
Remove(): void;
|
|
1754
1926
|
Destroy(recursive?: boolean): void;
|
|
1755
|
-
Pool(): boolean;
|
|
1756
1927
|
Revive(): boolean;
|
|
1757
1928
|
OnClassChange(): void;
|
|
1758
1929
|
SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
|
|
@@ -1793,6 +1964,7 @@ export declare namespace ReactUnity {
|
|
|
1793
1964
|
Script: ReactUnity.ScriptSource;
|
|
1794
1965
|
Globals: ReactUnity.Helpers.SerializableDictionary;
|
|
1795
1966
|
EngineType: ReactUnity.Scripting.JavascriptEngineType;
|
|
1967
|
+
resolvedStyle: UnityEngine.UIElements.IResolvedStyle;
|
|
1796
1968
|
viewDataKey: string;
|
|
1797
1969
|
userData: any;
|
|
1798
1970
|
canGrabFocus: boolean;
|
|
@@ -1823,7 +1995,6 @@ export declare namespace ReactUnity {
|
|
|
1823
1995
|
customStyle: UnityEngine.UIElements.ICustomStyle;
|
|
1824
1996
|
styleSheets: UnityEngine.UIElements.VisualElementStyleSheetSet;
|
|
1825
1997
|
tooltip: string;
|
|
1826
|
-
resolvedStyle: UnityEngine.UIElements.IResolvedStyle;
|
|
1827
1998
|
focusable: boolean;
|
|
1828
1999
|
tabIndex: number;
|
|
1829
2000
|
delegatesFocus: boolean;
|
|
@@ -1874,9 +2045,20 @@ export declare namespace ReactUnity {
|
|
|
1874
2045
|
}
|
|
1875
2046
|
}
|
|
1876
2047
|
namespace Helpers {
|
|
2048
|
+
class ReactAction<T1 = any, T2 = any, T3 = any, T4 = any, T5 = any, T6 = any, T7 = any, T8 = any, T9 = any> {
|
|
2049
|
+
constructor();
|
|
2050
|
+
AddListener(callback: any): (() => void);
|
|
2051
|
+
AddListener(listener: ((arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6, arg7: T7, arg8: T8, arg9: T9) => void)): (() => void);
|
|
2052
|
+
Invoke(arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6, arg7: T7, arg8: T8, arg9: T9): void;
|
|
2053
|
+
Equals(obj: any): boolean;
|
|
2054
|
+
GetHashCode(): number;
|
|
2055
|
+
GetType(): System.Type;
|
|
2056
|
+
ToString(): string;
|
|
2057
|
+
}
|
|
1877
2058
|
class Callback {
|
|
1878
2059
|
constructor(callback: any, context?: ReactUnity.ReactContext);
|
|
1879
2060
|
constructor(index: number, context: ReactUnity.ReactContext);
|
|
2061
|
+
Destroyed: boolean;
|
|
1880
2062
|
callback: any;
|
|
1881
2063
|
static Noop: ReactUnity.Helpers.Callback;
|
|
1882
2064
|
static From(value: any, context?: ReactUnity.ReactContext, thisVal?: any, allowIndexedCallbacks?: boolean): ReactUnity.Helpers.Callback;
|
|
@@ -2424,6 +2606,7 @@ export declare namespace ReactUnity {
|
|
|
2424
2606
|
constructor();
|
|
2425
2607
|
State: string;
|
|
2426
2608
|
StateID: number;
|
|
2609
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
2427
2610
|
useGUILayout: boolean;
|
|
2428
2611
|
runInEditMode: boolean;
|
|
2429
2612
|
enabled: boolean;
|
|
@@ -2496,12 +2679,12 @@ export declare namespace ReactUnity {
|
|
|
2496
2679
|
constructor(dispatcher: ReactUnity.Scheduling.IDispatcher, context: ReactUnity.ReactContext);
|
|
2497
2680
|
setTimeout(callback: any, timeout: number): number;
|
|
2498
2681
|
setInterval(callback: any, timeout: number): number;
|
|
2499
|
-
clearTimeout(handle: number): void;
|
|
2500
|
-
clearInterval(handle: number): void;
|
|
2682
|
+
clearTimeout(handle: number | undefined): void;
|
|
2683
|
+
clearInterval(handle: number | undefined): void;
|
|
2501
2684
|
setImmediate(callback: any): number;
|
|
2502
2685
|
requestAnimationFrame(callback: any): number;
|
|
2503
|
-
cancelAnimationFrame(handle: number): void;
|
|
2504
|
-
clearImmediate(handle: number): void;
|
|
2686
|
+
cancelAnimationFrame(handle: number | undefined): void;
|
|
2687
|
+
clearImmediate(handle: number | undefined): void;
|
|
2505
2688
|
Equals(obj: any): boolean;
|
|
2506
2689
|
GetHashCode(): number;
|
|
2507
2690
|
GetType(): System.Type;
|
|
@@ -2548,10 +2731,10 @@ export declare namespace ReactUnity {
|
|
|
2548
2731
|
setTimeout(callback: any, timeout: number): number;
|
|
2549
2732
|
setInterval(callback: any, timeout: number): number;
|
|
2550
2733
|
requestAnimationFrame(callback: any): number;
|
|
2551
|
-
clearTimeout(handle: number): void;
|
|
2552
|
-
clearInterval(handle: number): void;
|
|
2553
|
-
clearImmediate(handle: number): void;
|
|
2554
|
-
cancelAnimationFrame(handle: number): void;
|
|
2734
|
+
clearTimeout(handle: number | undefined): void;
|
|
2735
|
+
clearInterval(handle: number | undefined): void;
|
|
2736
|
+
clearImmediate(handle: number | undefined): void;
|
|
2737
|
+
cancelAnimationFrame(handle: number | undefined): void;
|
|
2555
2738
|
}
|
|
2556
2739
|
interface ITimer {
|
|
2557
2740
|
AnimationTime: number;
|
|
@@ -2563,10 +2746,10 @@ export declare namespace ReactUnity {
|
|
|
2563
2746
|
setInterval(callback: any, timeout: number): number;
|
|
2564
2747
|
setImmediate(callback: any): number;
|
|
2565
2748
|
requestAnimationFrame(callback: any): number;
|
|
2566
|
-
clearTimeout(handle: number): void;
|
|
2567
|
-
clearInterval(handle: number): void;
|
|
2568
|
-
clearImmediate(handle: number): void;
|
|
2569
|
-
cancelAnimationFrame(handle: number): void;
|
|
2749
|
+
clearTimeout(handle: number | undefined): void;
|
|
2750
|
+
clearInterval(handle: number | undefined): void;
|
|
2751
|
+
clearImmediate(handle: number | undefined): void;
|
|
2752
|
+
cancelAnimationFrame(handle: number | undefined): void;
|
|
2570
2753
|
clearAllTimeouts(): void;
|
|
2571
2754
|
Equals(obj: any): boolean;
|
|
2572
2755
|
GetHashCode(): number;
|
|
@@ -2575,6 +2758,7 @@ export declare namespace ReactUnity {
|
|
|
2575
2758
|
}
|
|
2576
2759
|
class RuntimeDispatcherBehavior {
|
|
2577
2760
|
constructor();
|
|
2761
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
2578
2762
|
useGUILayout: boolean;
|
|
2579
2763
|
runInEditMode: boolean;
|
|
2580
2764
|
enabled: boolean;
|
|
@@ -2693,6 +2877,7 @@ export declare namespace ReactUnity {
|
|
|
2693
2877
|
CreateNamespaceReference(ns: string, ...assemblies: System.Reflection.Assembly[]): any;
|
|
2694
2878
|
CreateScriptObject(props: System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, any>>): any;
|
|
2695
2879
|
Dispose(): void;
|
|
2880
|
+
TraverseScriptArray(obj: any): System.Collections.Generic.IEnumerable<any>;
|
|
2696
2881
|
TraverseScriptObject(obj: any): System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, any>>;
|
|
2697
2882
|
IsScriptObject(obj: any): boolean;
|
|
2698
2883
|
Update(): void;
|
|
@@ -2719,7 +2904,8 @@ export declare namespace ReactUnity {
|
|
|
2719
2904
|
Scheduler = 16,
|
|
2720
2905
|
Base64 = 32,
|
|
2721
2906
|
URL = 64,
|
|
2722
|
-
Navigator = 128
|
|
2907
|
+
Navigator = 128,
|
|
2908
|
+
Encoding = 256
|
|
2723
2909
|
}
|
|
2724
2910
|
enum JavascriptEngineType {
|
|
2725
2911
|
Auto = 0,
|
|
@@ -2740,6 +2926,7 @@ export declare namespace ReactUnity {
|
|
|
2740
2926
|
IsScriptObject(obj: any): boolean;
|
|
2741
2927
|
CreateTypeReference(type: System.Type): any;
|
|
2742
2928
|
CreateNamespaceReference(ns: string, ...assemblies: System.Reflection.Assembly[]): any;
|
|
2929
|
+
TraverseScriptArray(obj: any): System.Collections.Generic.IEnumerable<any>;
|
|
2743
2930
|
TraverseScriptObject(obj: any): System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, any>>;
|
|
2744
2931
|
Update(): void;
|
|
2745
2932
|
}
|
|
@@ -2762,6 +2949,7 @@ export declare namespace ReactUnity {
|
|
|
2762
2949
|
CreateNamespaceReference(ns: string, ...assemblies: System.Reflection.Assembly[]): any;
|
|
2763
2950
|
CreateScriptObject(props: System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, any>>): any;
|
|
2764
2951
|
Dispose(): void;
|
|
2952
|
+
TraverseScriptArray(obj: any): System.Collections.Generic.IEnumerable<any>;
|
|
2765
2953
|
TraverseScriptObject(obj: any): System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, any>>;
|
|
2766
2954
|
IsScriptObject(obj: any): boolean;
|
|
2767
2955
|
Update(): void;
|
|
@@ -2837,6 +3025,7 @@ export declare namespace ReactUnity {
|
|
|
2837
3025
|
CreateNamespaceReference(ns: string, ...assemblies: System.Reflection.Assembly[]): any;
|
|
2838
3026
|
CreateScriptObject(props: System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, any>>): any;
|
|
2839
3027
|
Dispose(): void;
|
|
3028
|
+
TraverseScriptArray(obj: any): System.Collections.Generic.IEnumerable<any>;
|
|
2840
3029
|
TraverseScriptObject(obj: any): System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, any>>;
|
|
2841
3030
|
IsScriptObject(obj: any): boolean;
|
|
2842
3031
|
Update(): void;
|
|
@@ -2975,12 +3164,12 @@ export declare namespace ReactUnity {
|
|
|
2975
3164
|
namespace DomProxies {
|
|
2976
3165
|
class ConsoleProxy {
|
|
2977
3166
|
constructor(ctx: ReactUnity.ReactContext);
|
|
2978
|
-
log(msg: any,
|
|
2979
|
-
info(msg: any,
|
|
2980
|
-
debug(msg: any,
|
|
2981
|
-
warn(msg: any,
|
|
2982
|
-
error(msg: any,
|
|
2983
|
-
dir(msg: any,
|
|
3167
|
+
log(msg: any, subs: any): void;
|
|
3168
|
+
info(msg: any, subs: any): void;
|
|
3169
|
+
debug(msg: any, subs: any): void;
|
|
3170
|
+
warn(msg: any, subs: any): void;
|
|
3171
|
+
error(msg: any, subs: any): void;
|
|
3172
|
+
dir(msg: any, subs: any): void;
|
|
2984
3173
|
count(msg?: any): number;
|
|
2985
3174
|
clear(): void;
|
|
2986
3175
|
assert(val: boolean): void;
|
|
@@ -3134,6 +3323,38 @@ export declare namespace ReactUnity {
|
|
|
3134
3323
|
GetType(): System.Type;
|
|
3135
3324
|
ToString(): string;
|
|
3136
3325
|
}
|
|
3326
|
+
class AnchorProxy {
|
|
3327
|
+
constructor(document: ReactUnity.Scripting.DomProxies.DocumentProxy);
|
|
3328
|
+
tagName: string;
|
|
3329
|
+
href: string;
|
|
3330
|
+
protocol: string;
|
|
3331
|
+
hostname: string;
|
|
3332
|
+
origin: string;
|
|
3333
|
+
host: string;
|
|
3334
|
+
port: string;
|
|
3335
|
+
search: string;
|
|
3336
|
+
hash: string;
|
|
3337
|
+
pathname: string;
|
|
3338
|
+
rawPathname: string;
|
|
3339
|
+
nodeType: number;
|
|
3340
|
+
nextSibling: any;
|
|
3341
|
+
document: ReactUnity.Scripting.DomProxies.DocumentProxy;
|
|
3342
|
+
parentNode: ReactUnity.Scripting.DomProxies.HeadProxy;
|
|
3343
|
+
url: ReactUnity.Scripting.DomProxies.URL;
|
|
3344
|
+
id: string;
|
|
3345
|
+
OnAppend(): void;
|
|
3346
|
+
OnRemove(): void;
|
|
3347
|
+
setAttribute(key: any, value: any): void;
|
|
3348
|
+
appendChild(text: string): void;
|
|
3349
|
+
removeChild(text: string): void;
|
|
3350
|
+
removeAttribute(key: any): void;
|
|
3351
|
+
hasAttribute(key: any): boolean;
|
|
3352
|
+
getAttribute(key: any): any;
|
|
3353
|
+
Equals(obj: any): boolean;
|
|
3354
|
+
GetHashCode(): number;
|
|
3355
|
+
GetType(): System.Type;
|
|
3356
|
+
ToString(): string;
|
|
3357
|
+
}
|
|
3137
3358
|
class EventHandler {
|
|
3138
3359
|
constructor();
|
|
3139
3360
|
SetEventListener(eventName: string, fun: any): void;
|
|
@@ -3512,7 +3733,8 @@ export declare namespace ReactUnity {
|
|
|
3512
3733
|
Auto = 4,
|
|
3513
3734
|
None = 5,
|
|
3514
3735
|
Unset = 6,
|
|
3515
|
-
Default = 7
|
|
3736
|
+
Default = 7,
|
|
3737
|
+
Revert = 8
|
|
3516
3738
|
}
|
|
3517
3739
|
class CssProperties {
|
|
3518
3740
|
static PropertyMap: any;
|
|
@@ -3629,13 +3851,19 @@ export declare namespace ReactUnity {
|
|
|
3629
3851
|
GetType(): System.Type;
|
|
3630
3852
|
ToString(): string;
|
|
3631
3853
|
}
|
|
3854
|
+
interface IRevertCalculator {
|
|
3855
|
+
GetRevertValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle, converter: ReactUnity.Styling.Converters.IStyleConverter): any;
|
|
3856
|
+
}
|
|
3632
3857
|
interface IStyleKey {
|
|
3633
3858
|
ModifiedProperties: ReactUnity.Styling.IStyleProperty[];
|
|
3634
3859
|
Modify(collection: System.Collections.Generic.IDictionary<ReactUnity.Styling.IStyleProperty, any>, value: any): ReactUnity.Styling.IStyleProperty[];
|
|
3635
3860
|
}
|
|
3636
3861
|
class NodeStyle {
|
|
3637
|
-
constructor(context: ReactUnity.ReactContext, fallback?: ReactUnity.Styling.NodeStyle, cssStyles?: System.Collections.Generic.IDictionary<ReactUnity.Styling.IStyleProperty, any>[]);
|
|
3862
|
+
constructor(context: ReactUnity.ReactContext, fallback?: ReactUnity.Styling.NodeStyle, cssStyles?: System.Collections.Generic.IDictionary<ReactUnity.Styling.IStyleProperty, any>[], revertCalculator?: ReactUnity.Styling.IRevertCalculator);
|
|
3638
3863
|
HasInheritedChanges: boolean;
|
|
3864
|
+
Context: ReactUnity.ReactContext;
|
|
3865
|
+
Parent: ReactUnity.Styling.NodeStyle;
|
|
3866
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
3639
3867
|
order: number;
|
|
3640
3868
|
opacity: number;
|
|
3641
3869
|
zIndex: number;
|
|
@@ -3643,15 +3871,24 @@ export declare namespace ReactUnity {
|
|
|
3643
3871
|
visibility: boolean;
|
|
3644
3872
|
position: ReactUnity.Types.PositionType;
|
|
3645
3873
|
cursor: ReactUnity.Types.ICssValueList<ReactUnity.Types.Cursor>;
|
|
3874
|
+
isolation: ReactUnity.Types.Isolation;
|
|
3646
3875
|
pointerEvents: ReactUnity.Types.PointerEvents;
|
|
3647
3876
|
borderTopLeftRadius: ReactUnity.Types.YogaValue2;
|
|
3648
3877
|
borderTopRightRadius: ReactUnity.Types.YogaValue2;
|
|
3649
3878
|
borderBottomLeftRadius: ReactUnity.Types.YogaValue2;
|
|
3650
3879
|
borderBottomRightRadius: ReactUnity.Types.YogaValue2;
|
|
3880
|
+
outlineOffset: number;
|
|
3881
|
+
outlineWidth: number;
|
|
3882
|
+
outlineColor: UnityEngine.Color;
|
|
3883
|
+
outlineStyle: ReactUnity.Types.BorderStyle;
|
|
3651
3884
|
borderLeftColor: UnityEngine.Color;
|
|
3652
3885
|
borderRightColor: UnityEngine.Color;
|
|
3653
3886
|
borderTopColor: UnityEngine.Color;
|
|
3654
3887
|
borderBottomColor: UnityEngine.Color;
|
|
3888
|
+
borderLeftStyle: ReactUnity.Types.BorderStyle;
|
|
3889
|
+
borderRightStyle: ReactUnity.Types.BorderStyle;
|
|
3890
|
+
borderTopStyle: ReactUnity.Types.BorderStyle;
|
|
3891
|
+
borderBottomStyle: ReactUnity.Types.BorderStyle;
|
|
3655
3892
|
boxShadow: ReactUnity.Types.ICssValueList<ReactUnity.Types.BoxShadow>;
|
|
3656
3893
|
transformOrigin: ReactUnity.Types.YogaValue2;
|
|
3657
3894
|
translate: ReactUnity.Types.YogaValue2;
|
|
@@ -3680,6 +3917,11 @@ export declare namespace ReactUnity {
|
|
|
3680
3917
|
stateDuration: number;
|
|
3681
3918
|
objectFit: ReactUnity.Types.ObjectFit;
|
|
3682
3919
|
objectPosition: ReactUnity.Types.YogaValue2;
|
|
3920
|
+
borderImageSource: ReactUnity.Types.ImageDefinition;
|
|
3921
|
+
borderImageSlice: ReactUnity.Types.BorderImageSlice;
|
|
3922
|
+
borderImageRepeat: ReactUnity.Types.ICssFourDirectional<ReactUnity.Types.BackgroundRepeat>;
|
|
3923
|
+
borderImageOutset: ReactUnity.Types.ICssFourDirectional<Facebook.Yoga.YogaValue>;
|
|
3924
|
+
borderImageWidth: ReactUnity.Types.ICssFourDirectional<Facebook.Yoga.YogaValue>;
|
|
3683
3925
|
backgroundColor: UnityEngine.Color;
|
|
3684
3926
|
backgroundImage: ReactUnity.Types.ICssValueList<ReactUnity.Types.ImageDefinition>;
|
|
3685
3927
|
backgroundPositionX: ReactUnity.Types.ICssValueList<Facebook.Yoga.YogaValue>;
|
|
@@ -3713,8 +3955,6 @@ export declare namespace ReactUnity {
|
|
|
3713
3955
|
audioClip: ReactUnity.Types.ICssValueList<ReactUnity.Types.AudioReference>;
|
|
3714
3956
|
audioIterationCount: ReactUnity.Types.ICssValueList<number>;
|
|
3715
3957
|
audioDelay: ReactUnity.Types.ICssValueList<number>;
|
|
3716
|
-
Context: ReactUnity.ReactContext;
|
|
3717
|
-
Parent: ReactUnity.Styling.NodeStyle;
|
|
3718
3958
|
UpdateParent(parent: ReactUnity.Styling.NodeStyle): void;
|
|
3719
3959
|
GetRawStyleValue(prop: ReactUnity.Styling.IStyleProperty, fromChild?: boolean, activeStyle?: ReactUnity.Styling.NodeStyle): any;
|
|
3720
3960
|
SetStyleValue(prop: ReactUnity.Styling.IStyleProperty, value: any): void;
|
|
@@ -3725,6 +3965,29 @@ export declare namespace ReactUnity {
|
|
|
3725
3965
|
GetType(): System.Type;
|
|
3726
3966
|
ToString(): string;
|
|
3727
3967
|
}
|
|
3968
|
+
class FourDirectionalStyleProperty<T = any> {
|
|
3969
|
+
constructor(name: string, initialValue: any, transitionable: boolean, inherited: boolean, converter: ReactUnity.Styling.Converters.StyleConverterBase);
|
|
3970
|
+
constructor(name: string, initialValue?: ReactUnity.Types.CssFourDirectional<T>, transitionable?: boolean, inherited?: boolean, baseConverter?: ReactUnity.Styling.Converters.StyleConverterBase);
|
|
3971
|
+
constructor(name: string, emptyValue: T, transitionable?: boolean, inherited?: boolean, baseConverter?: ReactUnity.Styling.Converters.StyleConverterBase);
|
|
3972
|
+
Converter: ReactUnity.Types.CssFourDirectional<T>;
|
|
3973
|
+
name: string;
|
|
3974
|
+
type: System.Type;
|
|
3975
|
+
defaultValue: any;
|
|
3976
|
+
transitionable: boolean;
|
|
3977
|
+
inherited: boolean;
|
|
3978
|
+
affectsLayout: boolean;
|
|
3979
|
+
ModifiedProperties: ReactUnity.Styling.IStyleProperty[];
|
|
3980
|
+
converter: ReactUnity.Styling.Converters.StyleConverterBase;
|
|
3981
|
+
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
3982
|
+
Stringify(value: any): string;
|
|
3983
|
+
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
3984
|
+
GetHashCode(): number;
|
|
3985
|
+
Equals(obj: any): boolean;
|
|
3986
|
+
GetStyle(style: ReactUnity.Styling.NodeStyle): any;
|
|
3987
|
+
Modify(collection: System.Collections.Generic.IDictionary<ReactUnity.Styling.IStyleProperty, any>, value: any): ReactUnity.Styling.IStyleProperty[];
|
|
3988
|
+
GetType(): System.Type;
|
|
3989
|
+
ToString(): string;
|
|
3990
|
+
}
|
|
3728
3991
|
interface IStyleProperty {
|
|
3729
3992
|
name: string;
|
|
3730
3993
|
type: System.Type;
|
|
@@ -3823,6 +4086,7 @@ export declare namespace ReactUnity {
|
|
|
3823
4086
|
static visibility: any;
|
|
3824
4087
|
static position: any;
|
|
3825
4088
|
static cursor: any;
|
|
4089
|
+
static isolation: any;
|
|
3826
4090
|
static pointerEvents: any;
|
|
3827
4091
|
static borderTopLeftRadius: any;
|
|
3828
4092
|
static borderTopRightRadius: any;
|
|
@@ -3832,6 +4096,14 @@ export declare namespace ReactUnity {
|
|
|
3832
4096
|
static borderRightColor: any;
|
|
3833
4097
|
static borderTopColor: any;
|
|
3834
4098
|
static borderBottomColor: any;
|
|
4099
|
+
static borderLeftStyle: any;
|
|
4100
|
+
static borderRightStyle: any;
|
|
4101
|
+
static borderTopStyle: any;
|
|
4102
|
+
static borderBottomStyle: any;
|
|
4103
|
+
static outlineOffset: any;
|
|
4104
|
+
static outlineWidth: any;
|
|
4105
|
+
static outlineColor: any;
|
|
4106
|
+
static outlineStyle: any;
|
|
3835
4107
|
static transformOrigin: any;
|
|
3836
4108
|
static translate: any;
|
|
3837
4109
|
static translateZ: any;
|
|
@@ -3860,6 +4132,11 @@ export declare namespace ReactUnity {
|
|
|
3860
4132
|
static objectFit: any;
|
|
3861
4133
|
static objectPosition: any;
|
|
3862
4134
|
static boxShadow: any;
|
|
4135
|
+
static borderImageSource: any;
|
|
4136
|
+
static borderImageSlice: any;
|
|
4137
|
+
static borderImageRepeat: any;
|
|
4138
|
+
static borderImageOutset: any;
|
|
4139
|
+
static borderImageWidth: any;
|
|
3863
4140
|
static backgroundColor: any;
|
|
3864
4141
|
static backgroundImage: any;
|
|
3865
4142
|
static backgroundPositionX: any;
|
|
@@ -4098,7 +4375,7 @@ export declare namespace ReactUnity {
|
|
|
4098
4375
|
MediaQueries: ReactUnity.Styling.Rules.MediaQueryList[];
|
|
4099
4376
|
Declarations: System.Tuple<ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>, System.Collections.Generic.Dictionary<ReactUnity.Styling.IStyleProperty, any>>[];
|
|
4100
4377
|
AddRules(selector: string, rules: System.Collections.Generic.IDictionary<ReactUnity.Styling.IStyleProperty, any>, important?: boolean): void;
|
|
4101
|
-
AddRules(selector: string, rules:
|
|
4378
|
+
AddRules(selector: string, rules: Record<string, any>, important?: boolean): void;
|
|
4102
4379
|
Enable(): void;
|
|
4103
4380
|
Disable(): void;
|
|
4104
4381
|
ResolveStyle(): void;
|
|
@@ -4196,6 +4473,7 @@ export declare namespace ReactUnity {
|
|
|
4196
4473
|
static Interpolate(t: number, mirror?: boolean): number;
|
|
4197
4474
|
static Interpolate(from: number, to: number, t: number): number;
|
|
4198
4475
|
static Interpolate(from: number, to: number, t: number): number;
|
|
4476
|
+
static Interpolate(from: boolean, to: boolean, t: number): boolean;
|
|
4199
4477
|
static Interpolate(from: UnityEngine.Color, to: UnityEngine.Color, t: number): UnityEngine.Color;
|
|
4200
4478
|
static Interpolate(from: UnityEngine.Vector2, to: UnityEngine.Vector2, t: number): UnityEngine.Vector2;
|
|
4201
4479
|
static Interpolate(from: UnityEngine.Vector3, to: UnityEngine.Vector3, t: number): UnityEngine.Vector3;
|
|
@@ -4322,13 +4600,13 @@ export declare namespace ReactUnity {
|
|
|
4322
4600
|
}
|
|
4323
4601
|
namespace Computed {
|
|
4324
4602
|
class ComputedCalc {
|
|
4325
|
-
constructor(values:
|
|
4326
|
-
Values:
|
|
4327
|
-
Operators:
|
|
4603
|
+
constructor(values: ReactUnity.Styling.Computed.IComputedValue[], operators: ReactUnity.Styling.Computed.ComputedCalc_CalcOperator[], converter: ReactUnity.Styling.Converters.StyleConverterBase);
|
|
4604
|
+
Values: ReactUnity.Styling.Computed.IComputedValue[];
|
|
4605
|
+
Operators: ReactUnity.Styling.Computed.ComputedCalc_CalcOperator[];
|
|
4328
4606
|
Converter: ReactUnity.Styling.Converters.StyleConverterBase;
|
|
4329
4607
|
AllowUnitless: boolean;
|
|
4330
4608
|
GetValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle, converter: ReactUnity.Styling.Converters.IStyleConverter): any;
|
|
4331
|
-
static Create(values:
|
|
4609
|
+
static Create(values: ReactUnity.Styling.Computed.IComputedValue[], operators: ReactUnity.Styling.Computed.ComputedCalc_CalcOperator[], converter: ReactUnity.Styling.Converters.StyleConverterBase, allConstants?: boolean | undefined): ReactUnity.Styling.Computed.IComputedValue;
|
|
4332
4610
|
Equals(obj: any): boolean;
|
|
4333
4611
|
GetHashCode(): number;
|
|
4334
4612
|
ToString(): string;
|
|
@@ -4340,7 +4618,7 @@ export declare namespace ReactUnity {
|
|
|
4340
4618
|
Values: ReactUnity.Styling.Computed.IComputedValue[];
|
|
4341
4619
|
Converters: ReactUnity.Styling.Converters.StyleConverterBase[];
|
|
4342
4620
|
GetValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle, converter: ReactUnity.Styling.Converters.IStyleConverter): any;
|
|
4343
|
-
static Create(values: ReactUnity.Styling.Computed.IComputedValue[], converters: ReactUnity.Styling.Converters.StyleConverterBase[], callback: ((values: any[]) => any), allConstants?: boolean): ReactUnity.Styling.Computed.IComputedValue;
|
|
4621
|
+
static Create(values: ReactUnity.Styling.Computed.IComputedValue[], converters: ReactUnity.Styling.Converters.StyleConverterBase[], callback: ((values: any[]) => any), allConstants?: boolean | undefined): ReactUnity.Styling.Computed.IComputedValue;
|
|
4344
4622
|
Equals(obj: any): boolean;
|
|
4345
4623
|
GetHashCode(): number;
|
|
4346
4624
|
ToString(): string;
|
|
@@ -4373,6 +4651,16 @@ export declare namespace ReactUnity {
|
|
|
4373
4651
|
ToString(): string;
|
|
4374
4652
|
GetType(): System.Type;
|
|
4375
4653
|
}
|
|
4654
|
+
class ComputedFontProperty {
|
|
4655
|
+
constructor(ratio: number, type: ReactUnity.Styling.Computed.ComputedFontProperty_FontPropertyType);
|
|
4656
|
+
Ratio: number;
|
|
4657
|
+
Type: ReactUnity.Styling.Computed.ComputedFontProperty_FontPropertyType;
|
|
4658
|
+
GetValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle, converter: ReactUnity.Styling.Converters.IStyleConverter): any;
|
|
4659
|
+
Equals(obj: any): boolean;
|
|
4660
|
+
GetHashCode(): number;
|
|
4661
|
+
ToString(): string;
|
|
4662
|
+
GetType(): System.Type;
|
|
4663
|
+
}
|
|
4376
4664
|
class ComputedFontSize {
|
|
4377
4665
|
constructor(ratio: number);
|
|
4378
4666
|
static Default: ReactUnity.Styling.Computed.ComputedFontSize;
|
|
@@ -4398,6 +4686,7 @@ export declare namespace ReactUnity {
|
|
|
4398
4686
|
class ComputedKeyword {
|
|
4399
4687
|
constructor(keyword: ReactUnity.Styling.CssKeyword);
|
|
4400
4688
|
Keyword: ReactUnity.Styling.CssKeyword;
|
|
4689
|
+
static Revert: ReactUnity.Styling.Computed.ComputedKeyword;
|
|
4401
4690
|
GetValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle, converter: ReactUnity.Styling.Converters.IStyleConverter): any;
|
|
4402
4691
|
Equals(obj: any): boolean;
|
|
4403
4692
|
GetHashCode(): number;
|
|
@@ -4405,13 +4694,13 @@ export declare namespace ReactUnity {
|
|
|
4405
4694
|
GetType(): System.Type;
|
|
4406
4695
|
}
|
|
4407
4696
|
class ComputedList {
|
|
4408
|
-
constructor(values:
|
|
4697
|
+
constructor(values: ReactUnity.Styling.Computed.IComputedValue[], converter: ReactUnity.Styling.Converters.StyleConverterBase, callback: ((values: any[]) => any), defaultValue?: any);
|
|
4409
4698
|
Callback: ((values: any[]) => any);
|
|
4410
|
-
Values:
|
|
4699
|
+
Values: ReactUnity.Styling.Computed.IComputedValue[];
|
|
4411
4700
|
Converter: ReactUnity.Styling.Converters.StyleConverterBase;
|
|
4412
4701
|
DefaultValue: any;
|
|
4413
4702
|
GetValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle, converter: ReactUnity.Styling.Converters.IStyleConverter): any;
|
|
4414
|
-
static Create(values:
|
|
4703
|
+
static Create(values: ReactUnity.Styling.Computed.IComputedValue[], converter: ReactUnity.Styling.Converters.StyleConverterBase, callback: ((values: any[]) => any), defaultValue?: any, allConstants?: boolean | undefined): ReactUnity.Styling.Computed.IComputedValue;
|
|
4415
4704
|
Equals(obj: any): boolean;
|
|
4416
4705
|
GetHashCode(): number;
|
|
4417
4706
|
ToString(): string;
|
|
@@ -4438,10 +4727,19 @@ export declare namespace ReactUnity {
|
|
|
4438
4727
|
ToString(): string;
|
|
4439
4728
|
GetType(): System.Type;
|
|
4440
4729
|
}
|
|
4730
|
+
class ComputedRevert {
|
|
4731
|
+
static Instance: ReactUnity.Styling.Computed.ComputedRevert;
|
|
4732
|
+
GetValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle, converter: ReactUnity.Styling.Converters.IStyleConverter): any;
|
|
4733
|
+
Equals(obj: any): boolean;
|
|
4734
|
+
GetHashCode(): number;
|
|
4735
|
+
ToString(): string;
|
|
4736
|
+
GetType(): System.Type;
|
|
4737
|
+
}
|
|
4441
4738
|
class ComputedRootRelative {
|
|
4442
4739
|
constructor(ratio: number, type: ReactUnity.Styling.Computed.ComputedRootRelative_RootValueType);
|
|
4443
4740
|
Ratio: number;
|
|
4444
4741
|
Type: ReactUnity.Styling.Computed.ComputedRootRelative_RootValueType;
|
|
4742
|
+
static DefaultFontSize: number;
|
|
4445
4743
|
GetValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle, converter: ReactUnity.Styling.Converters.IStyleConverter): any;
|
|
4446
4744
|
Equals(obj: any): boolean;
|
|
4447
4745
|
GetHashCode(): number;
|
|
@@ -4457,9 +4755,9 @@ export declare namespace ReactUnity {
|
|
|
4457
4755
|
GetType(): System.Type;
|
|
4458
4756
|
}
|
|
4459
4757
|
class ComputedStringTemplate {
|
|
4460
|
-
constructor(template:
|
|
4461
|
-
Template:
|
|
4462
|
-
Variables:
|
|
4758
|
+
constructor(template: string[], variables: ReactUnity.Styling.Computed.ComputedVariable[]);
|
|
4759
|
+
Template: string[];
|
|
4760
|
+
Variables: ReactUnity.Styling.Computed.ComputedVariable[];
|
|
4463
4761
|
GetValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle, converter: ReactUnity.Styling.Converters.IStyleConverter): any;
|
|
4464
4762
|
Equals(obj: any): boolean;
|
|
4465
4763
|
GetHashCode(): number;
|
|
@@ -4520,6 +4818,13 @@ export declare namespace ReactUnity {
|
|
|
4520
4818
|
GetType(): System.Type;
|
|
4521
4819
|
ToString(): string;
|
|
4522
4820
|
}
|
|
4821
|
+
enum ComputedFontProperty_FontPropertyType {
|
|
4822
|
+
None = 0,
|
|
4823
|
+
LineHeight = 1,
|
|
4824
|
+
RootLineHeight = 2,
|
|
4825
|
+
CharacterWidth = 3,
|
|
4826
|
+
XHeight = 4
|
|
4827
|
+
}
|
|
4523
4828
|
class ComputedList_CompoundCallback {
|
|
4524
4829
|
constructor(object: any, method: System.IntPtr);
|
|
4525
4830
|
Method: System.Reflection.MethodInfo;
|
|
@@ -4602,6 +4907,7 @@ export declare namespace ReactUnity {
|
|
|
4602
4907
|
static ImageDefinitionConverter: ReactUnity.Styling.Converters.StyleConverterBase;
|
|
4603
4908
|
static BackgroundSizeConverter: ReactUnity.Styling.Converters.StyleConverterBase;
|
|
4604
4909
|
static SortingLayerConverter: ReactUnity.Styling.Converters.StyleConverterBase;
|
|
4910
|
+
static BorderImageSliceConverter: ReactUnity.Styling.Converters.StyleConverterBase;
|
|
4605
4911
|
static Get(type: System.Type): ReactUnity.Styling.Converters.StyleConverterBase;
|
|
4606
4912
|
Equals(obj: any): boolean;
|
|
4607
4913
|
GetHashCode(): number;
|
|
@@ -4694,6 +5000,7 @@ export declare namespace ReactUnity {
|
|
|
4694
5000
|
constructor();
|
|
4695
5001
|
AllowSuffixless: boolean;
|
|
4696
5002
|
CalcConverter: ReactUnity.Styling.Converters.CalcConverter;
|
|
5003
|
+
static UnitValueMap: any;
|
|
4697
5004
|
StringifyTyped(value: number): string;
|
|
4698
5005
|
StringifyInternal(value: any): string;
|
|
4699
5006
|
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
@@ -5204,6 +5511,8 @@ export declare namespace ReactUnity {
|
|
|
5204
5511
|
constructor(url: ReactUnity.Types.Url);
|
|
5205
5512
|
Type: ReactUnity.Types.AssetReferenceType;
|
|
5206
5513
|
Value: any;
|
|
5514
|
+
IsCached: boolean;
|
|
5515
|
+
CachedValue: UnityEngine.AudioClip;
|
|
5207
5516
|
static None: ReactUnity.Types.AudioReference;
|
|
5208
5517
|
Dispose(): void;
|
|
5209
5518
|
Get(context: ReactUnity.ReactContext, callback: ((obj: UnityEngine.AudioClip) => void)): void;
|
|
@@ -5236,7 +5545,8 @@ export declare namespace ReactUnity {
|
|
|
5236
5545
|
Repeat = 0,
|
|
5237
5546
|
Space = 1,
|
|
5238
5547
|
Round = 2,
|
|
5239
|
-
NoRepeat = 3
|
|
5548
|
+
NoRepeat = 3,
|
|
5549
|
+
Stretch = 4
|
|
5240
5550
|
}
|
|
5241
5551
|
enum BackgroundBox {
|
|
5242
5552
|
BorderBox = 0,
|
|
@@ -5266,17 +5576,33 @@ export declare namespace ReactUnity {
|
|
|
5266
5576
|
Saturation = 14,
|
|
5267
5577
|
Luminosity = 15
|
|
5268
5578
|
}
|
|
5579
|
+
class BorderImageSlice {
|
|
5580
|
+
constructor(top: Facebook.Yoga.YogaValue, right: Facebook.Yoga.YogaValue, bottom: Facebook.Yoga.YogaValue, left: Facebook.Yoga.YogaValue, fill: boolean);
|
|
5581
|
+
constructor(values: ReactUnity.Types.CssFourDirectional<Facebook.Yoga.YogaValue>, fill: boolean);
|
|
5582
|
+
constructor(fill: boolean);
|
|
5583
|
+
static Auto: ReactUnity.Types.BorderImageSlice;
|
|
5584
|
+
Top: Facebook.Yoga.YogaValue;
|
|
5585
|
+
Right: Facebook.Yoga.YogaValue;
|
|
5586
|
+
Bottom: Facebook.Yoga.YogaValue;
|
|
5587
|
+
Left: Facebook.Yoga.YogaValue;
|
|
5588
|
+
Fill: boolean;
|
|
5589
|
+
Interpolate(to: any, t: number): any;
|
|
5590
|
+
Equals(obj: any): boolean;
|
|
5591
|
+
GetHashCode(): number;
|
|
5592
|
+
ToString(): string;
|
|
5593
|
+
GetType(): System.Type;
|
|
5594
|
+
}
|
|
5269
5595
|
enum BorderStyle {
|
|
5270
|
-
|
|
5596
|
+
Solid = 0,
|
|
5597
|
+
None = 1,
|
|
5271
5598
|
Hidden = 1,
|
|
5272
5599
|
Dotted = 2,
|
|
5273
5600
|
Dashed = 3,
|
|
5274
|
-
|
|
5275
|
-
|
|
5276
|
-
|
|
5277
|
-
|
|
5278
|
-
|
|
5279
|
-
Outset = 9
|
|
5601
|
+
Double = 4,
|
|
5602
|
+
Groove = 5,
|
|
5603
|
+
Ridge = 6,
|
|
5604
|
+
Inset = 7,
|
|
5605
|
+
Outset = 8
|
|
5280
5606
|
}
|
|
5281
5607
|
class BoxShadow {
|
|
5282
5608
|
constructor(offset: UnityEngine.Vector2, blur: UnityEngine.Vector2, spread: UnityEngine.Vector2, color: UnityEngine.Color, inset?: boolean);
|
|
@@ -5294,6 +5620,41 @@ export declare namespace ReactUnity {
|
|
|
5294
5620
|
GetType(): System.Type;
|
|
5295
5621
|
ToString(): string;
|
|
5296
5622
|
}
|
|
5623
|
+
interface ICssFourDirectional<T = any> {
|
|
5624
|
+
Top: T;
|
|
5625
|
+
Right: T;
|
|
5626
|
+
Bottom: T;
|
|
5627
|
+
Left: T;
|
|
5628
|
+
}
|
|
5629
|
+
class CssFourDirectional<T = any> {
|
|
5630
|
+
constructor();
|
|
5631
|
+
constructor(top: T, right: T, bottom: T, left: T);
|
|
5632
|
+
Top: T;
|
|
5633
|
+
Right: T;
|
|
5634
|
+
Bottom: T;
|
|
5635
|
+
Left: T;
|
|
5636
|
+
static Default: any;
|
|
5637
|
+
Interpolate(to: any, t: number): any;
|
|
5638
|
+
Equals(obj: any): boolean;
|
|
5639
|
+
GetHashCode(): number;
|
|
5640
|
+
GetType(): System.Type;
|
|
5641
|
+
ToString(): string;
|
|
5642
|
+
}
|
|
5643
|
+
class CssFourDirectionalInterpolated<T = any> {
|
|
5644
|
+
constructor(from: ReactUnity.Types.ICssFourDirectional<T>, to: ReactUnity.Types.ICssFourDirectional<T>, ratio: number);
|
|
5645
|
+
Top: T;
|
|
5646
|
+
Right: T;
|
|
5647
|
+
Bottom: T;
|
|
5648
|
+
Left: T;
|
|
5649
|
+
From: ReactUnity.Types.ICssFourDirectional<T>;
|
|
5650
|
+
To: ReactUnity.Types.ICssFourDirectional<T>;
|
|
5651
|
+
Ratio: number;
|
|
5652
|
+
Interpolate(to: any, t: number): any;
|
|
5653
|
+
Equals(obj: any): boolean;
|
|
5654
|
+
GetHashCode(): number;
|
|
5655
|
+
ToString(): string;
|
|
5656
|
+
GetType(): System.Type;
|
|
5657
|
+
}
|
|
5297
5658
|
interface ICssValueList<T = any> {
|
|
5298
5659
|
Count: number;
|
|
5299
5660
|
Any: boolean;
|
|
@@ -5372,6 +5733,7 @@ export declare namespace ReactUnity {
|
|
|
5372
5733
|
Ratio: number;
|
|
5373
5734
|
Get(index: number): T;
|
|
5374
5735
|
Get(index: number, defaultValue: T): T;
|
|
5736
|
+
Interpolate(to: any, t: number): any;
|
|
5375
5737
|
Equals(obj: any): boolean;
|
|
5376
5738
|
GetHashCode(): number;
|
|
5377
5739
|
ToString(): string;
|
|
@@ -5414,6 +5776,8 @@ export declare namespace ReactUnity {
|
|
|
5414
5776
|
constructor(url: ReactUnity.Types.Url);
|
|
5415
5777
|
Type: ReactUnity.Types.AssetReferenceType;
|
|
5416
5778
|
Value: any;
|
|
5779
|
+
IsCached: boolean;
|
|
5780
|
+
CachedValue: ReactUnity.Types.FontSource;
|
|
5417
5781
|
static None: ReactUnity.Types.FontReference;
|
|
5418
5782
|
Get(context: ReactUnity.ReactContext, callback: ((obj: ReactUnity.Types.FontSource) => void)): void;
|
|
5419
5783
|
Dispose(): void;
|
|
@@ -5500,6 +5864,8 @@ export declare namespace ReactUnity {
|
|
|
5500
5864
|
}
|
|
5501
5865
|
class ImageDefinition {
|
|
5502
5866
|
static NoImage: ReactUnity.Types.ImageDefinition;
|
|
5867
|
+
DefaultMaterial: UnityEngine.Material;
|
|
5868
|
+
DoesNotModifyMaterial: boolean;
|
|
5503
5869
|
SizeUpdatesGraphic: boolean;
|
|
5504
5870
|
Equals(obj: any): boolean;
|
|
5505
5871
|
GetHashCode(): number;
|
|
@@ -5510,6 +5876,8 @@ export declare namespace ReactUnity {
|
|
|
5510
5876
|
constructor(reference: ReactUnity.Types.SpriteReference);
|
|
5511
5877
|
static None: ReactUnity.Types.UrlImageDefinition;
|
|
5512
5878
|
Reference: ReactUnity.Types.SpriteReference;
|
|
5879
|
+
DoesNotModifyMaterial: boolean;
|
|
5880
|
+
DefaultMaterial: UnityEngine.Material;
|
|
5513
5881
|
SizeUpdatesGraphic: boolean;
|
|
5514
5882
|
Equals(obj: any): boolean;
|
|
5515
5883
|
GetHashCode(): number;
|
|
@@ -5520,6 +5888,8 @@ export declare namespace ReactUnity {
|
|
|
5520
5888
|
constructor(gradient: ReactUnity.Types.BaseGradient);
|
|
5521
5889
|
Gradient: ReactUnity.Types.BaseGradient;
|
|
5522
5890
|
SizeUpdatesGraphic: boolean;
|
|
5891
|
+
DefaultMaterial: UnityEngine.Material;
|
|
5892
|
+
DoesNotModifyMaterial: boolean;
|
|
5523
5893
|
Equals(obj: any): boolean;
|
|
5524
5894
|
GetHashCode(): number;
|
|
5525
5895
|
GetType(): System.Type;
|
|
@@ -5530,6 +5900,8 @@ export declare namespace ReactUnity {
|
|
|
5530
5900
|
constructor(url: ReactUnity.Types.Url);
|
|
5531
5901
|
Type: ReactUnity.Types.AssetReferenceType;
|
|
5532
5902
|
Value: any;
|
|
5903
|
+
IsCached: boolean;
|
|
5904
|
+
CachedValue: UnityEngine.Texture2D;
|
|
5533
5905
|
static None: ReactUnity.Types.ImageReference;
|
|
5534
5906
|
Dispose(): void;
|
|
5535
5907
|
Get(context: ReactUnity.ReactContext, callback: ((obj: UnityEngine.Texture2D) => void)): void;
|
|
@@ -5538,6 +5910,10 @@ export declare namespace ReactUnity {
|
|
|
5538
5910
|
GetType(): System.Type;
|
|
5539
5911
|
ToString(): string;
|
|
5540
5912
|
}
|
|
5913
|
+
enum Isolation {
|
|
5914
|
+
Auto = 0,
|
|
5915
|
+
Isolate = 1
|
|
5916
|
+
}
|
|
5541
5917
|
enum ObjectFit {
|
|
5542
5918
|
Fill = 0,
|
|
5543
5919
|
Contain = 1,
|
|
@@ -5571,6 +5947,8 @@ export declare namespace ReactUnity {
|
|
|
5571
5947
|
constructor(url: ReactUnity.Types.Url);
|
|
5572
5948
|
Type: ReactUnity.Types.AssetReferenceType;
|
|
5573
5949
|
Value: any;
|
|
5950
|
+
IsCached: boolean;
|
|
5951
|
+
CachedValue: UnityEngine.Sprite;
|
|
5574
5952
|
static None: ReactUnity.Types.SpriteReference;
|
|
5575
5953
|
static FromTexture(texture: UnityEngine.Texture2D): UnityEngine.Sprite;
|
|
5576
5954
|
Get(context: ReactUnity.ReactContext, callback: ((obj: UnityEngine.Sprite) => void)): void;
|
|
@@ -5585,6 +5963,8 @@ export declare namespace ReactUnity {
|
|
|
5585
5963
|
constructor(url: ReactUnity.Types.Url);
|
|
5586
5964
|
Type: ReactUnity.Types.AssetReferenceType;
|
|
5587
5965
|
Value: any;
|
|
5966
|
+
IsCached: boolean;
|
|
5967
|
+
CachedValue: UnityEngine.TextAsset;
|
|
5588
5968
|
static None: ReactUnity.Types.TextReference;
|
|
5589
5969
|
Dispose(): void;
|
|
5590
5970
|
Get(context: ReactUnity.ReactContext, callback: ((obj: UnityEngine.TextAsset) => void)): void;
|
|
@@ -5638,6 +6018,8 @@ export declare namespace ReactUnity {
|
|
|
5638
6018
|
constructor(url: ReactUnity.Types.Url);
|
|
5639
6019
|
Type: ReactUnity.Types.AssetReferenceType;
|
|
5640
6020
|
Value: any;
|
|
6021
|
+
IsCached: boolean;
|
|
6022
|
+
CachedValue: ReactUnity.Types.VideoComponentSource;
|
|
5641
6023
|
static None: ReactUnity.Types.VideoReference;
|
|
5642
6024
|
Get(context: ReactUnity.ReactContext, callback: ((obj: ReactUnity.Types.VideoComponentSource) => void)): void;
|
|
5643
6025
|
Dispose(): void;
|
|
@@ -5691,6 +6073,17 @@ export declare namespace ReactUnity {
|
|
|
5691
6073
|
GetType(): System.Type;
|
|
5692
6074
|
ToString(): string;
|
|
5693
6075
|
}
|
|
6076
|
+
class BorderImageSlice_Converter {
|
|
6077
|
+
constructor();
|
|
6078
|
+
CanHandleKeyword(keyword: ReactUnity.Styling.CssKeyword): boolean;
|
|
6079
|
+
Convert(value: any): ReactUnity.Styling.Computed.IComputedValue;
|
|
6080
|
+
Stringify(value: any): string;
|
|
6081
|
+
StringifyInternal(value: any): string;
|
|
6082
|
+
Equals(obj: any): boolean;
|
|
6083
|
+
GetHashCode(): number;
|
|
6084
|
+
GetType(): System.Type;
|
|
6085
|
+
ToString(): string;
|
|
6086
|
+
}
|
|
5694
6087
|
class BoxShadow_Converter {
|
|
5695
6088
|
constructor();
|
|
5696
6089
|
static ColorParser: ReactUnity.Styling.Converters.StyleConverterBase;
|
|
@@ -5731,7 +6124,7 @@ export declare namespace ReactUnity {
|
|
|
5731
6124
|
}
|
|
5732
6125
|
class BaseGradient_ColorKey {
|
|
5733
6126
|
constructor();
|
|
5734
|
-
Color?:
|
|
6127
|
+
Color?: UnityEngine.Color | undefined;
|
|
5735
6128
|
Offset: Facebook.Yoga.YogaValue;
|
|
5736
6129
|
Equals(obj: any): boolean;
|
|
5737
6130
|
GetHashCode(): number;
|
|
@@ -5856,6 +6249,7 @@ export declare namespace ReactUnity {
|
|
|
5856
6249
|
Style: InlineStyleRemap;
|
|
5857
6250
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
5858
6251
|
CustomProperties: Record<string, any>;
|
|
6252
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
5859
6253
|
ParentIndex: number;
|
|
5860
6254
|
CurrentOrder: number;
|
|
5861
6255
|
Entering: boolean;
|
|
@@ -5953,6 +6347,7 @@ export declare namespace ReactUnity {
|
|
|
5953
6347
|
Style: InlineStyleRemap;
|
|
5954
6348
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
5955
6349
|
CustomProperties: Record<string, any>;
|
|
6350
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
5956
6351
|
ParentIndex: number;
|
|
5957
6352
|
CurrentOrder: number;
|
|
5958
6353
|
Entering: boolean;
|
|
@@ -6052,6 +6447,7 @@ export declare namespace ReactUnity {
|
|
|
6052
6447
|
Style: InlineStyleRemap;
|
|
6053
6448
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
6054
6449
|
CustomProperties: Record<string, any>;
|
|
6450
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
6055
6451
|
ParentIndex: number;
|
|
6056
6452
|
CurrentOrder: number;
|
|
6057
6453
|
Entering: boolean;
|
|
@@ -6121,10 +6517,15 @@ export declare namespace ReactUnity {
|
|
|
6121
6517
|
GetType(): System.Type;
|
|
6122
6518
|
ToString(): string;
|
|
6123
6519
|
}
|
|
6124
|
-
class
|
|
6125
|
-
constructor(context: ReactUnity.UGUI.UGUIContext);
|
|
6126
|
-
|
|
6127
|
-
|
|
6520
|
+
class BrComponent {
|
|
6521
|
+
constructor(context: ReactUnity.UGUI.UGUIContext, tag?: string);
|
|
6522
|
+
Text: any;
|
|
6523
|
+
Width: number;
|
|
6524
|
+
Height: number;
|
|
6525
|
+
Measurer: ReactUnity.UGUI.Measurers.TextMeasurer;
|
|
6526
|
+
LinkedTextWatcher: ReactUnity.UGUI.Behaviours.LinkedTextWatcher;
|
|
6527
|
+
Content: string;
|
|
6528
|
+
Font: ReactUnity.Types.FontReference;
|
|
6128
6529
|
GameObject: UnityEngine.GameObject;
|
|
6129
6530
|
RectTransform: UnityEngine.RectTransform;
|
|
6130
6531
|
Component: ReactUnity.UGUI.Behaviours.ReactElement;
|
|
@@ -6148,6 +6549,7 @@ export declare namespace ReactUnity {
|
|
|
6148
6549
|
Style: InlineStyleRemap;
|
|
6149
6550
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
6150
6551
|
CustomProperties: Record<string, any>;
|
|
6552
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
6151
6553
|
ParentIndex: number;
|
|
6152
6554
|
CurrentOrder: number;
|
|
6153
6555
|
Entering: boolean;
|
|
@@ -6175,11 +6577,12 @@ export declare namespace ReactUnity {
|
|
|
6175
6577
|
ScrollTop: number;
|
|
6176
6578
|
ScrollWidth: number;
|
|
6177
6579
|
ScrollHeight: number;
|
|
6178
|
-
|
|
6179
|
-
SetProperty(
|
|
6180
|
-
|
|
6580
|
+
SetText(text: string): void;
|
|
6581
|
+
SetProperty(property: string, value: any): void;
|
|
6582
|
+
GetLinkInfo(eventData: UnityEngine.EventSystems.PointerEventData): string;
|
|
6181
6583
|
Revive(): boolean;
|
|
6182
6584
|
Pool(): boolean;
|
|
6585
|
+
AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
|
|
6183
6586
|
UpdateBackgroundGraphic(updateLayout: boolean, updateStyle: boolean): ReactUnity.UGUI.Internal.BorderAndBackground;
|
|
6184
6587
|
GetRelativePosition(x: number, y: number): UnityEngine.Vector2;
|
|
6185
6588
|
GetBoundingClientRect(): UnityEngine.Rect;
|
|
@@ -6217,8 +6620,10 @@ export declare namespace ReactUnity {
|
|
|
6217
6620
|
GetType(): System.Type;
|
|
6218
6621
|
ToString(): string;
|
|
6219
6622
|
}
|
|
6220
|
-
class
|
|
6221
|
-
constructor(context: ReactUnity.UGUI.UGUIContext
|
|
6623
|
+
class ButtonComponent {
|
|
6624
|
+
constructor(context: ReactUnity.UGUI.UGUIContext);
|
|
6625
|
+
Button: UnityEngine.UI.Button;
|
|
6626
|
+
Disabled: boolean;
|
|
6222
6627
|
GameObject: UnityEngine.GameObject;
|
|
6223
6628
|
RectTransform: UnityEngine.RectTransform;
|
|
6224
6629
|
Component: ReactUnity.UGUI.Behaviours.ReactElement;
|
|
@@ -6242,6 +6647,7 @@ export declare namespace ReactUnity {
|
|
|
6242
6647
|
Style: InlineStyleRemap;
|
|
6243
6648
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
6244
6649
|
CustomProperties: Record<string, any>;
|
|
6650
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
6245
6651
|
ParentIndex: number;
|
|
6246
6652
|
CurrentOrder: number;
|
|
6247
6653
|
Entering: boolean;
|
|
@@ -6269,10 +6675,11 @@ export declare namespace ReactUnity {
|
|
|
6269
6675
|
ScrollTop: number;
|
|
6270
6676
|
ScrollWidth: number;
|
|
6271
6677
|
ScrollHeight: number;
|
|
6678
|
+
AddEventListener(eventName: string, callback: ReactUnity.Helpers.Callback): (() => void);
|
|
6679
|
+
SetProperty(propertyName: string, value: any): void;
|
|
6680
|
+
Activate(): void;
|
|
6272
6681
|
Revive(): boolean;
|
|
6273
6682
|
Pool(): boolean;
|
|
6274
|
-
AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
|
|
6275
|
-
SetProperty(propertyName: string, value: any): void;
|
|
6276
6683
|
UpdateBackgroundGraphic(updateLayout: boolean, updateStyle: boolean): ReactUnity.UGUI.Internal.BorderAndBackground;
|
|
6277
6684
|
GetRelativePosition(x: number, y: number): UnityEngine.Vector2;
|
|
6278
6685
|
GetBoundingClientRect(): UnityEngine.Rect;
|
|
@@ -6310,11 +6717,8 @@ export declare namespace ReactUnity {
|
|
|
6310
6717
|
GetType(): System.Type;
|
|
6311
6718
|
ToString(): string;
|
|
6312
6719
|
}
|
|
6313
|
-
class
|
|
6314
|
-
constructor(
|
|
6315
|
-
Width: number;
|
|
6316
|
-
Height: number;
|
|
6317
|
-
ResponsiveElement: ReactUnity.UGUI.Behaviours.ResponsiveElement;
|
|
6720
|
+
class ContainerComponent {
|
|
6721
|
+
constructor(context: ReactUnity.UGUI.UGUIContext, tag: string);
|
|
6318
6722
|
GameObject: UnityEngine.GameObject;
|
|
6319
6723
|
RectTransform: UnityEngine.RectTransform;
|
|
6320
6724
|
Component: ReactUnity.UGUI.Behaviours.ReactElement;
|
|
@@ -6338,6 +6742,7 @@ export declare namespace ReactUnity {
|
|
|
6338
6742
|
Style: InlineStyleRemap;
|
|
6339
6743
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
6340
6744
|
CustomProperties: Record<string, any>;
|
|
6745
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
6341
6746
|
ParentIndex: number;
|
|
6342
6747
|
CurrentOrder: number;
|
|
6343
6748
|
Entering: boolean;
|
|
@@ -6365,8 +6770,8 @@ export declare namespace ReactUnity {
|
|
|
6365
6770
|
ScrollTop: number;
|
|
6366
6771
|
ScrollWidth: number;
|
|
6367
6772
|
ScrollHeight: number;
|
|
6368
|
-
Pool(): boolean;
|
|
6369
6773
|
Revive(): boolean;
|
|
6774
|
+
Pool(): boolean;
|
|
6370
6775
|
AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
|
|
6371
6776
|
SetProperty(propertyName: string, value: any): void;
|
|
6372
6777
|
UpdateBackgroundGraphic(updateLayout: boolean, updateStyle: boolean): ReactUnity.UGUI.Internal.BorderAndBackground;
|
|
@@ -6406,14 +6811,11 @@ export declare namespace ReactUnity {
|
|
|
6406
6811
|
GetType(): System.Type;
|
|
6407
6812
|
ToString(): string;
|
|
6408
6813
|
}
|
|
6409
|
-
class
|
|
6410
|
-
constructor(
|
|
6411
|
-
Text: any;
|
|
6814
|
+
class HostComponent {
|
|
6815
|
+
constructor(host: UnityEngine.RectTransform, context: ReactUnity.UGUI.UGUIContext);
|
|
6412
6816
|
Width: number;
|
|
6413
6817
|
Height: number;
|
|
6414
|
-
|
|
6415
|
-
Content: string;
|
|
6416
|
-
Set: ReactUnity.Styling.IconSet;
|
|
6818
|
+
ResponsiveElement: ReactUnity.UGUI.Behaviours.ResponsiveElement;
|
|
6417
6819
|
GameObject: UnityEngine.GameObject;
|
|
6418
6820
|
RectTransform: UnityEngine.RectTransform;
|
|
6419
6821
|
Component: ReactUnity.UGUI.Behaviours.ReactElement;
|
|
@@ -6437,6 +6839,7 @@ export declare namespace ReactUnity {
|
|
|
6437
6839
|
Style: InlineStyleRemap;
|
|
6438
6840
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
6439
6841
|
CustomProperties: Record<string, any>;
|
|
6842
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
6440
6843
|
ParentIndex: number;
|
|
6441
6844
|
CurrentOrder: number;
|
|
6442
6845
|
Entering: boolean;
|
|
@@ -6464,13 +6867,10 @@ export declare namespace ReactUnity {
|
|
|
6464
6867
|
ScrollTop: number;
|
|
6465
6868
|
ScrollWidth: number;
|
|
6466
6869
|
ScrollHeight: number;
|
|
6467
|
-
ApplyText(text: string): void;
|
|
6468
|
-
SetText(text: string): void;
|
|
6469
|
-
ApplySet(value: any): void;
|
|
6470
|
-
SetProperty(propertyName: string, value: any): void;
|
|
6471
|
-
Revive(): boolean;
|
|
6472
6870
|
Pool(): boolean;
|
|
6871
|
+
Revive(): boolean;
|
|
6473
6872
|
AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
|
|
6873
|
+
SetProperty(propertyName: string, value: any): void;
|
|
6474
6874
|
UpdateBackgroundGraphic(updateLayout: boolean, updateStyle: boolean): ReactUnity.UGUI.Internal.BorderAndBackground;
|
|
6475
6875
|
GetRelativePosition(x: number, y: number): UnityEngine.Vector2;
|
|
6476
6876
|
GetBoundingClientRect(): UnityEngine.Rect;
|
|
@@ -6508,11 +6908,14 @@ export declare namespace ReactUnity {
|
|
|
6508
6908
|
GetType(): System.Type;
|
|
6509
6909
|
ToString(): string;
|
|
6510
6910
|
}
|
|
6511
|
-
class
|
|
6512
|
-
constructor(context: ReactUnity.UGUI.UGUIContext, tag
|
|
6513
|
-
|
|
6514
|
-
|
|
6515
|
-
|
|
6911
|
+
class IconComponent {
|
|
6912
|
+
constructor(text: string, context: ReactUnity.UGUI.UGUIContext, tag: string);
|
|
6913
|
+
Text: any;
|
|
6914
|
+
Width: number;
|
|
6915
|
+
Height: number;
|
|
6916
|
+
Measurer: ReactUnity.UGUI.Measurers.TextMeasurer;
|
|
6917
|
+
Content: string;
|
|
6918
|
+
Set: ReactUnity.Styling.IconSet;
|
|
6516
6919
|
GameObject: UnityEngine.GameObject;
|
|
6517
6920
|
RectTransform: UnityEngine.RectTransform;
|
|
6518
6921
|
Component: ReactUnity.UGUI.Behaviours.ReactElement;
|
|
@@ -6536,6 +6939,7 @@ export declare namespace ReactUnity {
|
|
|
6536
6939
|
Style: InlineStyleRemap;
|
|
6537
6940
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
6538
6941
|
CustomProperties: Record<string, any>;
|
|
6942
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
6539
6943
|
ParentIndex: number;
|
|
6540
6944
|
CurrentOrder: number;
|
|
6541
6945
|
Entering: boolean;
|
|
@@ -6563,9 +6967,12 @@ export declare namespace ReactUnity {
|
|
|
6563
6967
|
ScrollTop: number;
|
|
6564
6968
|
ScrollWidth: number;
|
|
6565
6969
|
ScrollHeight: number;
|
|
6970
|
+
ApplyText(text: string): void;
|
|
6971
|
+
SetText(text: string): void;
|
|
6972
|
+
ApplySet(value: any): void;
|
|
6566
6973
|
SetProperty(propertyName: string, value: any): void;
|
|
6567
|
-
Pool(): boolean;
|
|
6568
6974
|
Revive(): boolean;
|
|
6975
|
+
Pool(): boolean;
|
|
6569
6976
|
AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
|
|
6570
6977
|
UpdateBackgroundGraphic(updateLayout: boolean, updateStyle: boolean): ReactUnity.UGUI.Internal.BorderAndBackground;
|
|
6571
6978
|
GetRelativePosition(x: number, y: number): UnityEngine.Vector2;
|
|
@@ -6604,7 +7011,104 @@ export declare namespace ReactUnity {
|
|
|
6604
7011
|
GetType(): System.Type;
|
|
6605
7012
|
ToString(): string;
|
|
6606
7013
|
}
|
|
6607
|
-
class
|
|
7014
|
+
class ImageComponent {
|
|
7015
|
+
constructor(context: ReactUnity.UGUI.UGUIContext, tag?: string);
|
|
7016
|
+
Image: UnityEngine.UI.Image;
|
|
7017
|
+
Replaced: ReactUnity.UGUI.BaseImageComponent_ReplacedImageHelper;
|
|
7018
|
+
Source: any;
|
|
7019
|
+
GameObject: UnityEngine.GameObject;
|
|
7020
|
+
RectTransform: UnityEngine.RectTransform;
|
|
7021
|
+
Component: ReactUnity.UGUI.Behaviours.ReactElement;
|
|
7022
|
+
BorderAndBackground: ReactUnity.UGUI.Internal.BorderAndBackground;
|
|
7023
|
+
OverflowMask: ReactUnity.UGUI.Internal.MaskAndImage;
|
|
7024
|
+
Selectable: UnityEngine.UI.Selectable;
|
|
7025
|
+
CanvasGroup: UnityEngine.CanvasGroup;
|
|
7026
|
+
Canvas: UnityEngine.Canvas;
|
|
7027
|
+
Container: UnityEngine.RectTransform;
|
|
7028
|
+
ClientWidth: number;
|
|
7029
|
+
ClientHeight: number;
|
|
7030
|
+
EventViewport: UnityEngine.RectTransform;
|
|
7031
|
+
ResolvedEventViewport: UnityEngine.RectTransform;
|
|
7032
|
+
Context: ReactUnity.UGUI.UGUIContext;
|
|
7033
|
+
Parent: ReactUnity.IContainerComponent;
|
|
7034
|
+
Data: ReactUnity.Helpers.WatchableObjectRecord;
|
|
7035
|
+
Layout: Facebook.Yoga.YogaNode;
|
|
7036
|
+
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
7037
|
+
StyleState: ReactUnity.Styling.StyleState;
|
|
7038
|
+
StateStyles: ReactUnity.Styling.StateStyles;
|
|
7039
|
+
Style: InlineStyleRemap;
|
|
7040
|
+
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
7041
|
+
CustomProperties: Record<string, any>;
|
|
7042
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
7043
|
+
ParentIndex: number;
|
|
7044
|
+
CurrentOrder: number;
|
|
7045
|
+
Entering: boolean;
|
|
7046
|
+
Leaving: boolean;
|
|
7047
|
+
UpdatedThisFrame: boolean;
|
|
7048
|
+
Destroyed: boolean;
|
|
7049
|
+
Tag: string;
|
|
7050
|
+
TextContent: string;
|
|
7051
|
+
PoolStack: System.Collections.Generic.Stack<ReactUnity.IPoolableComponent>;
|
|
7052
|
+
IsPseudoElement: boolean;
|
|
7053
|
+
ResolvedName: string;
|
|
7054
|
+
ClassName: string;
|
|
7055
|
+
ClassList: ReactUnity.Helpers.ClassList;
|
|
7056
|
+
Id: string;
|
|
7057
|
+
Name: string;
|
|
7058
|
+
RefId: number;
|
|
7059
|
+
InstanceId: number;
|
|
7060
|
+
IsContainer: boolean;
|
|
7061
|
+
Children: ReactUnity.IReactComponent[];
|
|
7062
|
+
BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
|
|
7063
|
+
AfterRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
|
|
7064
|
+
BeforePseudo: ReactUnity.IReactComponent;
|
|
7065
|
+
AfterPseudo: ReactUnity.IReactComponent;
|
|
7066
|
+
ScrollLeft: number;
|
|
7067
|
+
ScrollTop: number;
|
|
7068
|
+
ScrollWidth: number;
|
|
7069
|
+
ScrollHeight: number;
|
|
7070
|
+
SetProperty(propertyName: string, value: any): void;
|
|
7071
|
+
Pool(): boolean;
|
|
7072
|
+
Revive(): boolean;
|
|
7073
|
+
AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
|
|
7074
|
+
UpdateBackgroundGraphic(updateLayout: boolean, updateStyle: boolean): ReactUnity.UGUI.Internal.BorderAndBackground;
|
|
7075
|
+
GetRelativePosition(x: number, y: number): UnityEngine.Vector2;
|
|
7076
|
+
GetBoundingClientRect(): UnityEngine.Rect;
|
|
7077
|
+
GetComponent(type: System.Type): any;
|
|
7078
|
+
AddComponent(type: System.Type): any;
|
|
7079
|
+
UpdateOrder(prev: number, current: number): boolean;
|
|
7080
|
+
Update(): void;
|
|
7081
|
+
MarkForStyleResolving(recursive: boolean): void;
|
|
7082
|
+
Remove(): void;
|
|
7083
|
+
Destroy(recursive?: boolean): void;
|
|
7084
|
+
OnClassChange(): void;
|
|
7085
|
+
SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
|
|
7086
|
+
SetEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): void;
|
|
7087
|
+
FireEvent(eventName: string, arg: any): void;
|
|
7088
|
+
SetData(propertyName: string, value: any): void;
|
|
7089
|
+
SetCustomProperty(propertyName: string, value: any): void;
|
|
7090
|
+
ResolveStyle(recursive?: boolean): void;
|
|
7091
|
+
MarkForStyleResolvingWithSiblings(recursive: boolean): void;
|
|
7092
|
+
ApplyStyles(): void;
|
|
7093
|
+
ApplyLayoutStyles(): void;
|
|
7094
|
+
Matches(query: string): boolean;
|
|
7095
|
+
Closest(query: string): ReactUnity.IReactComponent;
|
|
7096
|
+
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
7097
|
+
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
7098
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
7099
|
+
AddBefore(): void;
|
|
7100
|
+
RemoveBefore(): void;
|
|
7101
|
+
AddAfter(): void;
|
|
7102
|
+
RemoveAfter(): void;
|
|
7103
|
+
RegisterChild(child: ReactUnity.IReactComponent, index?: number): void;
|
|
7104
|
+
UnregisterChild(child: ReactUnity.IReactComponent): void;
|
|
7105
|
+
Clear(): void;
|
|
7106
|
+
Equals(obj: any): boolean;
|
|
7107
|
+
GetHashCode(): number;
|
|
7108
|
+
GetType(): System.Type;
|
|
7109
|
+
ToString(): string;
|
|
7110
|
+
}
|
|
7111
|
+
class InputComponent {
|
|
6608
7112
|
constructor(text: string, context: ReactUnity.UGUI.UGUIContext);
|
|
6609
7113
|
Value: string;
|
|
6610
7114
|
Disabled: boolean;
|
|
@@ -6639,6 +7143,7 @@ export declare namespace ReactUnity {
|
|
|
6639
7143
|
Style: InlineStyleRemap;
|
|
6640
7144
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
6641
7145
|
CustomProperties: Record<string, any>;
|
|
7146
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
6642
7147
|
ParentIndex: number;
|
|
6643
7148
|
CurrentOrder: number;
|
|
6644
7149
|
Entering: boolean;
|
|
@@ -6735,6 +7240,7 @@ export declare namespace ReactUnity {
|
|
|
6735
7240
|
Style: InlineStyleRemap;
|
|
6736
7241
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
6737
7242
|
CustomProperties: Record<string, any>;
|
|
7243
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
6738
7244
|
ParentIndex: number;
|
|
6739
7245
|
CurrentOrder: number;
|
|
6740
7246
|
Entering: boolean;
|
|
@@ -6835,6 +7341,7 @@ export declare namespace ReactUnity {
|
|
|
6835
7341
|
Style: InlineStyleRemap;
|
|
6836
7342
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
6837
7343
|
CustomProperties: Record<string, any>;
|
|
7344
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
6838
7345
|
ParentIndex: number;
|
|
6839
7346
|
CurrentOrder: number;
|
|
6840
7347
|
Entering: boolean;
|
|
@@ -6931,6 +7438,7 @@ export declare namespace ReactUnity {
|
|
|
6931
7438
|
Style: InlineStyleRemap;
|
|
6932
7439
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
6933
7440
|
CustomProperties: Record<string, any>;
|
|
7441
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
6934
7442
|
ParentIndex: number;
|
|
6935
7443
|
CurrentOrder: number;
|
|
6936
7444
|
Entering: boolean;
|
|
@@ -7027,6 +7535,7 @@ export declare namespace ReactUnity {
|
|
|
7027
7535
|
Style: InlineStyleRemap;
|
|
7028
7536
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
7029
7537
|
CustomProperties: Record<string, any>;
|
|
7538
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
7030
7539
|
ParentIndex: number;
|
|
7031
7540
|
CurrentOrder: number;
|
|
7032
7541
|
Entering: boolean;
|
|
@@ -7123,6 +7632,7 @@ export declare namespace ReactUnity {
|
|
|
7123
7632
|
Style: InlineStyleRemap;
|
|
7124
7633
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
7125
7634
|
CustomProperties: Record<string, any>;
|
|
7635
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
7126
7636
|
ParentIndex: number;
|
|
7127
7637
|
CurrentOrder: number;
|
|
7128
7638
|
Entering: boolean;
|
|
@@ -7222,6 +7732,7 @@ export declare namespace ReactUnity {
|
|
|
7222
7732
|
Style: InlineStyleRemap;
|
|
7223
7733
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
7224
7734
|
CustomProperties: Record<string, any>;
|
|
7735
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
7225
7736
|
ParentIndex: number;
|
|
7226
7737
|
CurrentOrder: number;
|
|
7227
7738
|
Entering: boolean;
|
|
@@ -7320,6 +7831,7 @@ export declare namespace ReactUnity {
|
|
|
7320
7831
|
Style: InlineStyleRemap;
|
|
7321
7832
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
7322
7833
|
CustomProperties: Record<string, any>;
|
|
7834
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
7323
7835
|
ParentIndex: number;
|
|
7324
7836
|
CurrentOrder: number;
|
|
7325
7837
|
Entering: boolean;
|
|
@@ -7413,6 +7925,7 @@ export declare namespace ReactUnity {
|
|
|
7413
7925
|
Style: InlineStyleRemap;
|
|
7414
7926
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
7415
7927
|
CustomProperties: Record<string, any>;
|
|
7928
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
7416
7929
|
ParentIndex: number;
|
|
7417
7930
|
CurrentOrder: number;
|
|
7418
7931
|
Entering: boolean;
|
|
@@ -7514,6 +8027,7 @@ export declare namespace ReactUnity {
|
|
|
7514
8027
|
Style: InlineStyleRemap;
|
|
7515
8028
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
7516
8029
|
CustomProperties: Record<string, any>;
|
|
8030
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
7517
8031
|
ParentIndex: number;
|
|
7518
8032
|
CurrentOrder: number;
|
|
7519
8033
|
Entering: boolean;
|
|
@@ -7539,8 +8053,8 @@ export declare namespace ReactUnity {
|
|
|
7539
8053
|
AfterPseudo: ReactUnity.IReactComponent;
|
|
7540
8054
|
SetProperty(propertyName: string, value: any): void;
|
|
7541
8055
|
AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
|
|
7542
|
-
ScrollTo(left?: number, top?: number, smoothness?: number): void;
|
|
7543
|
-
ScrollBy(left?: number, top?: number, smoothness?: number): void;
|
|
8056
|
+
ScrollTo(left?: number | undefined, top?: number | undefined, smoothness?: number | undefined): void;
|
|
8057
|
+
ScrollBy(left?: number | undefined, top?: number | undefined, smoothness?: number | undefined): void;
|
|
7544
8058
|
Revive(): boolean;
|
|
7545
8059
|
Pool(): boolean;
|
|
7546
8060
|
UpdateBackgroundGraphic(updateLayout: boolean, updateStyle: boolean): ReactUnity.UGUI.Internal.BorderAndBackground;
|
|
@@ -7611,6 +8125,7 @@ export declare namespace ReactUnity {
|
|
|
7611
8125
|
Style: InlineStyleRemap;
|
|
7612
8126
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
7613
8127
|
CustomProperties: Record<string, any>;
|
|
8128
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
7614
8129
|
ParentIndex: number;
|
|
7615
8130
|
CurrentOrder: number;
|
|
7616
8131
|
Entering: boolean;
|
|
@@ -7707,6 +8222,7 @@ export declare namespace ReactUnity {
|
|
|
7707
8222
|
Style: InlineStyleRemap;
|
|
7708
8223
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
7709
8224
|
CustomProperties: Record<string, any>;
|
|
8225
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
7710
8226
|
ParentIndex: number;
|
|
7711
8227
|
CurrentOrder: number;
|
|
7712
8228
|
Entering: boolean;
|
|
@@ -7808,6 +8324,7 @@ export declare namespace ReactUnity {
|
|
|
7808
8324
|
Style: InlineStyleRemap;
|
|
7809
8325
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
7810
8326
|
CustomProperties: Record<string, any>;
|
|
8327
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
7811
8328
|
ParentIndex: number;
|
|
7812
8329
|
CurrentOrder: number;
|
|
7813
8330
|
Entering: boolean;
|
|
@@ -7910,6 +8427,7 @@ export declare namespace ReactUnity {
|
|
|
7910
8427
|
Style: InlineStyleRemap;
|
|
7911
8428
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
7912
8429
|
CustomProperties: Record<string, any>;
|
|
8430
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
7913
8431
|
ParentIndex: number;
|
|
7914
8432
|
CurrentOrder: number;
|
|
7915
8433
|
Entering: boolean;
|
|
@@ -8010,6 +8528,7 @@ export declare namespace ReactUnity {
|
|
|
8010
8528
|
Style: InlineStyleRemap;
|
|
8011
8529
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
8012
8530
|
CustomProperties: Record<string, any>;
|
|
8531
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
8013
8532
|
ParentIndex: number;
|
|
8014
8533
|
CurrentOrder: number;
|
|
8015
8534
|
Entering: boolean;
|
|
@@ -8104,6 +8623,7 @@ export declare namespace ReactUnity {
|
|
|
8104
8623
|
Style: InlineStyleRemap;
|
|
8105
8624
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
8106
8625
|
CustomProperties: Record<string, any>;
|
|
8626
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
8107
8627
|
ParentIndex: number;
|
|
8108
8628
|
CurrentOrder: number;
|
|
8109
8629
|
Entering: boolean;
|
|
@@ -8203,6 +8723,7 @@ export declare namespace ReactUnity {
|
|
|
8203
8723
|
Style: InlineStyleRemap;
|
|
8204
8724
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
8205
8725
|
CustomProperties: Record<string, any>;
|
|
8726
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
8206
8727
|
ParentIndex: number;
|
|
8207
8728
|
CurrentOrder: number;
|
|
8208
8729
|
Entering: boolean;
|
|
@@ -8289,6 +8810,7 @@ export declare namespace ReactUnity {
|
|
|
8289
8810
|
MediaProvider: ReactUnity.Styling.Rules.IMediaProvider;
|
|
8290
8811
|
Context: ReactUnity.ReactContext;
|
|
8291
8812
|
timer: ReactUnity.Scheduling.ITimer;
|
|
8813
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
8292
8814
|
useGUILayout: boolean;
|
|
8293
8815
|
runInEditMode: boolean;
|
|
8294
8816
|
enabled: boolean;
|
|
@@ -8410,6 +8932,7 @@ export declare namespace ReactUnity {
|
|
|
8410
8932
|
static defaultCreator: ((arg1: string, arg2: string, arg3: ReactUnity.UGUI.UGUIContext) => ReactUnity.UGUI.UGUIComponent);
|
|
8411
8933
|
static textCreator: ((arg1: string, arg2: string, arg3: ReactUnity.UGUI.UGUIContext) => ReactUnity.ITextComponent);
|
|
8412
8934
|
PlayAudio(clip: UnityEngine.AudioClip): void;
|
|
8935
|
+
CreateNativeObject(name: string, ...components: System.Type[]): UnityEngine.GameObject;
|
|
8413
8936
|
UpdateElementsRecursively(): void;
|
|
8414
8937
|
LateUpdateElementsRecursively(): void;
|
|
8415
8938
|
InsertStyle(style: string): ReactUnity.Styling.StyleSheet;
|
|
@@ -8480,6 +9003,7 @@ export declare namespace ReactUnity {
|
|
|
8480
9003
|
blockingMask: UnityEngine.LayerMask;
|
|
8481
9004
|
priority: number;
|
|
8482
9005
|
rootRaycaster: UnityEngine.EventSystems.BaseRaycaster;
|
|
9006
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
8483
9007
|
useGUILayout: boolean;
|
|
8484
9008
|
runInEditMode: boolean;
|
|
8485
9009
|
enabled: boolean;
|
|
@@ -8555,6 +9079,7 @@ export declare namespace ReactUnity {
|
|
|
8555
9079
|
constructor();
|
|
8556
9080
|
WatchedText: ReactUnity.UGUI.TextComponent;
|
|
8557
9081
|
LinkedText: ReactUnity.UGUI.TextComponent;
|
|
9082
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
8558
9083
|
useGUILayout: boolean;
|
|
8559
9084
|
runInEditMode: boolean;
|
|
8560
9085
|
enabled: boolean;
|
|
@@ -8624,6 +9149,7 @@ export declare namespace ReactUnity {
|
|
|
8624
9149
|
}
|
|
8625
9150
|
class PrefabTarget {
|
|
8626
9151
|
constructor();
|
|
9152
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
8627
9153
|
useGUILayout: boolean;
|
|
8628
9154
|
runInEditMode: boolean;
|
|
8629
9155
|
enabled: boolean;
|
|
@@ -8714,6 +9240,7 @@ export declare namespace ReactUnity {
|
|
|
8714
9240
|
Translate: ReactUnity.Types.YogaValue2;
|
|
8715
9241
|
TranslateZ: Facebook.Yoga.YogaValue;
|
|
8716
9242
|
PositionType: ReactUnity.Types.PositionType;
|
|
9243
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
8717
9244
|
useGUILayout: boolean;
|
|
8718
9245
|
runInEditMode: boolean;
|
|
8719
9246
|
enabled: boolean;
|
|
@@ -8786,6 +9313,7 @@ export declare namespace ReactUnity {
|
|
|
8786
9313
|
Layout: Facebook.Yoga.YogaNode;
|
|
8787
9314
|
Measurer: ReactUnity.UGUI.Measurers.ImageMeasurer;
|
|
8788
9315
|
Position: ReactUnity.Types.YogaValue2;
|
|
9316
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
8789
9317
|
useGUILayout: boolean;
|
|
8790
9318
|
runInEditMode: boolean;
|
|
8791
9319
|
enabled: boolean;
|
|
@@ -8855,6 +9383,7 @@ export declare namespace ReactUnity {
|
|
|
8855
9383
|
}
|
|
8856
9384
|
class ResponsiveElement {
|
|
8857
9385
|
constructor();
|
|
9386
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
8858
9387
|
useGUILayout: boolean;
|
|
8859
9388
|
runInEditMode: boolean;
|
|
8860
9389
|
enabled: boolean;
|
|
@@ -8929,6 +9458,7 @@ export declare namespace ReactUnity {
|
|
|
8929
9458
|
constructor();
|
|
8930
9459
|
Layout: Facebook.Yoga.YogaNode;
|
|
8931
9460
|
Direction: ReactUnity.Types.ScrollDirection;
|
|
9461
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
8932
9462
|
useGUILayout: boolean;
|
|
8933
9463
|
runInEditMode: boolean;
|
|
8934
9464
|
enabled: boolean;
|
|
@@ -9000,6 +9530,7 @@ export declare namespace ReactUnity {
|
|
|
9000
9530
|
class ScrollEventBubbling {
|
|
9001
9531
|
constructor();
|
|
9002
9532
|
EventTrigger: UnityEngine.EventSystems.EventTrigger;
|
|
9533
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
9003
9534
|
useGUILayout: boolean;
|
|
9004
9535
|
runInEditMode: boolean;
|
|
9005
9536
|
enabled: boolean;
|
|
@@ -9111,6 +9642,7 @@ export declare namespace ReactUnity {
|
|
|
9111
9642
|
preferredHeight: number;
|
|
9112
9643
|
flexibleHeight: number;
|
|
9113
9644
|
layoutPriority: number;
|
|
9645
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
9114
9646
|
useGUILayout: boolean;
|
|
9115
9647
|
runInEditMode: boolean;
|
|
9116
9648
|
enabled: boolean;
|
|
@@ -9134,8 +9666,8 @@ export declare namespace ReactUnity {
|
|
|
9134
9666
|
name: string;
|
|
9135
9667
|
hideFlags: UnityEngine.HideFlags;
|
|
9136
9668
|
OnScroll(data: UnityEngine.EventSystems.PointerEventData): void;
|
|
9137
|
-
ScrollBy(left?: number, top?: number, smoothness?: number): void;
|
|
9138
|
-
ScrollTo(left?: number, top?: number, smoothness?: number): void;
|
|
9669
|
+
ScrollBy(left?: number | undefined, top?: number | undefined, smoothness?: number | undefined): void;
|
|
9670
|
+
ScrollTo(left?: number | undefined, top?: number | undefined, smoothness?: number | undefined): void;
|
|
9139
9671
|
Rebuild(executing: UnityEngine.UI.CanvasUpdate): void;
|
|
9140
9672
|
LayoutComplete(): void;
|
|
9141
9673
|
GraphicUpdateComplete(): void;
|
|
@@ -9215,6 +9747,7 @@ export declare namespace ReactUnity {
|
|
|
9215
9747
|
namespace EventHandlers {
|
|
9216
9748
|
class BeginDragHandler {
|
|
9217
9749
|
constructor();
|
|
9750
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
9218
9751
|
useGUILayout: boolean;
|
|
9219
9752
|
runInEditMode: boolean;
|
|
9220
9753
|
enabled: boolean;
|
|
@@ -9286,6 +9819,7 @@ export declare namespace ReactUnity {
|
|
|
9286
9819
|
}
|
|
9287
9820
|
class CancelHandler {
|
|
9288
9821
|
constructor();
|
|
9822
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
9289
9823
|
useGUILayout: boolean;
|
|
9290
9824
|
runInEditMode: boolean;
|
|
9291
9825
|
enabled: boolean;
|
|
@@ -9357,6 +9891,7 @@ export declare namespace ReactUnity {
|
|
|
9357
9891
|
}
|
|
9358
9892
|
class DeselectHandler {
|
|
9359
9893
|
constructor();
|
|
9894
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
9360
9895
|
useGUILayout: boolean;
|
|
9361
9896
|
runInEditMode: boolean;
|
|
9362
9897
|
enabled: boolean;
|
|
@@ -9428,6 +9963,7 @@ export declare namespace ReactUnity {
|
|
|
9428
9963
|
}
|
|
9429
9964
|
class DragHandler {
|
|
9430
9965
|
constructor();
|
|
9966
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
9431
9967
|
useGUILayout: boolean;
|
|
9432
9968
|
runInEditMode: boolean;
|
|
9433
9969
|
enabled: boolean;
|
|
@@ -9499,6 +10035,7 @@ export declare namespace ReactUnity {
|
|
|
9499
10035
|
}
|
|
9500
10036
|
class DropHandler {
|
|
9501
10037
|
constructor();
|
|
10038
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
9502
10039
|
useGUILayout: boolean;
|
|
9503
10040
|
runInEditMode: boolean;
|
|
9504
10041
|
enabled: boolean;
|
|
@@ -9570,6 +10107,7 @@ export declare namespace ReactUnity {
|
|
|
9570
10107
|
}
|
|
9571
10108
|
class EndDragHandler {
|
|
9572
10109
|
constructor();
|
|
10110
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
9573
10111
|
useGUILayout: boolean;
|
|
9574
10112
|
runInEditMode: boolean;
|
|
9575
10113
|
enabled: boolean;
|
|
@@ -9642,6 +10180,7 @@ export declare namespace ReactUnity {
|
|
|
9642
10180
|
}
|
|
9643
10181
|
class KeyDownHandler {
|
|
9644
10182
|
constructor();
|
|
10183
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
9645
10184
|
useGUILayout: boolean;
|
|
9646
10185
|
runInEditMode: boolean;
|
|
9647
10186
|
enabled: boolean;
|
|
@@ -9713,7 +10252,7 @@ export declare namespace ReactUnity {
|
|
|
9713
10252
|
GetType(): System.Type;
|
|
9714
10253
|
}
|
|
9715
10254
|
class KeyEventData {
|
|
9716
|
-
constructor(eventSystem: UnityEngine.EventSystems.EventSystem, ctx:
|
|
10255
|
+
constructor(eventSystem: UnityEngine.EventSystems.EventSystem, ctx: any);
|
|
9717
10256
|
constructor(eventSystem: UnityEngine.EventSystems.EventSystem, inputSystem?: boolean);
|
|
9718
10257
|
currentInputModule: UnityEngine.EventSystems.BaseInputModule;
|
|
9719
10258
|
selectedObject: UnityEngine.GameObject;
|
|
@@ -9721,7 +10260,7 @@ export declare namespace ReactUnity {
|
|
|
9721
10260
|
key: string;
|
|
9722
10261
|
input: System.Type;
|
|
9723
10262
|
inputSystem: boolean;
|
|
9724
|
-
ctx:
|
|
10263
|
+
ctx: any;
|
|
9725
10264
|
Reset(): void;
|
|
9726
10265
|
Use(): void;
|
|
9727
10266
|
Equals(obj: any): boolean;
|
|
@@ -9731,6 +10270,7 @@ export declare namespace ReactUnity {
|
|
|
9731
10270
|
}
|
|
9732
10271
|
class MoveHandler {
|
|
9733
10272
|
constructor();
|
|
10273
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
9734
10274
|
useGUILayout: boolean;
|
|
9735
10275
|
runInEditMode: boolean;
|
|
9736
10276
|
enabled: boolean;
|
|
@@ -9802,6 +10342,7 @@ export declare namespace ReactUnity {
|
|
|
9802
10342
|
}
|
|
9803
10343
|
class PointerClickHandler {
|
|
9804
10344
|
constructor();
|
|
10345
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
9805
10346
|
useGUILayout: boolean;
|
|
9806
10347
|
runInEditMode: boolean;
|
|
9807
10348
|
enabled: boolean;
|
|
@@ -9873,6 +10414,7 @@ export declare namespace ReactUnity {
|
|
|
9873
10414
|
}
|
|
9874
10415
|
class PointerDownHandler {
|
|
9875
10416
|
constructor();
|
|
10417
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
9876
10418
|
useGUILayout: boolean;
|
|
9877
10419
|
runInEditMode: boolean;
|
|
9878
10420
|
enabled: boolean;
|
|
@@ -9944,6 +10486,7 @@ export declare namespace ReactUnity {
|
|
|
9944
10486
|
}
|
|
9945
10487
|
class PointerEnterHandler {
|
|
9946
10488
|
constructor();
|
|
10489
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
9947
10490
|
useGUILayout: boolean;
|
|
9948
10491
|
runInEditMode: boolean;
|
|
9949
10492
|
enabled: boolean;
|
|
@@ -10015,6 +10558,7 @@ export declare namespace ReactUnity {
|
|
|
10015
10558
|
}
|
|
10016
10559
|
class PointerExitHandler {
|
|
10017
10560
|
constructor();
|
|
10561
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
10018
10562
|
useGUILayout: boolean;
|
|
10019
10563
|
runInEditMode: boolean;
|
|
10020
10564
|
enabled: boolean;
|
|
@@ -10086,6 +10630,7 @@ export declare namespace ReactUnity {
|
|
|
10086
10630
|
}
|
|
10087
10631
|
class PointerMoveHandler {
|
|
10088
10632
|
constructor();
|
|
10633
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
10089
10634
|
useGUILayout: boolean;
|
|
10090
10635
|
runInEditMode: boolean;
|
|
10091
10636
|
enabled: boolean;
|
|
@@ -10158,6 +10703,7 @@ export declare namespace ReactUnity {
|
|
|
10158
10703
|
}
|
|
10159
10704
|
class PointerUpHandler {
|
|
10160
10705
|
constructor();
|
|
10706
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
10161
10707
|
useGUILayout: boolean;
|
|
10162
10708
|
runInEditMode: boolean;
|
|
10163
10709
|
enabled: boolean;
|
|
@@ -10229,6 +10775,7 @@ export declare namespace ReactUnity {
|
|
|
10229
10775
|
}
|
|
10230
10776
|
class PotentialDragHandler {
|
|
10231
10777
|
constructor();
|
|
10778
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
10232
10779
|
useGUILayout: boolean;
|
|
10233
10780
|
runInEditMode: boolean;
|
|
10234
10781
|
enabled: boolean;
|
|
@@ -10300,6 +10847,7 @@ export declare namespace ReactUnity {
|
|
|
10300
10847
|
}
|
|
10301
10848
|
class ResizeHandler {
|
|
10302
10849
|
constructor();
|
|
10850
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
10303
10851
|
useGUILayout: boolean;
|
|
10304
10852
|
runInEditMode: boolean;
|
|
10305
10853
|
enabled: boolean;
|
|
@@ -10384,6 +10932,7 @@ export declare namespace ReactUnity {
|
|
|
10384
10932
|
}
|
|
10385
10933
|
class ScrollHandler {
|
|
10386
10934
|
constructor();
|
|
10935
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
10387
10936
|
useGUILayout: boolean;
|
|
10388
10937
|
runInEditMode: boolean;
|
|
10389
10938
|
enabled: boolean;
|
|
@@ -10455,6 +11004,7 @@ export declare namespace ReactUnity {
|
|
|
10455
11004
|
}
|
|
10456
11005
|
class SelectHandler {
|
|
10457
11006
|
constructor();
|
|
11007
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
10458
11008
|
useGUILayout: boolean;
|
|
10459
11009
|
runInEditMode: boolean;
|
|
10460
11010
|
enabled: boolean;
|
|
@@ -10526,6 +11076,7 @@ export declare namespace ReactUnity {
|
|
|
10526
11076
|
}
|
|
10527
11077
|
class SubmitHandler {
|
|
10528
11078
|
constructor();
|
|
11079
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
10529
11080
|
useGUILayout: boolean;
|
|
10530
11081
|
runInEditMode: boolean;
|
|
10531
11082
|
enabled: boolean;
|
|
@@ -10597,6 +11148,7 @@ export declare namespace ReactUnity {
|
|
|
10597
11148
|
}
|
|
10598
11149
|
class UpdateSelectedHandler {
|
|
10599
11150
|
constructor();
|
|
11151
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
10600
11152
|
useGUILayout: boolean;
|
|
10601
11153
|
runInEditMode: boolean;
|
|
10602
11154
|
enabled: boolean;
|
|
@@ -10668,46 +11220,27 @@ export declare namespace ReactUnity {
|
|
|
10668
11220
|
}
|
|
10669
11221
|
}
|
|
10670
11222
|
namespace Internal {
|
|
10671
|
-
class
|
|
11223
|
+
class BorderAndBackground {
|
|
10672
11224
|
constructor();
|
|
10673
|
-
|
|
10674
|
-
|
|
10675
|
-
|
|
10676
|
-
|
|
10677
|
-
|
|
10678
|
-
|
|
10679
|
-
|
|
10680
|
-
|
|
10681
|
-
|
|
10682
|
-
|
|
10683
|
-
|
|
10684
|
-
|
|
10685
|
-
|
|
10686
|
-
|
|
10687
|
-
|
|
10688
|
-
|
|
10689
|
-
|
|
10690
|
-
|
|
10691
|
-
|
|
10692
|
-
material: UnityEngine.Material;
|
|
10693
|
-
minWidth: number;
|
|
10694
|
-
preferredWidth: number;
|
|
10695
|
-
flexibleWidth: number;
|
|
10696
|
-
minHeight: number;
|
|
10697
|
-
preferredHeight: number;
|
|
10698
|
-
flexibleHeight: number;
|
|
10699
|
-
layoutPriority: number;
|
|
10700
|
-
onCullStateChanged: UnityEngine.UI.MaskableGraphic_CullStateChangedEvent;
|
|
10701
|
-
maskable: boolean;
|
|
10702
|
-
isMaskingGraphic: boolean;
|
|
10703
|
-
color: UnityEngine.Color;
|
|
10704
|
-
raycastTarget: boolean;
|
|
10705
|
-
raycastPadding: UnityEngine.Vector4;
|
|
10706
|
-
depth: number;
|
|
10707
|
-
rectTransform: UnityEngine.RectTransform;
|
|
10708
|
-
canvas: UnityEngine.Canvas;
|
|
10709
|
-
canvasRenderer: UnityEngine.CanvasRenderer;
|
|
10710
|
-
defaultMaterial: UnityEngine.Material;
|
|
11225
|
+
Root: UnityEngine.RectTransform;
|
|
11226
|
+
BorderRoot: UnityEngine.RectTransform;
|
|
11227
|
+
BackgroundRoot: UnityEngine.RectTransform;
|
|
11228
|
+
ShadowRoot: UnityEngine.RectTransform;
|
|
11229
|
+
BgImage: UnityEngine.UI.RawImage;
|
|
11230
|
+
BorderGraphic: ReactUnity.UGUI.Shapes.WebBorder;
|
|
11231
|
+
OutlineGraphic: ReactUnity.UGUI.Shapes.WebBorder;
|
|
11232
|
+
BorderImage: ReactUnity.UGUI.Shapes.WebBorderImage;
|
|
11233
|
+
ShadowGraphics: ReactUnity.UGUI.Shapes.WebShadow[];
|
|
11234
|
+
BackgroundGraphics: ReactUnity.UGUI.Shapes.WebBackgroundImage[];
|
|
11235
|
+
MaskGraphics: ReactUnity.UGUI.Shapes.WebBackgroundImage[];
|
|
11236
|
+
LastMask: ReactUnity.UGUI.Shapes.WebBackgroundImage;
|
|
11237
|
+
BorderSize: ReactUnity.UGUI.Shapes.WebOutlineSizes;
|
|
11238
|
+
BorderColors: ReactUnity.UGUI.Shapes.WebOutlineColors;
|
|
11239
|
+
BorderStyles: ReactUnity.UGUI.Shapes.WebOutlineStyles;
|
|
11240
|
+
BlendMode: ReactUnity.Types.BackgroundBlendMode;
|
|
11241
|
+
BgColor: UnityEngine.Color;
|
|
11242
|
+
PointerEvents: ReactUnity.Types.PointerEvents;
|
|
11243
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
10711
11244
|
useGUILayout: boolean;
|
|
10712
11245
|
runInEditMode: boolean;
|
|
10713
11246
|
enabled: boolean;
|
|
@@ -10730,58 +11263,9 @@ export declare namespace ReactUnity {
|
|
|
10730
11263
|
particleSystem: UnityEngine.Component;
|
|
10731
11264
|
name: string;
|
|
10732
11265
|
hideFlags: UnityEngine.HideFlags;
|
|
10733
|
-
static
|
|
10734
|
-
|
|
10735
|
-
|
|
10736
|
-
static RepeatYProp: number;
|
|
10737
|
-
static AspectProp: number;
|
|
10738
|
-
Size: UnityEngine.Vector2;
|
|
10739
|
-
definition: ReactUnity.Types.ImageDefinition;
|
|
10740
|
-
Context: ReactUnity.ReactContext;
|
|
10741
|
-
backgroundSize: ReactUnity.Types.BackgroundSize;
|
|
10742
|
-
BackgroundPosition: ReactUnity.Types.YogaValue2;
|
|
10743
|
-
BackgroundRepeatX: ReactUnity.Types.BackgroundRepeat;
|
|
10744
|
-
BackgroundRepeatY: ReactUnity.Types.BackgroundRepeat;
|
|
10745
|
-
GetDefaultMaterial(): UnityEngine.Material;
|
|
10746
|
-
SetBackgroundColorAndImage(tint: UnityEngine.Color, image: ReactUnity.Types.ImageDefinition, blendMode?: ReactUnity.Types.BackgroundBlendMode): void;
|
|
10747
|
-
DisableSpriteOptimizations(): void;
|
|
10748
|
-
OnBeforeSerialize(): void;
|
|
10749
|
-
OnAfterDeserialize(): void;
|
|
10750
|
-
SetNativeSize(): void;
|
|
10751
|
-
CalculateLayoutInputHorizontal(): void;
|
|
10752
|
-
CalculateLayoutInputVertical(): void;
|
|
10753
|
-
IsRaycastLocationValid(screenPoint: UnityEngine.Vector2, eventCamera: UnityEngine.Camera): boolean;
|
|
10754
|
-
GetModifiedMaterial(baseMaterial: UnityEngine.Material): UnityEngine.Material;
|
|
10755
|
-
Cull(clipRect: UnityEngine.Rect, validRect: boolean): void;
|
|
10756
|
-
SetClipRect(clipRect: UnityEngine.Rect, validRect: boolean): void;
|
|
10757
|
-
SetClipSoftness(clipSoftness: UnityEngine.Vector2): void;
|
|
10758
|
-
ParentMaskStateChanged(): void;
|
|
10759
|
-
RecalculateClipping(): void;
|
|
10760
|
-
RecalculateMasking(): void;
|
|
10761
|
-
SetAllDirty(): void;
|
|
10762
|
-
SetLayoutDirty(): void;
|
|
10763
|
-
SetVerticesDirty(): void;
|
|
10764
|
-
SetMaterialDirty(): void;
|
|
10765
|
-
SetRaycastDirty(): void;
|
|
10766
|
-
OnCullingChanged(): void;
|
|
10767
|
-
Rebuild(update: UnityEngine.UI.CanvasUpdate): void;
|
|
10768
|
-
LayoutComplete(): void;
|
|
10769
|
-
GraphicUpdateComplete(): void;
|
|
10770
|
-
OnRebuildRequested(): void;
|
|
10771
|
-
Raycast(sp: UnityEngine.Vector2, eventCamera: UnityEngine.Camera): boolean;
|
|
10772
|
-
PixelAdjustPoint(point: UnityEngine.Vector2): UnityEngine.Vector2;
|
|
10773
|
-
GetPixelAdjustedRect(): UnityEngine.Rect;
|
|
10774
|
-
CrossFadeColor(targetColor: UnityEngine.Color, duration: number, ignoreTimeScale: boolean, useAlpha: boolean): void;
|
|
10775
|
-
CrossFadeColor(targetColor: UnityEngine.Color, duration: number, ignoreTimeScale: boolean, useAlpha: boolean, useRGB: boolean): void;
|
|
10776
|
-
CrossFadeAlpha(alpha: number, duration: number, ignoreTimeScale: boolean): void;
|
|
10777
|
-
RegisterDirtyLayoutCallback(action: (() => void)): void;
|
|
10778
|
-
UnregisterDirtyLayoutCallback(action: (() => void)): void;
|
|
10779
|
-
RegisterDirtyVerticesCallback(action: (() => void)): void;
|
|
10780
|
-
UnregisterDirtyVerticesCallback(action: (() => void)): void;
|
|
10781
|
-
RegisterDirtyMaterialCallback(action: (() => void)): void;
|
|
10782
|
-
UnregisterDirtyMaterialCallback(action: (() => void)): void;
|
|
10783
|
-
IsActive(): boolean;
|
|
10784
|
-
IsDestroyed(): boolean;
|
|
11266
|
+
static Create(go: UnityEngine.GameObject, comp: ReactUnity.UGUI.UGUIComponent, setContainer: ((obj: UnityEngine.RectTransform) => void)): ReactUnity.UGUI.Internal.BorderAndBackground;
|
|
11267
|
+
UpdateStyle(style: ReactUnity.Styling.NodeStyle): void;
|
|
11268
|
+
UpdateLayout(layout: Facebook.Yoga.YogaNode): void;
|
|
10785
11269
|
IsInvoking(): boolean;
|
|
10786
11270
|
CancelInvoke(): void;
|
|
10787
11271
|
Invoke(methodName: string, time: number): void;
|
|
@@ -10827,44 +11311,9 @@ export declare namespace ReactUnity {
|
|
|
10827
11311
|
ToString(): string;
|
|
10828
11312
|
GetType(): System.Type;
|
|
10829
11313
|
}
|
|
10830
|
-
class
|
|
11314
|
+
class MaskAndImage {
|
|
10831
11315
|
constructor();
|
|
10832
|
-
|
|
10833
|
-
sprite: UnityEngine.Sprite;
|
|
10834
|
-
overrideSprite: UnityEngine.Sprite;
|
|
10835
|
-
type: UnityEngine.UI.Image_Type;
|
|
10836
|
-
preserveAspect: boolean;
|
|
10837
|
-
fillCenter: boolean;
|
|
10838
|
-
fillMethod: UnityEngine.UI.Image_FillMethod;
|
|
10839
|
-
fillAmount: number;
|
|
10840
|
-
fillClockwise: boolean;
|
|
10841
|
-
fillOrigin: number;
|
|
10842
|
-
eventAlphaThreshold: number;
|
|
10843
|
-
alphaHitTestMinimumThreshold: number;
|
|
10844
|
-
useSpriteMesh: boolean;
|
|
10845
|
-
mainTexture: UnityEngine.Texture;
|
|
10846
|
-
hasBorder: boolean;
|
|
10847
|
-
pixelsPerUnitMultiplier: number;
|
|
10848
|
-
pixelsPerUnit: number;
|
|
10849
|
-
material: UnityEngine.Material;
|
|
10850
|
-
minWidth: number;
|
|
10851
|
-
preferredWidth: number;
|
|
10852
|
-
flexibleWidth: number;
|
|
10853
|
-
minHeight: number;
|
|
10854
|
-
preferredHeight: number;
|
|
10855
|
-
flexibleHeight: number;
|
|
10856
|
-
layoutPriority: number;
|
|
10857
|
-
onCullStateChanged: UnityEngine.UI.MaskableGraphic_CullStateChangedEvent;
|
|
10858
|
-
maskable: boolean;
|
|
10859
|
-
isMaskingGraphic: boolean;
|
|
10860
|
-
color: UnityEngine.Color;
|
|
10861
|
-
raycastTarget: boolean;
|
|
10862
|
-
raycastPadding: UnityEngine.Vector4;
|
|
10863
|
-
depth: number;
|
|
10864
|
-
rectTransform: UnityEngine.RectTransform;
|
|
10865
|
-
canvas: UnityEngine.Canvas;
|
|
10866
|
-
canvasRenderer: UnityEngine.CanvasRenderer;
|
|
10867
|
-
defaultMaterial: UnityEngine.Material;
|
|
11316
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
10868
11317
|
useGUILayout: boolean;
|
|
10869
11318
|
runInEditMode: boolean;
|
|
10870
11319
|
enabled: boolean;
|
|
@@ -10887,53 +11336,10 @@ export declare namespace ReactUnity {
|
|
|
10887
11336
|
particleSystem: UnityEngine.Component;
|
|
10888
11337
|
name: string;
|
|
10889
11338
|
hideFlags: UnityEngine.HideFlags;
|
|
10890
|
-
|
|
10891
|
-
|
|
10892
|
-
|
|
10893
|
-
|
|
10894
|
-
BorderSize: UnityEngine.Vector4;
|
|
10895
|
-
InsetBorder: ReactUnity.UGUI.Internal.RoundedBorderMaskImage;
|
|
10896
|
-
BorderRadius: ReactUnity.Types.YogaValue2[];
|
|
10897
|
-
Size: UnityEngine.Vector4;
|
|
10898
|
-
GetDefaultMaterial(): UnityEngine.Material;
|
|
10899
|
-
DisableSpriteOptimizations(): void;
|
|
10900
|
-
OnBeforeSerialize(): void;
|
|
10901
|
-
OnAfterDeserialize(): void;
|
|
10902
|
-
SetNativeSize(): void;
|
|
10903
|
-
CalculateLayoutInputHorizontal(): void;
|
|
10904
|
-
CalculateLayoutInputVertical(): void;
|
|
10905
|
-
IsRaycastLocationValid(screenPoint: UnityEngine.Vector2, eventCamera: UnityEngine.Camera): boolean;
|
|
10906
|
-
GetModifiedMaterial(baseMaterial: UnityEngine.Material): UnityEngine.Material;
|
|
10907
|
-
Cull(clipRect: UnityEngine.Rect, validRect: boolean): void;
|
|
10908
|
-
SetClipRect(clipRect: UnityEngine.Rect, validRect: boolean): void;
|
|
10909
|
-
SetClipSoftness(clipSoftness: UnityEngine.Vector2): void;
|
|
10910
|
-
ParentMaskStateChanged(): void;
|
|
10911
|
-
RecalculateClipping(): void;
|
|
10912
|
-
RecalculateMasking(): void;
|
|
10913
|
-
SetAllDirty(): void;
|
|
10914
|
-
SetLayoutDirty(): void;
|
|
10915
|
-
SetVerticesDirty(): void;
|
|
10916
|
-
SetMaterialDirty(): void;
|
|
10917
|
-
SetRaycastDirty(): void;
|
|
10918
|
-
OnCullingChanged(): void;
|
|
10919
|
-
Rebuild(update: UnityEngine.UI.CanvasUpdate): void;
|
|
10920
|
-
LayoutComplete(): void;
|
|
10921
|
-
GraphicUpdateComplete(): void;
|
|
10922
|
-
OnRebuildRequested(): void;
|
|
10923
|
-
Raycast(sp: UnityEngine.Vector2, eventCamera: UnityEngine.Camera): boolean;
|
|
10924
|
-
PixelAdjustPoint(point: UnityEngine.Vector2): UnityEngine.Vector2;
|
|
10925
|
-
GetPixelAdjustedRect(): UnityEngine.Rect;
|
|
10926
|
-
CrossFadeColor(targetColor: UnityEngine.Color, duration: number, ignoreTimeScale: boolean, useAlpha: boolean): void;
|
|
10927
|
-
CrossFadeColor(targetColor: UnityEngine.Color, duration: number, ignoreTimeScale: boolean, useAlpha: boolean, useRGB: boolean): void;
|
|
10928
|
-
CrossFadeAlpha(alpha: number, duration: number, ignoreTimeScale: boolean): void;
|
|
10929
|
-
RegisterDirtyLayoutCallback(action: (() => void)): void;
|
|
10930
|
-
UnregisterDirtyLayoutCallback(action: (() => void)): void;
|
|
10931
|
-
RegisterDirtyVerticesCallback(action: (() => void)): void;
|
|
10932
|
-
UnregisterDirtyVerticesCallback(action: (() => void)): void;
|
|
10933
|
-
RegisterDirtyMaterialCallback(action: (() => void)): void;
|
|
10934
|
-
UnregisterDirtyMaterialCallback(action: (() => void)): void;
|
|
10935
|
-
IsActive(): boolean;
|
|
10936
|
-
IsDestroyed(): boolean;
|
|
11339
|
+
Mask: UnityEngine.UI.Mask;
|
|
11340
|
+
Graphic: UnityEngine.UI.Graphic;
|
|
11341
|
+
Image: ReactUnity.UGUI.Shapes.WebRect;
|
|
11342
|
+
static Create(go: UnityEngine.GameObject, ctx: ReactUnity.ReactContext): ReactUnity.UGUI.Internal.MaskAndImage;
|
|
10937
11343
|
IsInvoking(): boolean;
|
|
10938
11344
|
CancelInvoke(): void;
|
|
10939
11345
|
Invoke(methodName: string, time: number): void;
|
|
@@ -10979,16 +11385,22 @@ export declare namespace ReactUnity {
|
|
|
10979
11385
|
ToString(): string;
|
|
10980
11386
|
GetType(): System.Type;
|
|
10981
11387
|
}
|
|
10982
|
-
class
|
|
11388
|
+
class UGUIRevertCalculator {
|
|
11389
|
+
constructor(cmp: ReactUnity.UGUI.UGUIComponent);
|
|
11390
|
+
GetRevertValue(prop: ReactUnity.Styling.IStyleProperty, style: ReactUnity.Styling.NodeStyle, converter: ReactUnity.Styling.Converters.IStyleConverter): any;
|
|
11391
|
+
Equals(obj: any): boolean;
|
|
11392
|
+
GetHashCode(): number;
|
|
11393
|
+
GetType(): System.Type;
|
|
11394
|
+
ToString(): string;
|
|
11395
|
+
}
|
|
11396
|
+
}
|
|
11397
|
+
namespace Measurers {
|
|
11398
|
+
class ImageMeasurer {
|
|
10983
11399
|
constructor();
|
|
10984
|
-
|
|
10985
|
-
|
|
10986
|
-
|
|
10987
|
-
|
|
10988
|
-
LastMask: ReactUnity.UGUI.Internal.BackgroundImage;
|
|
10989
|
-
BlendMode: ReactUnity.Types.BackgroundBlendMode;
|
|
10990
|
-
BgColor: UnityEngine.Color;
|
|
10991
|
-
PointerEvents: ReactUnity.Types.PointerEvents;
|
|
11400
|
+
FitMode: ReactUnity.Types.ObjectFit;
|
|
11401
|
+
Sprite: UnityEngine.Sprite;
|
|
11402
|
+
Texture: UnityEngine.Texture;
|
|
11403
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
10992
11404
|
useGUILayout: boolean;
|
|
10993
11405
|
runInEditMode: boolean;
|
|
10994
11406
|
enabled: boolean;
|
|
@@ -11011,16 +11423,10 @@ export declare namespace ReactUnity {
|
|
|
11011
11423
|
particleSystem: UnityEngine.Component;
|
|
11012
11424
|
name: string;
|
|
11013
11425
|
hideFlags: UnityEngine.HideFlags;
|
|
11014
|
-
|
|
11015
|
-
|
|
11016
|
-
|
|
11017
|
-
|
|
11018
|
-
BackgroundGraphics: ReactUnity.UGUI.Internal.BackgroundImage[];
|
|
11019
|
-
MaskGraphics: ReactUnity.UGUI.Internal.BackgroundImage[];
|
|
11020
|
-
MaskRoot: UnityEngine.RectTransform;
|
|
11021
|
-
static Create(go: UnityEngine.GameObject, comp: ReactUnity.UGUI.UGUIComponent, setContainer: ((obj: UnityEngine.RectTransform) => void)): ReactUnity.UGUI.Internal.BorderAndBackground;
|
|
11022
|
-
UpdateStyle(style: ReactUnity.Styling.NodeStyle): void;
|
|
11023
|
-
UpdateLayout(layout: Facebook.Yoga.YogaNode): void;
|
|
11426
|
+
Layout: Facebook.Yoga.YogaNode;
|
|
11427
|
+
Context: ReactUnity.UGUI.UGUIContext;
|
|
11428
|
+
MarkDirty(): void;
|
|
11429
|
+
Measure(node: Facebook.Yoga.YogaNode, width: number, wm: Facebook.Yoga.YogaMeasureMode, height: number, hm: Facebook.Yoga.YogaMeasureMode): Facebook.Yoga.YogaSize;
|
|
11024
11430
|
IsInvoking(): boolean;
|
|
11025
11431
|
CancelInvoke(): void;
|
|
11026
11432
|
Invoke(methodName: string, time: number): void;
|
|
@@ -11066,44 +11472,9 @@ export declare namespace ReactUnity {
|
|
|
11066
11472
|
ToString(): string;
|
|
11067
11473
|
GetType(): System.Type;
|
|
11068
11474
|
}
|
|
11069
|
-
class
|
|
11475
|
+
class IntrinsicMeasurer {
|
|
11070
11476
|
constructor();
|
|
11071
|
-
|
|
11072
|
-
sprite: UnityEngine.Sprite;
|
|
11073
|
-
overrideSprite: UnityEngine.Sprite;
|
|
11074
|
-
type: UnityEngine.UI.Image_Type;
|
|
11075
|
-
preserveAspect: boolean;
|
|
11076
|
-
fillCenter: boolean;
|
|
11077
|
-
fillMethod: UnityEngine.UI.Image_FillMethod;
|
|
11078
|
-
fillAmount: number;
|
|
11079
|
-
fillClockwise: boolean;
|
|
11080
|
-
fillOrigin: number;
|
|
11081
|
-
eventAlphaThreshold: number;
|
|
11082
|
-
alphaHitTestMinimumThreshold: number;
|
|
11083
|
-
useSpriteMesh: boolean;
|
|
11084
|
-
mainTexture: UnityEngine.Texture;
|
|
11085
|
-
hasBorder: boolean;
|
|
11086
|
-
pixelsPerUnitMultiplier: number;
|
|
11087
|
-
pixelsPerUnit: number;
|
|
11088
|
-
material: UnityEngine.Material;
|
|
11089
|
-
minWidth: number;
|
|
11090
|
-
preferredWidth: number;
|
|
11091
|
-
flexibleWidth: number;
|
|
11092
|
-
minHeight: number;
|
|
11093
|
-
preferredHeight: number;
|
|
11094
|
-
flexibleHeight: number;
|
|
11095
|
-
layoutPriority: number;
|
|
11096
|
-
onCullStateChanged: UnityEngine.UI.MaskableGraphic_CullStateChangedEvent;
|
|
11097
|
-
maskable: boolean;
|
|
11098
|
-
isMaskingGraphic: boolean;
|
|
11099
|
-
color: UnityEngine.Color;
|
|
11100
|
-
raycastTarget: boolean;
|
|
11101
|
-
raycastPadding: UnityEngine.Vector4;
|
|
11102
|
-
depth: number;
|
|
11103
|
-
rectTransform: UnityEngine.RectTransform;
|
|
11104
|
-
canvas: UnityEngine.Canvas;
|
|
11105
|
-
canvasRenderer: UnityEngine.CanvasRenderer;
|
|
11106
|
-
defaultMaterial: UnityEngine.Material;
|
|
11477
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
11107
11478
|
useGUILayout: boolean;
|
|
11108
11479
|
runInEditMode: boolean;
|
|
11109
11480
|
enabled: boolean;
|
|
@@ -11126,47 +11497,9 @@ export declare namespace ReactUnity {
|
|
|
11126
11497
|
particleSystem: UnityEngine.Component;
|
|
11127
11498
|
name: string;
|
|
11128
11499
|
hideFlags: UnityEngine.HideFlags;
|
|
11129
|
-
|
|
11130
|
-
|
|
11131
|
-
|
|
11132
|
-
Size: UnityEngine.Vector4;
|
|
11133
|
-
GetDefaultMaterial(): UnityEngine.Material;
|
|
11134
|
-
DisableSpriteOptimizations(): void;
|
|
11135
|
-
OnBeforeSerialize(): void;
|
|
11136
|
-
OnAfterDeserialize(): void;
|
|
11137
|
-
SetNativeSize(): void;
|
|
11138
|
-
CalculateLayoutInputHorizontal(): void;
|
|
11139
|
-
CalculateLayoutInputVertical(): void;
|
|
11140
|
-
IsRaycastLocationValid(screenPoint: UnityEngine.Vector2, eventCamera: UnityEngine.Camera): boolean;
|
|
11141
|
-
GetModifiedMaterial(baseMaterial: UnityEngine.Material): UnityEngine.Material;
|
|
11142
|
-
Cull(clipRect: UnityEngine.Rect, validRect: boolean): void;
|
|
11143
|
-
SetClipRect(clipRect: UnityEngine.Rect, validRect: boolean): void;
|
|
11144
|
-
SetClipSoftness(clipSoftness: UnityEngine.Vector2): void;
|
|
11145
|
-
ParentMaskStateChanged(): void;
|
|
11146
|
-
RecalculateClipping(): void;
|
|
11147
|
-
RecalculateMasking(): void;
|
|
11148
|
-
SetAllDirty(): void;
|
|
11149
|
-
SetLayoutDirty(): void;
|
|
11150
|
-
SetVerticesDirty(): void;
|
|
11151
|
-
SetMaterialDirty(): void;
|
|
11152
|
-
SetRaycastDirty(): void;
|
|
11153
|
-
OnCullingChanged(): void;
|
|
11154
|
-
Rebuild(update: UnityEngine.UI.CanvasUpdate): void;
|
|
11155
|
-
LayoutComplete(): void;
|
|
11156
|
-
GraphicUpdateComplete(): void;
|
|
11157
|
-
OnRebuildRequested(): void;
|
|
11158
|
-
Raycast(sp: UnityEngine.Vector2, eventCamera: UnityEngine.Camera): boolean;
|
|
11159
|
-
PixelAdjustPoint(point: UnityEngine.Vector2): UnityEngine.Vector2;
|
|
11160
|
-
GetPixelAdjustedRect(): UnityEngine.Rect;
|
|
11161
|
-
CrossFadeColor(targetColor: UnityEngine.Color, duration: number, ignoreTimeScale: boolean, useAlpha: boolean): void;
|
|
11162
|
-
CrossFadeColor(targetColor: UnityEngine.Color, duration: number, ignoreTimeScale: boolean, useAlpha: boolean, useRGB: boolean): void;
|
|
11163
|
-
CrossFadeAlpha(alpha: number, duration: number, ignoreTimeScale: boolean): void;
|
|
11164
|
-
RegisterDirtyLayoutCallback(action: (() => void)): void;
|
|
11165
|
-
UnregisterDirtyLayoutCallback(action: (() => void)): void;
|
|
11166
|
-
RegisterDirtyVerticesCallback(action: (() => void)): void;
|
|
11167
|
-
UnregisterDirtyVerticesCallback(action: (() => void)): void;
|
|
11168
|
-
RegisterDirtyMaterialCallback(action: (() => void)): void;
|
|
11169
|
-
UnregisterDirtyMaterialCallback(action: (() => void)): void;
|
|
11500
|
+
Layout: Facebook.Yoga.YogaNode;
|
|
11501
|
+
Measure(node: Facebook.Yoga.YogaNode, width: number, widthMode: Facebook.Yoga.YogaMeasureMode, height: number, heightMode: Facebook.Yoga.YogaMeasureMode): Facebook.Yoga.YogaSize;
|
|
11502
|
+
static NoopMeasure(node: Facebook.Yoga.YogaNode, width: number, widthMode: Facebook.Yoga.YogaMeasureMode, height: number, heightMode: Facebook.Yoga.YogaMeasureMode): Facebook.Yoga.YogaSize;
|
|
11170
11503
|
IsActive(): boolean;
|
|
11171
11504
|
IsDestroyed(): boolean;
|
|
11172
11505
|
IsInvoking(): boolean;
|
|
@@ -11214,8 +11547,9 @@ export declare namespace ReactUnity {
|
|
|
11214
11547
|
ToString(): string;
|
|
11215
11548
|
GetType(): System.Type;
|
|
11216
11549
|
}
|
|
11217
|
-
class
|
|
11550
|
+
class TextMeasurer {
|
|
11218
11551
|
constructor();
|
|
11552
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
11219
11553
|
useGUILayout: boolean;
|
|
11220
11554
|
runInEditMode: boolean;
|
|
11221
11555
|
enabled: boolean;
|
|
@@ -11238,10 +11572,9 @@ export declare namespace ReactUnity {
|
|
|
11238
11572
|
particleSystem: UnityEngine.Component;
|
|
11239
11573
|
name: string;
|
|
11240
11574
|
hideFlags: UnityEngine.HideFlags;
|
|
11241
|
-
|
|
11242
|
-
|
|
11243
|
-
|
|
11244
|
-
static Create(go: UnityEngine.GameObject, ctx: ReactUnity.ReactContext): ReactUnity.UGUI.Internal.MaskAndImage;
|
|
11575
|
+
Layout: Facebook.Yoga.YogaNode;
|
|
11576
|
+
Context: ReactUnity.UGUI.UGUIContext;
|
|
11577
|
+
Measure(node: Facebook.Yoga.YogaNode, width: number, widthMode: Facebook.Yoga.YogaMeasureMode, height: number, heightMode: Facebook.Yoga.YogaMeasureMode): Facebook.Yoga.YogaSize;
|
|
11245
11578
|
IsInvoking(): boolean;
|
|
11246
11579
|
CancelInvoke(): void;
|
|
11247
11580
|
Invoke(methodName: string, time: number): void;
|
|
@@ -11287,8 +11620,23 @@ export declare namespace ReactUnity {
|
|
|
11287
11620
|
ToString(): string;
|
|
11288
11621
|
GetType(): System.Type;
|
|
11289
11622
|
}
|
|
11290
|
-
|
|
11623
|
+
}
|
|
11624
|
+
namespace Shapes {
|
|
11625
|
+
class RoundedCornerUnitPositionData {
|
|
11626
|
+
TLUnitPositions: UnityEngine.Vector2[];
|
|
11627
|
+
TRUnitPositions: UnityEngine.Vector2[];
|
|
11628
|
+
BRUnitPositions: UnityEngine.Vector2[];
|
|
11629
|
+
BLUnitPositions: UnityEngine.Vector2[];
|
|
11630
|
+
Equals(obj: any): boolean;
|
|
11631
|
+
GetHashCode(): number;
|
|
11632
|
+
ToString(): string;
|
|
11633
|
+
GetType(): System.Type;
|
|
11634
|
+
}
|
|
11635
|
+
class WebBackgroundImage {
|
|
11291
11636
|
constructor();
|
|
11637
|
+
Size: UnityEngine.Vector2;
|
|
11638
|
+
Definition: ReactUnity.Types.ImageDefinition;
|
|
11639
|
+
BackgroundSize: ReactUnity.Types.BackgroundSize;
|
|
11292
11640
|
materialForRendering: UnityEngine.Material;
|
|
11293
11641
|
sprite: UnityEngine.Sprite;
|
|
11294
11642
|
overrideSprite: UnityEngine.Sprite;
|
|
@@ -11325,6 +11673,7 @@ export declare namespace ReactUnity {
|
|
|
11325
11673
|
canvas: UnityEngine.Canvas;
|
|
11326
11674
|
canvasRenderer: UnityEngine.CanvasRenderer;
|
|
11327
11675
|
defaultMaterial: UnityEngine.Material;
|
|
11676
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
11328
11677
|
useGUILayout: boolean;
|
|
11329
11678
|
runInEditMode: boolean;
|
|
11330
11679
|
enabled: boolean;
|
|
@@ -11347,9 +11696,11 @@ export declare namespace ReactUnity {
|
|
|
11347
11696
|
particleSystem: UnityEngine.Component;
|
|
11348
11697
|
name: string;
|
|
11349
11698
|
hideFlags: UnityEngine.HideFlags;
|
|
11350
|
-
|
|
11351
|
-
|
|
11352
|
-
|
|
11699
|
+
Context: ReactUnity.ReactContext;
|
|
11700
|
+
BackgroundPosition: ReactUnity.Types.YogaValue2;
|
|
11701
|
+
BackgroundRepeatX: ReactUnity.Types.BackgroundRepeat;
|
|
11702
|
+
BackgroundRepeatY: ReactUnity.Types.BackgroundRepeat;
|
|
11703
|
+
SetBackgroundColorAndImage(tint: UnityEngine.Color, image: ReactUnity.Types.ImageDefinition, blendMode?: ReactUnity.Types.BackgroundBlendMode): void;
|
|
11353
11704
|
DisableSpriteOptimizations(): void;
|
|
11354
11705
|
OnBeforeSerialize(): void;
|
|
11355
11706
|
OnAfterDeserialize(): void;
|
|
@@ -11433,13 +11784,27 @@ export declare namespace ReactUnity {
|
|
|
11433
11784
|
ToString(): string;
|
|
11434
11785
|
GetType(): System.Type;
|
|
11435
11786
|
}
|
|
11436
|
-
|
|
11437
|
-
namespace Measurers {
|
|
11438
|
-
class ImageMeasurer {
|
|
11787
|
+
class WebBorder {
|
|
11439
11788
|
constructor();
|
|
11440
|
-
|
|
11441
|
-
|
|
11442
|
-
|
|
11789
|
+
Rounding: ReactUnity.UGUI.Shapes.WebRoundingProperties;
|
|
11790
|
+
Border: ReactUnity.UGUI.Shapes.WebOutlineProperties;
|
|
11791
|
+
InnerRounding: ReactUnity.UGUI.Shapes.WebRoundingProperties;
|
|
11792
|
+
InsetBorder: ReactUnity.UGUI.Shapes.WebRect;
|
|
11793
|
+
mainTexture: UnityEngine.Texture;
|
|
11794
|
+
onCullStateChanged: UnityEngine.UI.MaskableGraphic_CullStateChangedEvent;
|
|
11795
|
+
maskable: boolean;
|
|
11796
|
+
isMaskingGraphic: boolean;
|
|
11797
|
+
color: UnityEngine.Color;
|
|
11798
|
+
raycastTarget: boolean;
|
|
11799
|
+
raycastPadding: UnityEngine.Vector4;
|
|
11800
|
+
depth: number;
|
|
11801
|
+
rectTransform: UnityEngine.RectTransform;
|
|
11802
|
+
canvas: UnityEngine.Canvas;
|
|
11803
|
+
canvasRenderer: UnityEngine.CanvasRenderer;
|
|
11804
|
+
defaultMaterial: UnityEngine.Material;
|
|
11805
|
+
material: UnityEngine.Material;
|
|
11806
|
+
materialForRendering: UnityEngine.Material;
|
|
11807
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
11443
11808
|
useGUILayout: boolean;
|
|
11444
11809
|
runInEditMode: boolean;
|
|
11445
11810
|
enabled: boolean;
|
|
@@ -11462,10 +11827,39 @@ export declare namespace ReactUnity {
|
|
|
11462
11827
|
particleSystem: UnityEngine.Component;
|
|
11463
11828
|
name: string;
|
|
11464
11829
|
hideFlags: UnityEngine.HideFlags;
|
|
11465
|
-
|
|
11466
|
-
|
|
11467
|
-
|
|
11468
|
-
|
|
11830
|
+
insetBorder: ReactUnity.UGUI.Shapes.WebRect;
|
|
11831
|
+
GetModifiedMaterial(baseMaterial: UnityEngine.Material): UnityEngine.Material;
|
|
11832
|
+
Cull(clipRect: UnityEngine.Rect, validRect: boolean): void;
|
|
11833
|
+
SetClipRect(clipRect: UnityEngine.Rect, validRect: boolean): void;
|
|
11834
|
+
SetClipSoftness(clipSoftness: UnityEngine.Vector2): void;
|
|
11835
|
+
ParentMaskStateChanged(): void;
|
|
11836
|
+
RecalculateClipping(): void;
|
|
11837
|
+
RecalculateMasking(): void;
|
|
11838
|
+
SetAllDirty(): void;
|
|
11839
|
+
SetLayoutDirty(): void;
|
|
11840
|
+
SetVerticesDirty(): void;
|
|
11841
|
+
SetMaterialDirty(): void;
|
|
11842
|
+
SetRaycastDirty(): void;
|
|
11843
|
+
OnCullingChanged(): void;
|
|
11844
|
+
Rebuild(update: UnityEngine.UI.CanvasUpdate): void;
|
|
11845
|
+
LayoutComplete(): void;
|
|
11846
|
+
GraphicUpdateComplete(): void;
|
|
11847
|
+
OnRebuildRequested(): void;
|
|
11848
|
+
SetNativeSize(): void;
|
|
11849
|
+
Raycast(sp: UnityEngine.Vector2, eventCamera: UnityEngine.Camera): boolean;
|
|
11850
|
+
PixelAdjustPoint(point: UnityEngine.Vector2): UnityEngine.Vector2;
|
|
11851
|
+
GetPixelAdjustedRect(): UnityEngine.Rect;
|
|
11852
|
+
CrossFadeColor(targetColor: UnityEngine.Color, duration: number, ignoreTimeScale: boolean, useAlpha: boolean): void;
|
|
11853
|
+
CrossFadeColor(targetColor: UnityEngine.Color, duration: number, ignoreTimeScale: boolean, useAlpha: boolean, useRGB: boolean): void;
|
|
11854
|
+
CrossFadeAlpha(alpha: number, duration: number, ignoreTimeScale: boolean): void;
|
|
11855
|
+
RegisterDirtyLayoutCallback(action: (() => void)): void;
|
|
11856
|
+
UnregisterDirtyLayoutCallback(action: (() => void)): void;
|
|
11857
|
+
RegisterDirtyVerticesCallback(action: (() => void)): void;
|
|
11858
|
+
UnregisterDirtyVerticesCallback(action: (() => void)): void;
|
|
11859
|
+
RegisterDirtyMaterialCallback(action: (() => void)): void;
|
|
11860
|
+
UnregisterDirtyMaterialCallback(action: (() => void)): void;
|
|
11861
|
+
IsActive(): boolean;
|
|
11862
|
+
IsDestroyed(): boolean;
|
|
11469
11863
|
IsInvoking(): boolean;
|
|
11470
11864
|
CancelInvoke(): void;
|
|
11471
11865
|
Invoke(methodName: string, time: number): void;
|
|
@@ -11511,8 +11905,191 @@ export declare namespace ReactUnity {
|
|
|
11511
11905
|
ToString(): string;
|
|
11512
11906
|
GetType(): System.Type;
|
|
11513
11907
|
}
|
|
11514
|
-
class
|
|
11908
|
+
class WebBorderImage {
|
|
11909
|
+
constructor();
|
|
11910
|
+
Size: UnityEngine.Vector2;
|
|
11911
|
+
Definition: ReactUnity.Types.ImageDefinition;
|
|
11912
|
+
mainTexture: UnityEngine.Texture;
|
|
11913
|
+
materialForRendering: UnityEngine.Material;
|
|
11914
|
+
onCullStateChanged: UnityEngine.UI.MaskableGraphic_CullStateChangedEvent;
|
|
11915
|
+
maskable: boolean;
|
|
11916
|
+
isMaskingGraphic: boolean;
|
|
11917
|
+
color: UnityEngine.Color;
|
|
11918
|
+
raycastTarget: boolean;
|
|
11919
|
+
raycastPadding: UnityEngine.Vector4;
|
|
11920
|
+
depth: number;
|
|
11921
|
+
rectTransform: UnityEngine.RectTransform;
|
|
11922
|
+
canvas: UnityEngine.Canvas;
|
|
11923
|
+
canvasRenderer: UnityEngine.CanvasRenderer;
|
|
11924
|
+
defaultMaterial: UnityEngine.Material;
|
|
11925
|
+
material: UnityEngine.Material;
|
|
11926
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
11927
|
+
useGUILayout: boolean;
|
|
11928
|
+
runInEditMode: boolean;
|
|
11929
|
+
enabled: boolean;
|
|
11930
|
+
isActiveAndEnabled: boolean;
|
|
11931
|
+
transform: UnityEngine.Transform;
|
|
11932
|
+
gameObject: UnityEngine.GameObject;
|
|
11933
|
+
tag: string;
|
|
11934
|
+
rigidbody: UnityEngine.Component;
|
|
11935
|
+
rigidbody2D: UnityEngine.Component;
|
|
11936
|
+
camera: UnityEngine.Component;
|
|
11937
|
+
light: UnityEngine.Component;
|
|
11938
|
+
animation: UnityEngine.Component;
|
|
11939
|
+
constantForce: UnityEngine.Component;
|
|
11940
|
+
renderer: UnityEngine.Component;
|
|
11941
|
+
audio: UnityEngine.Component;
|
|
11942
|
+
networkView: UnityEngine.Component;
|
|
11943
|
+
collider: UnityEngine.Component;
|
|
11944
|
+
collider2D: UnityEngine.Component;
|
|
11945
|
+
hingeJoint: UnityEngine.Component;
|
|
11946
|
+
particleSystem: UnityEngine.Component;
|
|
11947
|
+
name: string;
|
|
11948
|
+
hideFlags: UnityEngine.HideFlags;
|
|
11949
|
+
Slice: ReactUnity.Types.BorderImageSlice;
|
|
11950
|
+
Repeat: ReactUnity.Types.ICssFourDirectional<ReactUnity.Types.BackgroundRepeat>;
|
|
11951
|
+
Outset: ReactUnity.Types.ICssFourDirectional<Facebook.Yoga.YogaValue>;
|
|
11952
|
+
Width: ReactUnity.Types.ICssFourDirectional<Facebook.Yoga.YogaValue>;
|
|
11953
|
+
Context: ReactUnity.ReactContext;
|
|
11954
|
+
SetBorderImage(image: ReactUnity.Types.ImageDefinition): void;
|
|
11955
|
+
GetModifiedMaterial(baseMaterial: UnityEngine.Material): UnityEngine.Material;
|
|
11956
|
+
Cull(clipRect: UnityEngine.Rect, validRect: boolean): void;
|
|
11957
|
+
SetClipRect(clipRect: UnityEngine.Rect, validRect: boolean): void;
|
|
11958
|
+
SetClipSoftness(clipSoftness: UnityEngine.Vector2): void;
|
|
11959
|
+
ParentMaskStateChanged(): void;
|
|
11960
|
+
RecalculateClipping(): void;
|
|
11961
|
+
RecalculateMasking(): void;
|
|
11962
|
+
SetAllDirty(): void;
|
|
11963
|
+
SetLayoutDirty(): void;
|
|
11964
|
+
SetVerticesDirty(): void;
|
|
11965
|
+
SetMaterialDirty(): void;
|
|
11966
|
+
SetRaycastDirty(): void;
|
|
11967
|
+
OnCullingChanged(): void;
|
|
11968
|
+
Rebuild(update: UnityEngine.UI.CanvasUpdate): void;
|
|
11969
|
+
LayoutComplete(): void;
|
|
11970
|
+
GraphicUpdateComplete(): void;
|
|
11971
|
+
OnRebuildRequested(): void;
|
|
11972
|
+
SetNativeSize(): void;
|
|
11973
|
+
Raycast(sp: UnityEngine.Vector2, eventCamera: UnityEngine.Camera): boolean;
|
|
11974
|
+
PixelAdjustPoint(point: UnityEngine.Vector2): UnityEngine.Vector2;
|
|
11975
|
+
GetPixelAdjustedRect(): UnityEngine.Rect;
|
|
11976
|
+
CrossFadeColor(targetColor: UnityEngine.Color, duration: number, ignoreTimeScale: boolean, useAlpha: boolean): void;
|
|
11977
|
+
CrossFadeColor(targetColor: UnityEngine.Color, duration: number, ignoreTimeScale: boolean, useAlpha: boolean, useRGB: boolean): void;
|
|
11978
|
+
CrossFadeAlpha(alpha: number, duration: number, ignoreTimeScale: boolean): void;
|
|
11979
|
+
RegisterDirtyLayoutCallback(action: (() => void)): void;
|
|
11980
|
+
UnregisterDirtyLayoutCallback(action: (() => void)): void;
|
|
11981
|
+
RegisterDirtyVerticesCallback(action: (() => void)): void;
|
|
11982
|
+
UnregisterDirtyVerticesCallback(action: (() => void)): void;
|
|
11983
|
+
RegisterDirtyMaterialCallback(action: (() => void)): void;
|
|
11984
|
+
UnregisterDirtyMaterialCallback(action: (() => void)): void;
|
|
11985
|
+
IsActive(): boolean;
|
|
11986
|
+
IsDestroyed(): boolean;
|
|
11987
|
+
IsInvoking(): boolean;
|
|
11988
|
+
CancelInvoke(): void;
|
|
11989
|
+
Invoke(methodName: string, time: number): void;
|
|
11990
|
+
InvokeRepeating(methodName: string, time: number, repeatRate: number): void;
|
|
11991
|
+
CancelInvoke(methodName: string): void;
|
|
11992
|
+
IsInvoking(methodName: string): boolean;
|
|
11993
|
+
StartCoroutine(methodName: string): UnityEngine.Coroutine;
|
|
11994
|
+
StartCoroutine(methodName: string, value: any): UnityEngine.Coroutine;
|
|
11995
|
+
StartCoroutine(routine: System.Collections.IEnumerator): UnityEngine.Coroutine;
|
|
11996
|
+
StartCoroutine_Auto(routine: System.Collections.IEnumerator): UnityEngine.Coroutine;
|
|
11997
|
+
StopCoroutine(routine: System.Collections.IEnumerator): void;
|
|
11998
|
+
StopCoroutine(routine: UnityEngine.Coroutine): void;
|
|
11999
|
+
StopCoroutine(methodName: string): void;
|
|
12000
|
+
StopAllCoroutines(): void;
|
|
12001
|
+
GetComponent(type: System.Type): UnityEngine.Component;
|
|
12002
|
+
GetComponent(type: string): UnityEngine.Component;
|
|
12003
|
+
GetComponentInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component;
|
|
12004
|
+
GetComponentInChildren(t: System.Type): UnityEngine.Component;
|
|
12005
|
+
GetComponentsInChildren(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
|
|
12006
|
+
GetComponentsInChildren(t: System.Type): UnityEngine.Component[];
|
|
12007
|
+
GetComponentInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component;
|
|
12008
|
+
GetComponentInParent(t: System.Type): UnityEngine.Component;
|
|
12009
|
+
GetComponentsInParent(t: System.Type, includeInactive: boolean): UnityEngine.Component[];
|
|
12010
|
+
GetComponentsInParent(t: System.Type): UnityEngine.Component[];
|
|
12011
|
+
GetComponents(type: System.Type): UnityEngine.Component[];
|
|
12012
|
+
GetComponents(type: System.Type, results: UnityEngine.Component[]): void;
|
|
12013
|
+
CompareTag(tag: string): boolean;
|
|
12014
|
+
SendMessageUpwards(methodName: string, value: any, options: UnityEngine.SendMessageOptions): void;
|
|
12015
|
+
SendMessageUpwards(methodName: string, value: any): void;
|
|
12016
|
+
SendMessageUpwards(methodName: string): void;
|
|
12017
|
+
SendMessageUpwards(methodName: string, options: UnityEngine.SendMessageOptions): void;
|
|
12018
|
+
SendMessage(methodName: string, value: any): void;
|
|
12019
|
+
SendMessage(methodName: string): void;
|
|
12020
|
+
SendMessage(methodName: string, value: any, options: UnityEngine.SendMessageOptions): void;
|
|
12021
|
+
SendMessage(methodName: string, options: UnityEngine.SendMessageOptions): void;
|
|
12022
|
+
BroadcastMessage(methodName: string, parameter: any, options: UnityEngine.SendMessageOptions): void;
|
|
12023
|
+
BroadcastMessage(methodName: string, parameter: any): void;
|
|
12024
|
+
BroadcastMessage(methodName: string): void;
|
|
12025
|
+
BroadcastMessage(methodName: string, options: UnityEngine.SendMessageOptions): void;
|
|
12026
|
+
GetInstanceID(): number;
|
|
12027
|
+
GetHashCode(): number;
|
|
12028
|
+
Equals(other: any): boolean;
|
|
12029
|
+
ToString(): string;
|
|
12030
|
+
GetType(): System.Type;
|
|
12031
|
+
}
|
|
12032
|
+
class WebOutlineColors {
|
|
12033
|
+
constructor(top: UnityEngine.Color, right: UnityEngine.Color, bottom: UnityEngine.Color, left: UnityEngine.Color);
|
|
12034
|
+
Top: UnityEngine.Color;
|
|
12035
|
+
Right: UnityEngine.Color;
|
|
12036
|
+
Bottom: UnityEngine.Color;
|
|
12037
|
+
Left: UnityEngine.Color;
|
|
12038
|
+
Equals(obj: any): boolean;
|
|
12039
|
+
GetHashCode(): number;
|
|
12040
|
+
ToString(): string;
|
|
12041
|
+
GetType(): System.Type;
|
|
12042
|
+
}
|
|
12043
|
+
class WebOutlineStyles {
|
|
12044
|
+
constructor(top: ReactUnity.Types.BorderStyle, right: ReactUnity.Types.BorderStyle, bottom: ReactUnity.Types.BorderStyle, left: ReactUnity.Types.BorderStyle);
|
|
12045
|
+
Top: ReactUnity.Types.BorderStyle;
|
|
12046
|
+
Right: ReactUnity.Types.BorderStyle;
|
|
12047
|
+
Bottom: ReactUnity.Types.BorderStyle;
|
|
12048
|
+
Left: ReactUnity.Types.BorderStyle;
|
|
12049
|
+
Equals(obj: any): boolean;
|
|
12050
|
+
GetHashCode(): number;
|
|
12051
|
+
ToString(): string;
|
|
12052
|
+
GetType(): System.Type;
|
|
12053
|
+
}
|
|
12054
|
+
class WebOutlineSizes {
|
|
12055
|
+
Vector: UnityEngine.Vector4;
|
|
12056
|
+
Top: number;
|
|
12057
|
+
Right: number;
|
|
12058
|
+
Bottom: number;
|
|
12059
|
+
Left: number;
|
|
12060
|
+
Equals(obj: any): boolean;
|
|
12061
|
+
GetHashCode(): number;
|
|
12062
|
+
ToString(): string;
|
|
12063
|
+
GetType(): System.Type;
|
|
12064
|
+
}
|
|
12065
|
+
class WebOutlineProperties {
|
|
12066
|
+
constructor();
|
|
12067
|
+
Colors: ReactUnity.UGUI.Shapes.WebOutlineColors;
|
|
12068
|
+
Sizes: ReactUnity.UGUI.Shapes.WebOutlineSizes;
|
|
12069
|
+
Styles: ReactUnity.UGUI.Shapes.WebOutlineStyles;
|
|
12070
|
+
Equals(obj: any): boolean;
|
|
12071
|
+
GetHashCode(): number;
|
|
12072
|
+
GetType(): System.Type;
|
|
12073
|
+
ToString(): string;
|
|
12074
|
+
}
|
|
12075
|
+
class WebRect {
|
|
11515
12076
|
constructor();
|
|
12077
|
+
Rounding: ReactUnity.UGUI.Shapes.WebRoundingProperties;
|
|
12078
|
+
color: UnityEngine.Color;
|
|
12079
|
+
onCullStateChanged: UnityEngine.UI.MaskableGraphic_CullStateChangedEvent;
|
|
12080
|
+
maskable: boolean;
|
|
12081
|
+
isMaskingGraphic: boolean;
|
|
12082
|
+
raycastTarget: boolean;
|
|
12083
|
+
raycastPadding: UnityEngine.Vector4;
|
|
12084
|
+
depth: number;
|
|
12085
|
+
rectTransform: UnityEngine.RectTransform;
|
|
12086
|
+
canvas: UnityEngine.Canvas;
|
|
12087
|
+
canvasRenderer: UnityEngine.CanvasRenderer;
|
|
12088
|
+
defaultMaterial: UnityEngine.Material;
|
|
12089
|
+
material: UnityEngine.Material;
|
|
12090
|
+
materialForRendering: UnityEngine.Material;
|
|
12091
|
+
mainTexture: UnityEngine.Texture;
|
|
12092
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
11516
12093
|
useGUILayout: boolean;
|
|
11517
12094
|
runInEditMode: boolean;
|
|
11518
12095
|
enabled: boolean;
|
|
@@ -11535,9 +12112,36 @@ export declare namespace ReactUnity {
|
|
|
11535
12112
|
particleSystem: UnityEngine.Component;
|
|
11536
12113
|
name: string;
|
|
11537
12114
|
hideFlags: UnityEngine.HideFlags;
|
|
11538
|
-
|
|
11539
|
-
|
|
11540
|
-
|
|
12115
|
+
GetModifiedMaterial(baseMaterial: UnityEngine.Material): UnityEngine.Material;
|
|
12116
|
+
Cull(clipRect: UnityEngine.Rect, validRect: boolean): void;
|
|
12117
|
+
SetClipRect(clipRect: UnityEngine.Rect, validRect: boolean): void;
|
|
12118
|
+
SetClipSoftness(clipSoftness: UnityEngine.Vector2): void;
|
|
12119
|
+
ParentMaskStateChanged(): void;
|
|
12120
|
+
RecalculateClipping(): void;
|
|
12121
|
+
RecalculateMasking(): void;
|
|
12122
|
+
SetAllDirty(): void;
|
|
12123
|
+
SetLayoutDirty(): void;
|
|
12124
|
+
SetVerticesDirty(): void;
|
|
12125
|
+
SetMaterialDirty(): void;
|
|
12126
|
+
SetRaycastDirty(): void;
|
|
12127
|
+
OnCullingChanged(): void;
|
|
12128
|
+
Rebuild(update: UnityEngine.UI.CanvasUpdate): void;
|
|
12129
|
+
LayoutComplete(): void;
|
|
12130
|
+
GraphicUpdateComplete(): void;
|
|
12131
|
+
OnRebuildRequested(): void;
|
|
12132
|
+
SetNativeSize(): void;
|
|
12133
|
+
Raycast(sp: UnityEngine.Vector2, eventCamera: UnityEngine.Camera): boolean;
|
|
12134
|
+
PixelAdjustPoint(point: UnityEngine.Vector2): UnityEngine.Vector2;
|
|
12135
|
+
GetPixelAdjustedRect(): UnityEngine.Rect;
|
|
12136
|
+
CrossFadeColor(targetColor: UnityEngine.Color, duration: number, ignoreTimeScale: boolean, useAlpha: boolean): void;
|
|
12137
|
+
CrossFadeColor(targetColor: UnityEngine.Color, duration: number, ignoreTimeScale: boolean, useAlpha: boolean, useRGB: boolean): void;
|
|
12138
|
+
CrossFadeAlpha(alpha: number, duration: number, ignoreTimeScale: boolean): void;
|
|
12139
|
+
RegisterDirtyLayoutCallback(action: (() => void)): void;
|
|
12140
|
+
UnregisterDirtyLayoutCallback(action: (() => void)): void;
|
|
12141
|
+
RegisterDirtyVerticesCallback(action: (() => void)): void;
|
|
12142
|
+
UnregisterDirtyVerticesCallback(action: (() => void)): void;
|
|
12143
|
+
RegisterDirtyMaterialCallback(action: (() => void)): void;
|
|
12144
|
+
UnregisterDirtyMaterialCallback(action: (() => void)): void;
|
|
11541
12145
|
IsActive(): boolean;
|
|
11542
12146
|
IsDestroyed(): boolean;
|
|
11543
12147
|
IsInvoking(): boolean;
|
|
@@ -11585,8 +12189,71 @@ export declare namespace ReactUnity {
|
|
|
11585
12189
|
ToString(): string;
|
|
11586
12190
|
GetType(): System.Type;
|
|
11587
12191
|
}
|
|
11588
|
-
class
|
|
12192
|
+
class WebRoundingProperties {
|
|
12193
|
+
constructor();
|
|
12194
|
+
constructor(brx: UnityEngine.Vector4, bry: UnityEngine.Vector4);
|
|
12195
|
+
constructor(borders: ReactUnity.Types.YogaValue2[]);
|
|
12196
|
+
TLResolution: ReactUnity.UGUI.Shapes.WebRoundingResolutionProperties;
|
|
12197
|
+
TRResolution: ReactUnity.UGUI.Shapes.WebRoundingResolutionProperties;
|
|
12198
|
+
BRResolution: ReactUnity.UGUI.Shapes.WebRoundingResolutionProperties;
|
|
12199
|
+
BLResolution: ReactUnity.UGUI.Shapes.WebRoundingResolutionProperties;
|
|
12200
|
+
AdjustedTLRadius: UnityEngine.Vector2;
|
|
12201
|
+
AdjustedTRRadius: UnityEngine.Vector2;
|
|
12202
|
+
AdjustedBRRadius: UnityEngine.Vector2;
|
|
12203
|
+
AdjustedBLRadius: UnityEngine.Vector2;
|
|
12204
|
+
Type: ReactUnity.UGUI.Shapes.WebRoundingProperties_RoundedType;
|
|
12205
|
+
ResolutionMode: ReactUnity.UGUI.Shapes.WebRoundingProperties_ResolutionType;
|
|
12206
|
+
UniformRadius: ReactUnity.Types.YogaValue2;
|
|
12207
|
+
TLRadius: ReactUnity.Types.YogaValue2;
|
|
12208
|
+
TRRadius: ReactUnity.Types.YogaValue2;
|
|
12209
|
+
BRRadius: ReactUnity.Types.YogaValue2;
|
|
12210
|
+
BLRadius: ReactUnity.Types.YogaValue2;
|
|
12211
|
+
UniformResolution: ReactUnity.UGUI.Shapes.WebRoundingResolutionProperties;
|
|
12212
|
+
UpdateAdjusted(size: UnityEngine.Vector2, innerSize: UnityEngine.Vector2, outline?: ReactUnity.UGUI.Shapes.WebOutlineSizes | undefined, matchRounding?: ReactUnity.UGUI.Shapes.WebRoundingProperties): void;
|
|
12213
|
+
OnCheck(): void;
|
|
12214
|
+
OffsetBorder(size: UnityEngine.Vector2, borderSizes: UnityEngine.Vector4): ReactUnity.UGUI.Shapes.WebRoundingProperties;
|
|
12215
|
+
HasRounding(): boolean;
|
|
12216
|
+
Equals(obj: any): boolean;
|
|
12217
|
+
GetHashCode(): number;
|
|
12218
|
+
GetType(): System.Type;
|
|
12219
|
+
ToString(): string;
|
|
12220
|
+
}
|
|
12221
|
+
class WebRoundingResolutionProperties {
|
|
12222
|
+
constructor();
|
|
12223
|
+
constructor(fixedResolution: number);
|
|
12224
|
+
constructor(resolutionMaxDistance: number);
|
|
12225
|
+
AdjustedResolution: number;
|
|
12226
|
+
MakeSharpCorner: boolean;
|
|
12227
|
+
Resolution: ReactUnity.UGUI.Shapes.WebRoundingResolutionProperties_ResolutionType;
|
|
12228
|
+
FixedResolution: number;
|
|
12229
|
+
ResolutionMaxDistance: number;
|
|
12230
|
+
OnCheck(minFixedResolution?: number): void;
|
|
12231
|
+
UpdateAdjusted(radius: number, numCorners: number, matchRounding?: ReactUnity.UGUI.Shapes.WebRoundingResolutionProperties): void;
|
|
12232
|
+
UpdateAdjusted(radius: number, overrideProperties: ReactUnity.UGUI.Shapes.WebRoundingResolutionProperties, numCorners: number, matchRounding?: ReactUnity.UGUI.Shapes.WebRoundingResolutionProperties): void;
|
|
12233
|
+
Equals(obj: any): boolean;
|
|
12234
|
+
GetHashCode(): number;
|
|
12235
|
+
GetType(): System.Type;
|
|
12236
|
+
ToString(): string;
|
|
12237
|
+
}
|
|
12238
|
+
class WebShadow {
|
|
11589
12239
|
constructor();
|
|
12240
|
+
materialForRendering: UnityEngine.Material;
|
|
12241
|
+
Rounding: ReactUnity.UGUI.Shapes.WebRoundingProperties;
|
|
12242
|
+
Shadow: ReactUnity.UGUI.Shapes.WebShadowProperties;
|
|
12243
|
+
color: UnityEngine.Color;
|
|
12244
|
+
onCullStateChanged: UnityEngine.UI.MaskableGraphic_CullStateChangedEvent;
|
|
12245
|
+
maskable: boolean;
|
|
12246
|
+
isMaskingGraphic: boolean;
|
|
12247
|
+
raycastTarget: boolean;
|
|
12248
|
+
raycastPadding: UnityEngine.Vector4;
|
|
12249
|
+
depth: number;
|
|
12250
|
+
rectTransform: UnityEngine.RectTransform;
|
|
12251
|
+
canvas: UnityEngine.Canvas;
|
|
12252
|
+
canvasRenderer: UnityEngine.CanvasRenderer;
|
|
12253
|
+
defaultMaterial: UnityEngine.Material;
|
|
12254
|
+
material: UnityEngine.Material;
|
|
12255
|
+
mainTexture: UnityEngine.Texture;
|
|
12256
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
11590
12257
|
useGUILayout: boolean;
|
|
11591
12258
|
runInEditMode: boolean;
|
|
11592
12259
|
enabled: boolean;
|
|
@@ -11609,9 +12276,39 @@ export declare namespace ReactUnity {
|
|
|
11609
12276
|
particleSystem: UnityEngine.Component;
|
|
11610
12277
|
name: string;
|
|
11611
12278
|
hideFlags: UnityEngine.HideFlags;
|
|
11612
|
-
|
|
11613
|
-
|
|
11614
|
-
|
|
12279
|
+
MaskRoot: UnityEngine.Transform;
|
|
12280
|
+
GetModifiedMaterial(baseMaterial: UnityEngine.Material): UnityEngine.Material;
|
|
12281
|
+
Cull(clipRect: UnityEngine.Rect, validRect: boolean): void;
|
|
12282
|
+
SetClipRect(clipRect: UnityEngine.Rect, validRect: boolean): void;
|
|
12283
|
+
SetClipSoftness(clipSoftness: UnityEngine.Vector2): void;
|
|
12284
|
+
ParentMaskStateChanged(): void;
|
|
12285
|
+
RecalculateClipping(): void;
|
|
12286
|
+
RecalculateMasking(): void;
|
|
12287
|
+
SetAllDirty(): void;
|
|
12288
|
+
SetLayoutDirty(): void;
|
|
12289
|
+
SetVerticesDirty(): void;
|
|
12290
|
+
SetMaterialDirty(): void;
|
|
12291
|
+
SetRaycastDirty(): void;
|
|
12292
|
+
OnCullingChanged(): void;
|
|
12293
|
+
Rebuild(update: UnityEngine.UI.CanvasUpdate): void;
|
|
12294
|
+
LayoutComplete(): void;
|
|
12295
|
+
GraphicUpdateComplete(): void;
|
|
12296
|
+
OnRebuildRequested(): void;
|
|
12297
|
+
SetNativeSize(): void;
|
|
12298
|
+
Raycast(sp: UnityEngine.Vector2, eventCamera: UnityEngine.Camera): boolean;
|
|
12299
|
+
PixelAdjustPoint(point: UnityEngine.Vector2): UnityEngine.Vector2;
|
|
12300
|
+
GetPixelAdjustedRect(): UnityEngine.Rect;
|
|
12301
|
+
CrossFadeColor(targetColor: UnityEngine.Color, duration: number, ignoreTimeScale: boolean, useAlpha: boolean): void;
|
|
12302
|
+
CrossFadeColor(targetColor: UnityEngine.Color, duration: number, ignoreTimeScale: boolean, useAlpha: boolean, useRGB: boolean): void;
|
|
12303
|
+
CrossFadeAlpha(alpha: number, duration: number, ignoreTimeScale: boolean): void;
|
|
12304
|
+
RegisterDirtyLayoutCallback(action: (() => void)): void;
|
|
12305
|
+
UnregisterDirtyLayoutCallback(action: (() => void)): void;
|
|
12306
|
+
RegisterDirtyVerticesCallback(action: (() => void)): void;
|
|
12307
|
+
UnregisterDirtyVerticesCallback(action: (() => void)): void;
|
|
12308
|
+
RegisterDirtyMaterialCallback(action: (() => void)): void;
|
|
12309
|
+
UnregisterDirtyMaterialCallback(action: (() => void)): void;
|
|
12310
|
+
IsActive(): boolean;
|
|
12311
|
+
IsDestroyed(): boolean;
|
|
11615
12312
|
IsInvoking(): boolean;
|
|
11616
12313
|
CancelInvoke(): void;
|
|
11617
12314
|
Invoke(methodName: string, time: number): void;
|
|
@@ -11657,10 +12354,35 @@ export declare namespace ReactUnity {
|
|
|
11657
12354
|
ToString(): string;
|
|
11658
12355
|
GetType(): System.Type;
|
|
11659
12356
|
}
|
|
12357
|
+
class WebShadowProperties {
|
|
12358
|
+
constructor();
|
|
12359
|
+
Inset: boolean;
|
|
12360
|
+
Offset: UnityEngine.Vector2;
|
|
12361
|
+
Blur: number;
|
|
12362
|
+
Spread: number;
|
|
12363
|
+
Equals(obj: any): boolean;
|
|
12364
|
+
GetHashCode(): number;
|
|
12365
|
+
GetType(): System.Type;
|
|
12366
|
+
ToString(): string;
|
|
12367
|
+
}
|
|
12368
|
+
enum WebRoundingProperties_RoundedType {
|
|
12369
|
+
None = 0,
|
|
12370
|
+
Uniform = 1,
|
|
12371
|
+
Individual = 2
|
|
12372
|
+
}
|
|
12373
|
+
enum WebRoundingProperties_ResolutionType {
|
|
12374
|
+
Uniform = 0,
|
|
12375
|
+
Individual = 1
|
|
12376
|
+
}
|
|
12377
|
+
enum WebRoundingResolutionProperties_ResolutionType {
|
|
12378
|
+
Calculated = 0,
|
|
12379
|
+
Fixed = 1
|
|
12380
|
+
}
|
|
11660
12381
|
}
|
|
11661
12382
|
namespace StateHandlers {
|
|
11662
12383
|
class ActiveStateHandler {
|
|
11663
12384
|
constructor();
|
|
12385
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
11664
12386
|
useGUILayout: boolean;
|
|
11665
12387
|
runInEditMode: boolean;
|
|
11666
12388
|
enabled: boolean;
|
|
@@ -11735,6 +12457,7 @@ export declare namespace ReactUnity {
|
|
|
11735
12457
|
constructor();
|
|
11736
12458
|
Cursor: ReactUnity.Types.ICssValueList<ReactUnity.Types.Cursor>;
|
|
11737
12459
|
CursorShown: boolean;
|
|
12460
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
11738
12461
|
useGUILayout: boolean;
|
|
11739
12462
|
runInEditMode: boolean;
|
|
11740
12463
|
enabled: boolean;
|
|
@@ -11808,6 +12531,7 @@ export declare namespace ReactUnity {
|
|
|
11808
12531
|
}
|
|
11809
12532
|
class FocusStateHandler {
|
|
11810
12533
|
constructor();
|
|
12534
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
11811
12535
|
useGUILayout: boolean;
|
|
11812
12536
|
runInEditMode: boolean;
|
|
11813
12537
|
enabled: boolean;
|
|
@@ -11880,6 +12604,7 @@ export declare namespace ReactUnity {
|
|
|
11880
12604
|
}
|
|
11881
12605
|
class FocusVisibleStateHandler {
|
|
11882
12606
|
constructor();
|
|
12607
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
11883
12608
|
useGUILayout: boolean;
|
|
11884
12609
|
runInEditMode: boolean;
|
|
11885
12610
|
enabled: boolean;
|
|
@@ -11952,6 +12677,7 @@ export declare namespace ReactUnity {
|
|
|
11952
12677
|
}
|
|
11953
12678
|
class FocusWithinStateHandler {
|
|
11954
12679
|
constructor();
|
|
12680
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
11955
12681
|
useGUILayout: boolean;
|
|
11956
12682
|
runInEditMode: boolean;
|
|
11957
12683
|
enabled: boolean;
|
|
@@ -12022,6 +12748,7 @@ export declare namespace ReactUnity {
|
|
|
12022
12748
|
}
|
|
12023
12749
|
class HoverStateHandler {
|
|
12024
12750
|
constructor();
|
|
12751
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
12025
12752
|
useGUILayout: boolean;
|
|
12026
12753
|
runInEditMode: boolean;
|
|
12027
12754
|
enabled: boolean;
|
|
@@ -12094,6 +12821,7 @@ export declare namespace ReactUnity {
|
|
|
12094
12821
|
}
|
|
12095
12822
|
class LinkHoverStateHandler {
|
|
12096
12823
|
constructor();
|
|
12824
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
12097
12825
|
useGUILayout: boolean;
|
|
12098
12826
|
runInEditMode: boolean;
|
|
12099
12827
|
enabled: boolean;
|
|
@@ -12183,6 +12911,7 @@ export declare namespace ReactUnity {
|
|
|
12183
12911
|
Style: InlineStyleRemap;
|
|
12184
12912
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
12185
12913
|
CustomProperties: Record<string, any>;
|
|
12914
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
12186
12915
|
ParentIndex: number;
|
|
12187
12916
|
CurrentOrder: number;
|
|
12188
12917
|
Entering: boolean;
|
|
@@ -12212,6 +12941,7 @@ export declare namespace ReactUnity {
|
|
|
12212
12941
|
ScrollHeight: number;
|
|
12213
12942
|
url: string;
|
|
12214
12943
|
SetProperty(propertyName: string, value: any): void;
|
|
12944
|
+
Pool(): boolean;
|
|
12215
12945
|
AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
|
|
12216
12946
|
GetComponent(type: System.Type): any;
|
|
12217
12947
|
AddComponent(type: System.Type): any;
|
|
@@ -12223,7 +12953,6 @@ export declare namespace ReactUnity {
|
|
|
12223
12953
|
MarkForStyleResolving(recursive: boolean): void;
|
|
12224
12954
|
Remove(): void;
|
|
12225
12955
|
Destroy(recursive?: boolean): void;
|
|
12226
|
-
Pool(): boolean;
|
|
12227
12956
|
Revive(): boolean;
|
|
12228
12957
|
OnClassChange(): void;
|
|
12229
12958
|
SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
|
|
@@ -12271,6 +13000,7 @@ export declare namespace ReactUnity {
|
|
|
12271
13000
|
Style: InlineStyleRemap;
|
|
12272
13001
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
12273
13002
|
CustomProperties: Record<string, any>;
|
|
13003
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
12274
13004
|
ParentIndex: number;
|
|
12275
13005
|
CurrentOrder: number;
|
|
12276
13006
|
Entering: boolean;
|
|
@@ -12304,6 +13034,7 @@ export declare namespace ReactUnity {
|
|
|
12304
13034
|
SetValue(value: TValueType): void;
|
|
12305
13035
|
SetValueWithoutNotify(value: TValueType): void;
|
|
12306
13036
|
Activate(): void;
|
|
13037
|
+
Pool(): boolean;
|
|
12307
13038
|
GetComponent(type: System.Type): any;
|
|
12308
13039
|
AddComponent(type: System.Type): any;
|
|
12309
13040
|
CaptureMouse(): void;
|
|
@@ -12314,7 +13045,6 @@ export declare namespace ReactUnity {
|
|
|
12314
13045
|
MarkForStyleResolving(recursive: boolean): void;
|
|
12315
13046
|
Remove(): void;
|
|
12316
13047
|
Destroy(recursive?: boolean): void;
|
|
12317
|
-
Pool(): boolean;
|
|
12318
13048
|
Revive(): boolean;
|
|
12319
13049
|
OnClassChange(): void;
|
|
12320
13050
|
SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
|
|
@@ -12364,6 +13094,7 @@ export declare namespace ReactUnity {
|
|
|
12364
13094
|
Style: InlineStyleRemap;
|
|
12365
13095
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
12366
13096
|
CustomProperties: Record<string, any>;
|
|
13097
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
12367
13098
|
ParentIndex: number;
|
|
12368
13099
|
CurrentOrder: number;
|
|
12369
13100
|
Entering: boolean;
|
|
@@ -12398,6 +13129,7 @@ export declare namespace ReactUnity {
|
|
|
12398
13129
|
SetValue(value: string): void;
|
|
12399
13130
|
SetValueWithoutNotify(value: string): void;
|
|
12400
13131
|
Activate(): void;
|
|
13132
|
+
Pool(): boolean;
|
|
12401
13133
|
GetComponent(type: System.Type): any;
|
|
12402
13134
|
AddComponent(type: System.Type): any;
|
|
12403
13135
|
CaptureMouse(): void;
|
|
@@ -12408,7 +13140,6 @@ export declare namespace ReactUnity {
|
|
|
12408
13140
|
MarkForStyleResolving(recursive: boolean): void;
|
|
12409
13141
|
Remove(): void;
|
|
12410
13142
|
Destroy(recursive?: boolean): void;
|
|
12411
|
-
Pool(): boolean;
|
|
12412
13143
|
Revive(): boolean;
|
|
12413
13144
|
OnClassChange(): void;
|
|
12414
13145
|
SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
|
|
@@ -12459,6 +13190,7 @@ export declare namespace ReactUnity {
|
|
|
12459
13190
|
Style: InlineStyleRemap;
|
|
12460
13191
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
12461
13192
|
CustomProperties: Record<string, any>;
|
|
13193
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
12462
13194
|
ParentIndex: number;
|
|
12463
13195
|
CurrentOrder: number;
|
|
12464
13196
|
Entering: boolean;
|
|
@@ -12494,6 +13226,7 @@ export declare namespace ReactUnity {
|
|
|
12494
13226
|
SetValue(value: string): void;
|
|
12495
13227
|
SetValueWithoutNotify(value: string): void;
|
|
12496
13228
|
Activate(): void;
|
|
13229
|
+
Pool(): boolean;
|
|
12497
13230
|
GetComponent(type: System.Type): any;
|
|
12498
13231
|
AddComponent(type: System.Type): any;
|
|
12499
13232
|
CaptureMouse(): void;
|
|
@@ -12504,7 +13237,6 @@ export declare namespace ReactUnity {
|
|
|
12504
13237
|
MarkForStyleResolving(recursive: boolean): void;
|
|
12505
13238
|
Remove(): void;
|
|
12506
13239
|
Destroy(recursive?: boolean): void;
|
|
12507
|
-
Pool(): boolean;
|
|
12508
13240
|
Revive(): boolean;
|
|
12509
13241
|
OnClassChange(): void;
|
|
12510
13242
|
SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
|
|
@@ -12549,6 +13281,7 @@ export declare namespace ReactUnity {
|
|
|
12549
13281
|
Style: InlineStyleRemap;
|
|
12550
13282
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
12551
13283
|
CustomProperties: Record<string, any>;
|
|
13284
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
12552
13285
|
ParentIndex: number;
|
|
12553
13286
|
CurrentOrder: number;
|
|
12554
13287
|
Entering: boolean;
|
|
@@ -12577,6 +13310,7 @@ export declare namespace ReactUnity {
|
|
|
12577
13310
|
ScrollWidth: number;
|
|
12578
13311
|
ScrollHeight: number;
|
|
12579
13312
|
SetProperty(property: string, value: any): void;
|
|
13313
|
+
Pool(): boolean;
|
|
12580
13314
|
AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
|
|
12581
13315
|
GetComponent(type: System.Type): any;
|
|
12582
13316
|
AddComponent(type: System.Type): any;
|
|
@@ -12588,7 +13322,93 @@ export declare namespace ReactUnity {
|
|
|
12588
13322
|
MarkForStyleResolving(recursive: boolean): void;
|
|
12589
13323
|
Remove(): void;
|
|
12590
13324
|
Destroy(recursive?: boolean): void;
|
|
13325
|
+
Revive(): boolean;
|
|
13326
|
+
OnClassChange(): void;
|
|
13327
|
+
SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
|
|
13328
|
+
SetEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): void;
|
|
13329
|
+
FireEvent(eventName: string, arg: any): void;
|
|
13330
|
+
SetData(propertyName: string, value: any): void;
|
|
13331
|
+
SetCustomProperty(propertyName: string, value: any): void;
|
|
13332
|
+
ResolveStyle(recursive?: boolean): void;
|
|
13333
|
+
MarkForStyleResolvingWithSiblings(recursive: boolean): void;
|
|
13334
|
+
ApplyStyles(): void;
|
|
13335
|
+
ApplyLayoutStyles(): void;
|
|
13336
|
+
Matches(query: string): boolean;
|
|
13337
|
+
Closest(query: string): ReactUnity.IReactComponent;
|
|
13338
|
+
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
13339
|
+
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
13340
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
13341
|
+
AddBefore(): void;
|
|
13342
|
+
RemoveBefore(): void;
|
|
13343
|
+
AddAfter(): void;
|
|
13344
|
+
RemoveAfter(): void;
|
|
13345
|
+
RegisterChild(child: ReactUnity.IReactComponent, index?: number): void;
|
|
13346
|
+
UnregisterChild(child: ReactUnity.IReactComponent): void;
|
|
13347
|
+
Clear(): void;
|
|
13348
|
+
Equals(obj: any): boolean;
|
|
13349
|
+
GetHashCode(): number;
|
|
13350
|
+
GetType(): System.Type;
|
|
13351
|
+
ToString(): string;
|
|
13352
|
+
}
|
|
13353
|
+
class BrComponent {
|
|
13354
|
+
constructor(context: ReactUnity.UIToolkit.UIToolkitContext, tag?: string);
|
|
13355
|
+
Content: string;
|
|
13356
|
+
Element: UnityEngine.UIElements.TextElement;
|
|
13357
|
+
TargetElement: UnityEngine.UIElements.VisualElement;
|
|
13358
|
+
ClientWidth: number;
|
|
13359
|
+
ClientHeight: number;
|
|
13360
|
+
Context: ReactUnity.UIToolkit.UIToolkitContext;
|
|
13361
|
+
Parent: ReactUnity.IContainerComponent;
|
|
13362
|
+
Data: ReactUnity.Helpers.WatchableObjectRecord;
|
|
13363
|
+
Layout: Facebook.Yoga.YogaNode;
|
|
13364
|
+
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
13365
|
+
StyleState: ReactUnity.Styling.StyleState;
|
|
13366
|
+
StateStyles: ReactUnity.Styling.StateStyles;
|
|
13367
|
+
Style: InlineStyleRemap;
|
|
13368
|
+
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
13369
|
+
CustomProperties: Record<string, any>;
|
|
13370
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
13371
|
+
ParentIndex: number;
|
|
13372
|
+
CurrentOrder: number;
|
|
13373
|
+
Entering: boolean;
|
|
13374
|
+
Leaving: boolean;
|
|
13375
|
+
UpdatedThisFrame: boolean;
|
|
13376
|
+
Destroyed: boolean;
|
|
13377
|
+
Tag: string;
|
|
13378
|
+
TextContent: string;
|
|
13379
|
+
PoolStack: System.Collections.Generic.Stack<ReactUnity.IPoolableComponent>;
|
|
13380
|
+
IsPseudoElement: boolean;
|
|
13381
|
+
ResolvedName: string;
|
|
13382
|
+
ClassName: string;
|
|
13383
|
+
ClassList: ReactUnity.Helpers.ClassList;
|
|
13384
|
+
Id: string;
|
|
13385
|
+
Name: string;
|
|
13386
|
+
RefId: number;
|
|
13387
|
+
InstanceId: number;
|
|
13388
|
+
IsContainer: boolean;
|
|
13389
|
+
Children: ReactUnity.IReactComponent[];
|
|
13390
|
+
BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
|
|
13391
|
+
AfterRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
|
|
13392
|
+
BeforePseudo: ReactUnity.IReactComponent;
|
|
13393
|
+
AfterPseudo: ReactUnity.IReactComponent;
|
|
13394
|
+
ScrollLeft: number;
|
|
13395
|
+
ScrollTop: number;
|
|
13396
|
+
ScrollWidth: number;
|
|
13397
|
+
ScrollHeight: number;
|
|
13398
|
+
SetText(text: string): void;
|
|
13399
|
+
SetProperty(property: string, value: any): void;
|
|
12591
13400
|
Pool(): boolean;
|
|
13401
|
+
AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
|
|
13402
|
+
GetComponent(type: System.Type): any;
|
|
13403
|
+
AddComponent(type: System.Type): any;
|
|
13404
|
+
CaptureMouse(): void;
|
|
13405
|
+
ReleaseMouse(): void;
|
|
13406
|
+
HasMouseCapture(): boolean;
|
|
13407
|
+
UpdateOrder(prev: number, current: number): boolean;
|
|
13408
|
+
Update(): void;
|
|
13409
|
+
MarkForStyleResolving(recursive: boolean): void;
|
|
13410
|
+
Remove(): void;
|
|
13411
|
+
Destroy(recursive?: boolean): void;
|
|
12592
13412
|
Revive(): boolean;
|
|
12593
13413
|
OnClassChange(): void;
|
|
12594
13414
|
SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
|
|
@@ -12633,6 +13453,7 @@ export declare namespace ReactUnity {
|
|
|
12633
13453
|
Style: InlineStyleRemap;
|
|
12634
13454
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
12635
13455
|
CustomProperties: Record<string, any>;
|
|
13456
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
12636
13457
|
ParentIndex: number;
|
|
12637
13458
|
CurrentOrder: number;
|
|
12638
13459
|
Entering: boolean;
|
|
@@ -12661,6 +13482,7 @@ export declare namespace ReactUnity {
|
|
|
12661
13482
|
ScrollWidth: number;
|
|
12662
13483
|
ScrollHeight: number;
|
|
12663
13484
|
AddEventListener(eventName: string, callback: ReactUnity.Helpers.Callback): (() => void);
|
|
13485
|
+
Pool(): boolean;
|
|
12664
13486
|
SetProperty(property: string, value: any): void;
|
|
12665
13487
|
GetComponent(type: System.Type): any;
|
|
12666
13488
|
AddComponent(type: System.Type): any;
|
|
@@ -12672,7 +13494,6 @@ export declare namespace ReactUnity {
|
|
|
12672
13494
|
MarkForStyleResolving(recursive: boolean): void;
|
|
12673
13495
|
Remove(): void;
|
|
12674
13496
|
Destroy(recursive?: boolean): void;
|
|
12675
|
-
Pool(): boolean;
|
|
12676
13497
|
Revive(): boolean;
|
|
12677
13498
|
OnClassChange(): void;
|
|
12678
13499
|
SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
|
|
@@ -12719,6 +13540,7 @@ export declare namespace ReactUnity {
|
|
|
12719
13540
|
Style: InlineStyleRemap;
|
|
12720
13541
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
12721
13542
|
CustomProperties: Record<string, any>;
|
|
13543
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
12722
13544
|
ParentIndex: number;
|
|
12723
13545
|
CurrentOrder: number;
|
|
12724
13546
|
Entering: boolean;
|
|
@@ -12803,6 +13625,7 @@ export declare namespace ReactUnity {
|
|
|
12803
13625
|
Style: InlineStyleRemap;
|
|
12804
13626
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
12805
13627
|
CustomProperties: Record<string, any>;
|
|
13628
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
12806
13629
|
ParentIndex: number;
|
|
12807
13630
|
CurrentOrder: number;
|
|
12808
13631
|
Entering: boolean;
|
|
@@ -12831,6 +13654,7 @@ export declare namespace ReactUnity {
|
|
|
12831
13654
|
ScrollWidth: number;
|
|
12832
13655
|
ScrollHeight: number;
|
|
12833
13656
|
SetProperty(property: string, value: any): void;
|
|
13657
|
+
Pool(): boolean;
|
|
12834
13658
|
AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
|
|
12835
13659
|
GetComponent(type: System.Type): any;
|
|
12836
13660
|
AddComponent(type: System.Type): any;
|
|
@@ -12842,7 +13666,6 @@ export declare namespace ReactUnity {
|
|
|
12842
13666
|
MarkForStyleResolving(recursive: boolean): void;
|
|
12843
13667
|
Remove(): void;
|
|
12844
13668
|
Destroy(recursive?: boolean): void;
|
|
12845
|
-
Pool(): boolean;
|
|
12846
13669
|
Revive(): boolean;
|
|
12847
13670
|
OnClassChange(): void;
|
|
12848
13671
|
SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
|
|
@@ -12887,6 +13710,7 @@ export declare namespace ReactUnity {
|
|
|
12887
13710
|
Style: InlineStyleRemap;
|
|
12888
13711
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
12889
13712
|
CustomProperties: Record<string, any>;
|
|
13713
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
12890
13714
|
ParentIndex: number;
|
|
12891
13715
|
CurrentOrder: number;
|
|
12892
13716
|
Entering: boolean;
|
|
@@ -12917,6 +13741,7 @@ export declare namespace ReactUnity {
|
|
|
12917
13741
|
SetProperty(property: string, value: any): void;
|
|
12918
13742
|
MarkDirtyLayout(): void;
|
|
12919
13743
|
MarkDirtyRepaint(): void;
|
|
13744
|
+
Pool(): boolean;
|
|
12920
13745
|
AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
|
|
12921
13746
|
GetComponent(type: System.Type): any;
|
|
12922
13747
|
AddComponent(type: System.Type): any;
|
|
@@ -12928,7 +13753,6 @@ export declare namespace ReactUnity {
|
|
|
12928
13753
|
MarkForStyleResolving(recursive: boolean): void;
|
|
12929
13754
|
Remove(): void;
|
|
12930
13755
|
Destroy(recursive?: boolean): void;
|
|
12931
|
-
Pool(): boolean;
|
|
12932
13756
|
Revive(): boolean;
|
|
12933
13757
|
OnClassChange(): void;
|
|
12934
13758
|
SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
|
|
@@ -12976,6 +13800,7 @@ export declare namespace ReactUnity {
|
|
|
12976
13800
|
Style: InlineStyleRemap;
|
|
12977
13801
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
12978
13802
|
CustomProperties: Record<string, any>;
|
|
13803
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
12979
13804
|
ParentIndex: number;
|
|
12980
13805
|
CurrentOrder: number;
|
|
12981
13806
|
Entering: boolean;
|
|
@@ -13009,6 +13834,7 @@ export declare namespace ReactUnity {
|
|
|
13009
13834
|
SetValue(value: UnityEngine.Vector2): void;
|
|
13010
13835
|
SetValueWithoutNotify(value: UnityEngine.Vector2): void;
|
|
13011
13836
|
Activate(): void;
|
|
13837
|
+
Pool(): boolean;
|
|
13012
13838
|
GetComponent(type: System.Type): any;
|
|
13013
13839
|
AddComponent(type: System.Type): any;
|
|
13014
13840
|
CaptureMouse(): void;
|
|
@@ -13019,7 +13845,93 @@ export declare namespace ReactUnity {
|
|
|
13019
13845
|
MarkForStyleResolving(recursive: boolean): void;
|
|
13020
13846
|
Remove(): void;
|
|
13021
13847
|
Destroy(recursive?: boolean): void;
|
|
13848
|
+
Revive(): boolean;
|
|
13849
|
+
OnClassChange(): void;
|
|
13850
|
+
SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
|
|
13851
|
+
SetEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): void;
|
|
13852
|
+
FireEvent(eventName: string, arg: any): void;
|
|
13853
|
+
SetData(propertyName: string, value: any): void;
|
|
13854
|
+
SetCustomProperty(propertyName: string, value: any): void;
|
|
13855
|
+
ResolveStyle(recursive?: boolean): void;
|
|
13856
|
+
MarkForStyleResolvingWithSiblings(recursive: boolean): void;
|
|
13857
|
+
ApplyStyles(): void;
|
|
13858
|
+
ApplyLayoutStyles(): void;
|
|
13859
|
+
Matches(query: string): boolean;
|
|
13860
|
+
Closest(query: string): ReactUnity.IReactComponent;
|
|
13861
|
+
QuerySelector(query: string): ReactUnity.IReactComponent;
|
|
13862
|
+
QuerySelectorAll(query: string): ReactUnity.IReactComponent[];
|
|
13863
|
+
Accept(visitor: ReactUnity.Helpers.Visitors.ReactComponentVisitor, skipSelf?: boolean): void;
|
|
13864
|
+
AddBefore(): void;
|
|
13865
|
+
RemoveBefore(): void;
|
|
13866
|
+
AddAfter(): void;
|
|
13867
|
+
RemoveAfter(): void;
|
|
13868
|
+
RegisterChild(child: ReactUnity.IReactComponent, index?: number): void;
|
|
13869
|
+
UnregisterChild(child: ReactUnity.IReactComponent): void;
|
|
13870
|
+
Clear(): void;
|
|
13871
|
+
Equals(obj: any): boolean;
|
|
13872
|
+
GetHashCode(): number;
|
|
13873
|
+
GetType(): System.Type;
|
|
13874
|
+
ToString(): string;
|
|
13875
|
+
}
|
|
13876
|
+
class ScrollViewComponent {
|
|
13877
|
+
constructor(context: ReactUnity.UIToolkit.UIToolkitContext, tag?: string);
|
|
13878
|
+
ScrollWidth: number;
|
|
13879
|
+
ScrollHeight: number;
|
|
13880
|
+
ScrollLeft: number;
|
|
13881
|
+
ScrollTop: number;
|
|
13882
|
+
Element: UnityEngine.UIElements.ScrollView;
|
|
13883
|
+
TargetElement: UnityEngine.UIElements.VisualElement;
|
|
13884
|
+
ClientWidth: number;
|
|
13885
|
+
ClientHeight: number;
|
|
13886
|
+
Context: ReactUnity.UIToolkit.UIToolkitContext;
|
|
13887
|
+
Parent: ReactUnity.IContainerComponent;
|
|
13888
|
+
Data: ReactUnity.Helpers.WatchableObjectRecord;
|
|
13889
|
+
Layout: Facebook.Yoga.YogaNode;
|
|
13890
|
+
ComputedStyle: ReactUnity.Styling.NodeStyle;
|
|
13891
|
+
StyleState: ReactUnity.Styling.StyleState;
|
|
13892
|
+
StateStyles: ReactUnity.Styling.StateStyles;
|
|
13893
|
+
Style: InlineStyleRemap;
|
|
13894
|
+
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
13895
|
+
CustomProperties: Record<string, any>;
|
|
13896
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
13897
|
+
ParentIndex: number;
|
|
13898
|
+
CurrentOrder: number;
|
|
13899
|
+
Entering: boolean;
|
|
13900
|
+
Leaving: boolean;
|
|
13901
|
+
UpdatedThisFrame: boolean;
|
|
13902
|
+
Destroyed: boolean;
|
|
13903
|
+
Tag: string;
|
|
13904
|
+
TextContent: string;
|
|
13905
|
+
PoolStack: System.Collections.Generic.Stack<ReactUnity.IPoolableComponent>;
|
|
13906
|
+
IsPseudoElement: boolean;
|
|
13907
|
+
ResolvedName: string;
|
|
13908
|
+
ClassName: string;
|
|
13909
|
+
ClassList: ReactUnity.Helpers.ClassList;
|
|
13910
|
+
Id: string;
|
|
13911
|
+
Name: string;
|
|
13912
|
+
RefId: number;
|
|
13913
|
+
InstanceId: number;
|
|
13914
|
+
IsContainer: boolean;
|
|
13915
|
+
Children: ReactUnity.IReactComponent[];
|
|
13916
|
+
BeforeRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
|
|
13917
|
+
AfterRules: ReactUnity.Styling.Rules.RuleTreeNode<ReactUnity.Styling.Rules.StyleData>[];
|
|
13918
|
+
BeforePseudo: ReactUnity.IReactComponent;
|
|
13919
|
+
AfterPseudo: ReactUnity.IReactComponent;
|
|
13920
|
+
SetProperty(propertyName: string, value: any): void;
|
|
13921
|
+
ScrollTo(left?: number | undefined, top?: number | undefined, smoothness?: number | undefined): void;
|
|
13922
|
+
ScrollBy(left?: number | undefined, top?: number | undefined, smoothness?: number | undefined): void;
|
|
13022
13923
|
Pool(): boolean;
|
|
13924
|
+
AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
|
|
13925
|
+
GetComponent(type: System.Type): any;
|
|
13926
|
+
AddComponent(type: System.Type): any;
|
|
13927
|
+
CaptureMouse(): void;
|
|
13928
|
+
ReleaseMouse(): void;
|
|
13929
|
+
HasMouseCapture(): boolean;
|
|
13930
|
+
UpdateOrder(prev: number, current: number): boolean;
|
|
13931
|
+
Update(): void;
|
|
13932
|
+
MarkForStyleResolving(recursive: boolean): void;
|
|
13933
|
+
Remove(): void;
|
|
13934
|
+
Destroy(recursive?: boolean): void;
|
|
13023
13935
|
Revive(): boolean;
|
|
13024
13936
|
OnClassChange(): void;
|
|
13025
13937
|
SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
|
|
@@ -13067,6 +13979,7 @@ export declare namespace ReactUnity {
|
|
|
13067
13979
|
Style: InlineStyleRemap;
|
|
13068
13980
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
13069
13981
|
CustomProperties: Record<string, any>;
|
|
13982
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
13070
13983
|
ParentIndex: number;
|
|
13071
13984
|
CurrentOrder: number;
|
|
13072
13985
|
Entering: boolean;
|
|
@@ -13100,6 +14013,7 @@ export declare namespace ReactUnity {
|
|
|
13100
14013
|
SetValue(value: TValueType): void;
|
|
13101
14014
|
SetValueWithoutNotify(value: TValueType): void;
|
|
13102
14015
|
Activate(): void;
|
|
14016
|
+
Pool(): boolean;
|
|
13103
14017
|
GetComponent(type: System.Type): any;
|
|
13104
14018
|
AddComponent(type: System.Type): any;
|
|
13105
14019
|
CaptureMouse(): void;
|
|
@@ -13110,7 +14024,6 @@ export declare namespace ReactUnity {
|
|
|
13110
14024
|
MarkForStyleResolving(recursive: boolean): void;
|
|
13111
14025
|
Remove(): void;
|
|
13112
14026
|
Destroy(recursive?: boolean): void;
|
|
13113
|
-
Pool(): boolean;
|
|
13114
14027
|
Revive(): boolean;
|
|
13115
14028
|
OnClassChange(): void;
|
|
13116
14029
|
SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
|
|
@@ -13159,6 +14072,7 @@ export declare namespace ReactUnity {
|
|
|
13159
14072
|
Style: InlineStyleRemap;
|
|
13160
14073
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
13161
14074
|
CustomProperties: Record<string, any>;
|
|
14075
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
13162
14076
|
ParentIndex: number;
|
|
13163
14077
|
CurrentOrder: number;
|
|
13164
14078
|
Entering: boolean;
|
|
@@ -13188,6 +14102,7 @@ export declare namespace ReactUnity {
|
|
|
13188
14102
|
ScrollHeight: number;
|
|
13189
14103
|
SetProperty(propertyName: string, value: any): void;
|
|
13190
14104
|
Update(): void;
|
|
14105
|
+
Pool(): boolean;
|
|
13191
14106
|
AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
|
|
13192
14107
|
GetComponent(type: System.Type): any;
|
|
13193
14108
|
AddComponent(type: System.Type): any;
|
|
@@ -13198,7 +14113,6 @@ export declare namespace ReactUnity {
|
|
|
13198
14113
|
MarkForStyleResolving(recursive: boolean): void;
|
|
13199
14114
|
Remove(): void;
|
|
13200
14115
|
Destroy(recursive?: boolean): void;
|
|
13201
|
-
Pool(): boolean;
|
|
13202
14116
|
Revive(): boolean;
|
|
13203
14117
|
OnClassChange(): void;
|
|
13204
14118
|
SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
|
|
@@ -13244,6 +14158,7 @@ export declare namespace ReactUnity {
|
|
|
13244
14158
|
Style: InlineStyleRemap;
|
|
13245
14159
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
13246
14160
|
CustomProperties: Record<string, any>;
|
|
14161
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
13247
14162
|
ParentIndex: number;
|
|
13248
14163
|
CurrentOrder: number;
|
|
13249
14164
|
Entering: boolean;
|
|
@@ -13273,6 +14188,7 @@ export declare namespace ReactUnity {
|
|
|
13273
14188
|
ScrollHeight: number;
|
|
13274
14189
|
SetText(text: string): void;
|
|
13275
14190
|
SetProperty(property: string, value: any): void;
|
|
14191
|
+
Pool(): boolean;
|
|
13276
14192
|
AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
|
|
13277
14193
|
GetComponent(type: System.Type): any;
|
|
13278
14194
|
AddComponent(type: System.Type): any;
|
|
@@ -13284,7 +14200,6 @@ export declare namespace ReactUnity {
|
|
|
13284
14200
|
MarkForStyleResolving(recursive: boolean): void;
|
|
13285
14201
|
Remove(): void;
|
|
13286
14202
|
Destroy(recursive?: boolean): void;
|
|
13287
|
-
Pool(): boolean;
|
|
13288
14203
|
Revive(): boolean;
|
|
13289
14204
|
OnClassChange(): void;
|
|
13290
14205
|
SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
|
|
@@ -13333,6 +14248,7 @@ export declare namespace ReactUnity {
|
|
|
13333
14248
|
Style: InlineStyleRemap;
|
|
13334
14249
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
13335
14250
|
CustomProperties: Record<string, any>;
|
|
14251
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
13336
14252
|
ParentIndex: number;
|
|
13337
14253
|
CurrentOrder: number;
|
|
13338
14254
|
Entering: boolean;
|
|
@@ -13366,6 +14282,7 @@ export declare namespace ReactUnity {
|
|
|
13366
14282
|
SetValue(value: boolean): void;
|
|
13367
14283
|
SetValueWithoutNotify(value: boolean): void;
|
|
13368
14284
|
Activate(): void;
|
|
14285
|
+
Pool(): boolean;
|
|
13369
14286
|
GetComponent(type: System.Type): any;
|
|
13370
14287
|
AddComponent(type: System.Type): any;
|
|
13371
14288
|
CaptureMouse(): void;
|
|
@@ -13376,7 +14293,6 @@ export declare namespace ReactUnity {
|
|
|
13376
14293
|
MarkForStyleResolving(recursive: boolean): void;
|
|
13377
14294
|
Remove(): void;
|
|
13378
14295
|
Destroy(recursive?: boolean): void;
|
|
13379
|
-
Pool(): boolean;
|
|
13380
14296
|
Revive(): boolean;
|
|
13381
14297
|
OnClassChange(): void;
|
|
13382
14298
|
SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
|
|
@@ -13425,6 +14341,7 @@ export declare namespace ReactUnity {
|
|
|
13425
14341
|
Style: InlineStyleRemap;
|
|
13426
14342
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
13427
14343
|
CustomProperties: Record<string, any>;
|
|
14344
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
13428
14345
|
ParentIndex: number;
|
|
13429
14346
|
CurrentOrder: number;
|
|
13430
14347
|
Entering: boolean;
|
|
@@ -13452,6 +14369,7 @@ export declare namespace ReactUnity {
|
|
|
13452
14369
|
ScrollTop: number;
|
|
13453
14370
|
ScrollWidth: number;
|
|
13454
14371
|
ScrollHeight: number;
|
|
14372
|
+
Pool(): boolean;
|
|
13455
14373
|
AddEventListener(eventName: string, fun: ReactUnity.Helpers.Callback): (() => void);
|
|
13456
14374
|
SetProperty(property: string, value: any): void;
|
|
13457
14375
|
GetComponent(type: System.Type): any;
|
|
@@ -13464,7 +14382,6 @@ export declare namespace ReactUnity {
|
|
|
13464
14382
|
MarkForStyleResolving(recursive: boolean): void;
|
|
13465
14383
|
Remove(): void;
|
|
13466
14384
|
Destroy(recursive?: boolean): void;
|
|
13467
|
-
Pool(): boolean;
|
|
13468
14385
|
Revive(): boolean;
|
|
13469
14386
|
OnClassChange(): void;
|
|
13470
14387
|
SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
|
|
@@ -13511,6 +14428,7 @@ export declare namespace ReactUnity {
|
|
|
13511
14428
|
Style: InlineStyleRemap;
|
|
13512
14429
|
InlineStylesheet: ReactUnity.Styling.StyleSheet;
|
|
13513
14430
|
CustomProperties: Record<string, any>;
|
|
14431
|
+
RevertCalculator: ReactUnity.Styling.IRevertCalculator;
|
|
13514
14432
|
ParentIndex: number;
|
|
13515
14433
|
CurrentOrder: number;
|
|
13516
14434
|
Entering: boolean;
|
|
@@ -13544,6 +14462,7 @@ export declare namespace ReactUnity {
|
|
|
13544
14462
|
SetValue(value: TValueType): void;
|
|
13545
14463
|
SetValueWithoutNotify(value: TValueType): void;
|
|
13546
14464
|
Activate(): void;
|
|
14465
|
+
Pool(): boolean;
|
|
13547
14466
|
GetComponent(type: System.Type): any;
|
|
13548
14467
|
AddComponent(type: System.Type): any;
|
|
13549
14468
|
CaptureMouse(): void;
|
|
@@ -13554,7 +14473,6 @@ export declare namespace ReactUnity {
|
|
|
13554
14473
|
MarkForStyleResolving(recursive: boolean): void;
|
|
13555
14474
|
Remove(): void;
|
|
13556
14475
|
Destroy(recursive?: boolean): void;
|
|
13557
|
-
Pool(): boolean;
|
|
13558
14476
|
Revive(): boolean;
|
|
13559
14477
|
OnClassChange(): void;
|
|
13560
14478
|
SetParent(newParent: ReactUnity.IContainerComponent, relativeTo?: ReactUnity.IReactComponent, insertAfter?: boolean): void;
|
|
@@ -13600,6 +14518,7 @@ export declare namespace ReactUnity {
|
|
|
13600
14518
|
Script: ReactUnity.ScriptSource;
|
|
13601
14519
|
Globals: ReactUnity.Helpers.SerializableDictionary;
|
|
13602
14520
|
EngineType: ReactUnity.Scripting.JavascriptEngineType;
|
|
14521
|
+
resolvedStyle: UnityEngine.UIElements.IResolvedStyle;
|
|
13603
14522
|
viewDataKey: string;
|
|
13604
14523
|
userData: any;
|
|
13605
14524
|
canGrabFocus: boolean;
|
|
@@ -13630,7 +14549,6 @@ export declare namespace ReactUnity {
|
|
|
13630
14549
|
customStyle: UnityEngine.UIElements.ICustomStyle;
|
|
13631
14550
|
styleSheets: UnityEngine.UIElements.VisualElementStyleSheetSet;
|
|
13632
14551
|
tooltip: string;
|
|
13633
|
-
resolvedStyle: UnityEngine.UIElements.IResolvedStyle;
|
|
13634
14552
|
focusable: boolean;
|
|
13635
14553
|
tabIndex: number;
|
|
13636
14554
|
delegatesFocus: boolean;
|
|
@@ -13684,6 +14602,7 @@ export declare namespace ReactUnity {
|
|
|
13684
14602
|
MediaProvider: ReactUnity.Styling.Rules.IMediaProvider;
|
|
13685
14603
|
Context: ReactUnity.ReactContext;
|
|
13686
14604
|
timer: ReactUnity.Scheduling.ITimer;
|
|
14605
|
+
destroyCancellationToken: System.Threading.CancellationToken;
|
|
13687
14606
|
useGUILayout: boolean;
|
|
13688
14607
|
runInEditMode: boolean;
|
|
13689
14608
|
enabled: boolean;
|
|
@@ -13858,6 +14777,7 @@ export declare namespace ReactUnity {
|
|
|
13858
14777
|
uv: UnityEngine.Rect;
|
|
13859
14778
|
scaleMode: UnityEngine.ScaleMode;
|
|
13860
14779
|
tintColor: UnityEngine.Color;
|
|
14780
|
+
resolvedStyle: UnityEngine.UIElements.IResolvedStyle;
|
|
13861
14781
|
viewDataKey: string;
|
|
13862
14782
|
userData: any;
|
|
13863
14783
|
canGrabFocus: boolean;
|
|
@@ -13888,7 +14808,6 @@ export declare namespace ReactUnity {
|
|
|
13888
14808
|
customStyle: UnityEngine.UIElements.ICustomStyle;
|
|
13889
14809
|
styleSheets: UnityEngine.UIElements.VisualElementStyleSheetSet;
|
|
13890
14810
|
tooltip: string;
|
|
13891
|
-
resolvedStyle: UnityEngine.UIElements.IResolvedStyle;
|
|
13892
14811
|
focusable: boolean;
|
|
13893
14812
|
tabIndex: number;
|
|
13894
14813
|
delegatesFocus: boolean;
|