Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
山
山西检定流水线数字孪生项目
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨泽宇
山西检定流水线数字孪生项目
Commits
3ca4f7ee
Commit
3ca4f7ee
authored
Mar 06, 2025
by
潘梓豪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新
parent
449ed984
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
10 deletions
+9
-10
LoginManager.cs
Assets/Scripts/Components/AGV/LoginManager.cs
+5
-6
index.html
Assets/WebGLTemplates/ZeusWebGL/index.html
+3
-3
ProjectSettings.asset
ProjectSettings/ProjectSettings.asset
+1
-1
No files found.
Assets/Scripts/Components/AGV/LoginManager.cs
View file @
3ca4f7ee
...
...
@@ -2,7 +2,6 @@ using System.Collections;
using
UnityEngine.Networking
;
using
UnityEngine
;
using
TMPro
;
using
System.IO
;
using
LitJson
;
using
System
;
...
...
@@ -40,14 +39,14 @@ public class LoginManager : MonoBehaviour
private
void
Awake
()
{
OnReceiveMsg
.
AddListener
(
_getData
);
StartCoroutine
(
GetJson
());
//
StartCoroutine(GetJson());
}
private
void
Start
()
{
StartCoroutine
(
GetPositionData
());
StartCoroutine
(
FaultInformation
());
StartCoroutine
(
GetThreeModelSensorData
());
//
StartCoroutine(GetPositionData());
//
StartCoroutine(FaultInformation());
//
StartCoroutine(GetThreeModelSensorData());
}
public
void
StartLogin
()
...
...
@@ -272,7 +271,7 @@ public class LoginManager : MonoBehaviour
{
try
{
inputFieldData
=
Json
Utility
.
FromJson
<
InputFieldData
>(
rq
.
downloadHandler
.
text
);
inputFieldData
=
Json
Mapper
.
ToObject
<
InputFieldData
>(
rq
.
downloadHandler
.
text
);
if
(
IsLine1
)
{
productionlineID
.
text
=
inputFieldData
.
productionlineID1
;
...
...
Assets/WebGLTemplates/ZeusWebGL/index.html
View file @
3ca4f7ee
...
...
@@ -172,9 +172,9 @@
symbolsUrl
:
buildUrl
+
"/{{{ SYMBOLS_FILENAME }}}"
,
#
endif
streamingAssetsUrl
:
"StreamingAssets"
,
companyName
:
{{{
JSON
.
stringify
(
COMPANY_NAME
)
}}}
,
productName
:
{{{
JSON
.
stringify
(
PRODUCT_NAME
)
}}}
,
productVersion
:
{{{
JSON
.
stringify
(
PRODUCT_VERSION
)
}}}
,
companyName
:
JSON
.
stringify
({{{
COMPANY_NAME
}}}).
replace
(
/^"
(
.*
)
"$/
,
'$1'
)
,
productName
:
JSON
.
stringify
({{{
PRODUCT_NAME
}}}).
replace
(
/^"
(
.*
)
"$/
,
'$1'
)
,
productVersion
:
JSON
.
stringify
({{{
PRODUCT_VERSION
}}}).
replace
(
/^"
(
.*
)
"$/
,
'$1'
)
,
showBanner
:
unityShowBanner
,
};
...
...
ProjectSettings/ProjectSettings.asset
View file @
3ca4f7ee
...
...
@@ -653,7 +653,7 @@ PlayerSettings:
webGLDebugSymbols
:
0
webGLEmscriptenArgs
:
webGLModulesDirectory
:
webGLTemplate
:
APPLICATION:Default
webGLTemplate
:
PROJECT:ZeusWebGL
webGLAnalyzeBuildSize
:
0
webGLUseEmbeddedResources
:
0
webGLCompressionFormat
:
2
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment