@reactunity/scripts 0.14.2 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config/public/index.html +2 -2
- package/package.json +3 -3
package/config/public/index.html
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<main>
|
|
26
26
|
<p class="fs-5 col-md-8">
|
|
27
27
|
Congratulations on starting your ReactUnity project. You can now test your app inside Unity by setting the
|
|
28
|
-
<code>DevServer</code> property of <code>
|
|
28
|
+
<code>DevServer</code> property of <code>ReactRendererUGUI</code> or <code>ReactRendererUIToolkit</code> components to
|
|
29
29
|
the address of this page.
|
|
30
30
|
</p>
|
|
31
31
|
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
<h4>2 - Use a custom previewer</h4>
|
|
62
62
|
|
|
63
63
|
<p class="fs-5 col-md-8">
|
|
64
|
-
To do this, you need to build a scene in Unity with <code>
|
|
64
|
+
To do this, you need to build a scene in Unity with <code>ReactRendererUGUI</code> component added. The
|
|
65
65
|
<code>Type</code> property must be set to <code>Url</code> and <code>Source Path</code> property must be set to
|
|
66
66
|
<code>/index.js</code>.
|
|
67
67
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reactunity/scripts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"description": "Configuration and scripts for React Unity.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"react-refresh": "^0.14.0",
|
|
89
89
|
"resolve": "^1.22.1",
|
|
90
90
|
"resolve-url-loader": "^5.0.0",
|
|
91
|
-
"sass": "^1.58.
|
|
91
|
+
"sass": "^1.58.3",
|
|
92
92
|
"sass-loader": "^13.2.0",
|
|
93
93
|
"semver": "^7.3.8",
|
|
94
94
|
"source-map-loader": "^4.0.1",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
},
|
|
109
109
|
"peerDependencies": {
|
|
110
110
|
"@reactunity/previewer": "*",
|
|
111
|
-
"@reactunity/renderer": "^0.
|
|
111
|
+
"@reactunity/renderer": "^0.15.0",
|
|
112
112
|
"react": "^18.0.0",
|
|
113
113
|
"typescript": "^4.9.5"
|
|
114
114
|
},
|