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
ccc6f93e
Commit
ccc6f93e
authored
Jul 02, 2024
by
杨泽宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新
parent
1e0ae469
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
846 additions
and
42 deletions
+846
-42
AGVDemoV2.cs
Assets/Scripts/Components/AGV/AGVDemoV2.cs
+34
-6
ReportErrorsUI.cs
Assets/Scripts/Components/AGV/ReportErrorsUI.cs
+11
-0
ReportErrorsUI.cs.meta
Assets/Scripts/Components/AGV/ReportErrorsUI.cs.meta
+11
-0
CheckUINavigation.cs
Assets/Scripts/Components/CheckUINavigation.cs
+47
-0
CheckUINavigation.cs.meta
Assets/Scripts/Components/CheckUINavigation.cs.meta
+11
-0
TouristModeController.cs
Assets/Scripts/Components/TouristModeController.cs
+8
-22
TouristModeInitializer.cs
Assets/Scripts/Components/TouristModeInitializer.cs
+3
-8
1_Main.unity
Assets/_Scenes/1_Main.unity
+324
-5
底框.meta
Assets/_美术资源/UI/UI素材/底框.meta
+8
-0
框-Popup08_Transparent改.png
Assets/_美术资源/UI/UI素材/底框/框-Popup08_Transparent改.png
+0
-0
框-Popup08_Transparent改.png.meta
Assets/_美术资源/UI/UI素材/底框/框-Popup08_Transparent改.png.meta
+123
-0
装饰.meta
Assets/_美术资源/UI/UI素材/装饰.meta
+8
-0
装饰-banner1改.png
Assets/_美术资源/UI/UI素材/装饰/装饰-banner1改.png
+0
-0
装饰-banner1改.png.meta
Assets/_美术资源/UI/UI素材/装饰/装饰-banner1改.png.meta
+123
-0
装饰-圆.png
Assets/_美术资源/UI/UI素材/装饰/装饰-圆.png
+0
-0
装饰-圆.png.meta
Assets/_美术资源/UI/UI素材/装饰/装饰-圆.png.meta
+123
-0
Canvas-3D跟随.prefab
Assets/_预设/UI/Canvas-3D跟随.prefab
+0
-0
Canvas-3D跟随.prefab.meta
Assets/_预设/UI/Canvas-3D跟随.prefab.meta
+7
-0
AGV1.prefab
Assets/_预设/设备/AGV1.prefab
+2
-0
AGV2.prefab
Assets/_预设/设备/AGV2.prefab
+3
-1
No files found.
Assets/Scripts/Components/AGV/AGVDemoV2.cs
View file @
ccc6f93e
...
@@ -2,6 +2,7 @@ using System.Collections;
...
@@ -2,6 +2,7 @@ using System.Collections;
using
System.Collections.Generic
;
using
System.Collections.Generic
;
using
UnityEngine
;
using
UnityEngine
;
using
Zeus.DTC
;
using
Zeus.DTC
;
using
TMPro
;
public
class
AGVDemoV2
:
MonoBehaviour
public
class
AGVDemoV2
:
MonoBehaviour
{
{
...
@@ -11,19 +12,19 @@ public class AGVDemoV2 : MonoBehaviour
...
@@ -11,19 +12,19 @@ public class AGVDemoV2 : MonoBehaviour
public
FacilityManager
facilityManager
;
public
FacilityManager
facilityManager
;
public
void
Update
()
public
string
AGVName
;
{
UpdateErrorReporting
();
public
ReportErrorsUI
ReportErrorsUI
;
}
private
void
Start
()
private
void
Start
()
{
{
StartCoroutine
(
UpdatePosition
());
StartCoroutine
(
UpdatePosition
());
StartCoroutine
(
UpdateErrorReporting
());
}
}
private
void
UpdatePosition1
()
private
void
UpdatePosition1
()
{
{
AGVManager
.
AddMoveMsg
(
"AGV1"
,
manager
.
position
,
manager
.
angle
);
AGVManager
.
AddMoveMsg
(
AGVName
,
manager
.
position
,
manager
.
angle
);
}
}
...
@@ -36,7 +37,17 @@ public class AGVDemoV2 : MonoBehaviour
...
@@ -36,7 +37,17 @@ public class AGVDemoV2 : MonoBehaviour
}
}
}
}
private
void
UpdateErrorReporting
()
private
IEnumerator
UpdateErrorReporting
()
{
while
(
true
)
{
UpdateErrorReporting1
();
yield
return
new
WaitForSeconds
(
60
);
}
}
private
void
UpdateErrorReporting1
()
{
{
if
(
manager
.
Failure
.
code
==
200
)
if
(
manager
.
Failure
.
code
==
200
)
{
{
...
@@ -47,9 +58,26 @@ public class AGVDemoV2 : MonoBehaviour
...
@@ -47,9 +58,26 @@ public class AGVDemoV2 : MonoBehaviour
if
(
facilityManager
.
Facilitys
[
i
].
FacilityName
==
faultData
.
name
)
if
(
facilityManager
.
Facilitys
[
i
].
FacilityName
==
faultData
.
name
)
{
{
facilityManager
.
OpenHighlighter
(
facilityManager
.
Facilitys
[
i
]);
facilityManager
.
OpenHighlighter
(
facilityManager
.
Facilitys
[
i
]);
var
ReportErrors
=
Instantiate
(
ReportErrorsUI
,
facilityManager
.
Facilitys
[
i
].
highlight
.
gameObject
.
transform
);
ReportErrors
.
DeviceName
.
text
=
faultData
.
name
;
ReportErrors
.
ErrorType
.
text
=
faultData
.
faultDesc
;
StartCoroutine
(
DisableHighlightAfterDelay
(
facilityManager
.
Facilitys
[
i
],
300
,
ReportErrors
.
gameObject
));
}
}
}
}
}
}
}
}
}
}
private
IEnumerator
DisableHighlightAfterDelay
(
Facility
facility
,
float
delay
,
GameObject
faultIndicator
)
{
yield
return
new
WaitForSeconds
(
delay
);
facilityManager
.
CloseHighlighter
(
facility
);
// 删除故障指示器
if
(
faultIndicator
!=
null
)
{
Destroy
(
faultIndicator
);
}
}
}
}
Assets/Scripts/Components/AGV/ReportErrorsUI.cs
0 → 100644
View file @
ccc6f93e
using
UnityEngine
;
using
TMPro
;
public
class
ReportErrorsUI
:
MonoBehaviour
{
[
SerializeField
]
public
TMP_Text
DeviceName
;
[
SerializeField
]
public
TMP_Text
ErrorType
;
}
Assets/Scripts/Components/AGV/ReportErrorsUI.cs.meta
0 → 100644
View file @
ccc6f93e
fileFormatVersion: 2
guid: bb25b1432b8844d479d5aae3c02c9837
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/Components/CheckUINavigation.cs
0 → 100644
View file @
ccc6f93e
using
UnityEngine
;
/// <summary>
/// UI跟踪摄像机(挂载到文字上)
/// </summary>
public
class
CheckUINavigation
:
MonoBehaviour
{
private
Camera
mainCamera
;
private
void
Start
()
{
//获取主相机
mainCamera
=
Camera
.
main
;
}
private
void
FixedUpdate
()
{
if
(
mainCamera
!=
null
)
{
// 获取摄像机到Canvas的方向
Vector3
toCanvasDirection
=
transform
.
position
-
mainCamera
.
transform
.
position
;
// 获取摄像机的朝向
Vector3
cameraForward
=
mainCamera
.
transform
.
forward
;
// 使用 Quaternion.FromToRotation 计算两个向量之间的旋转
Quaternion
rotation
=
Quaternion
.
FromToRotation
(
transform
.
forward
,
toCanvasDirection
.
normalized
);
// 通过欧拉角的方式获取绕 Y 轴的旋转角度
float
angle
=
rotation
.
eulerAngles
.
y
;
// 将角度限制在 0 到 360 度之间
angle
=
(
angle
>
180f
)
?
angle
-
360f
:
angle
;
// 根据旋转角度判断是否在UI的背后
if
(
Mathf
.
Abs
(
angle
)
>
90f
)
// 这里修改为你需要的角度阈值
{
// Canvas背对摄像机
// 翻转 UI
transform
.
Rotate
(
Vector3
.
up
,
180f
);
}
else
{
// Canvas朝向摄像机
// 可根据需要进行其他操作
}
}
}
}
Assets/Scripts/Components/CheckUINavigation.cs.meta
0 → 100644
View file @
ccc6f93e
fileFormatVersion: 2
guid: f8be7e65bbf544647943ca46dbed4655
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/Components/TouristModeController.cs
View file @
ccc6f93e
...
@@ -36,14 +36,8 @@ public class TouristModeController : MonoBehaviour
...
@@ -36,14 +36,8 @@ public class TouristModeController : MonoBehaviour
[
Header
(
"机器巡检设置"
)]
[
Header
(
"机器巡检设置"
)]
public
GameObject
CameraInspection1
;
public
GameObject
CameraInspection1
;
public
GameObject
CameraInspection2
;
public
GameObject
CameraInspection2
;
public
GameObject
AGVInspection1
;
public
GameObject
AGVInspection2
;
private
bool
IsInspection1
=
true
;
private
bool
IsInspection1
=
true
;
public
GameObject
Inspection1
;
public
GameObject
Inspection2
;
private
float
speeds
=
1f
;
private
float
speeds
=
1f
;
private
bool
isPaused
=
true
;
private
bool
isPaused
=
true
;
private
float
pauseTime
;
private
float
pauseTime
;
...
@@ -94,20 +88,6 @@ public class TouristModeController : MonoBehaviour
...
@@ -94,20 +88,6 @@ public class TouristModeController : MonoBehaviour
public
void
LinhasComutadoras
()
public
void
LinhasComutadoras
()
{
{
if
(
IsInspection1
)
{
Inspection1
.
SetActive
(
false
);
AGVInspection1
.
SetActive
(
false
);
Inspection2
.
SetActive
(
true
);
AGVInspection2
.
SetActive
(
true
);
}
else
{
Inspection1
.
SetActive
(
true
);
AGVInspection1
.
SetActive
(
true
);
Inspection2
.
SetActive
(
false
);
AGVInspection2
.
SetActive
(
false
);
}
IsInspection1
=
!
IsInspection1
;
IsInspection1
=
!
IsInspection1
;
}
}
...
@@ -118,8 +98,14 @@ public class TouristModeController : MonoBehaviour
...
@@ -118,8 +98,14 @@ public class TouristModeController : MonoBehaviour
public
void
SetArtificial
()
public
void
SetArtificial
()
{
{
ExitObserve
();
ExitObserve
();
CameraInspection1
.
SetActive
(
true
);
if
(
IsInspection1
)
CameraInspection2
.
SetActive
(
true
);
{
CameraInspection1
.
SetActive
(
true
);
}
else
{
CameraInspection2
.
SetActive
(
true
);
}
CharacterModeUI
.
SetActive
(
false
);
CharacterModeUI
.
SetActive
(
false
);
ReturnUI
.
SetActive
(
true
);
ReturnUI
.
SetActive
(
true
);
}
}
...
...
Assets/Scripts/Components/TouristModeInitializer.cs
View file @
ccc6f93e
using
TMPro
;
using
UnityEngine
;
using
UnityEngine
;
using
Cinemachine
;
using
Cinemachine
;
...
@@ -11,6 +11,8 @@ public class TouristModeInitializer : MonoBehaviour
...
@@ -11,6 +11,8 @@ public class TouristModeInitializer : MonoBehaviour
public
bool
IsRobotInspection1
;
public
bool
IsRobotInspection1
;
public
GameObject
CameraInspection
;
public
GameObject
CameraInspection
;
public
GameObject
ReportErrorsUI
;
public
Vector3
area1
;
public
Vector3
area1
;
public
Vector3
area2
;
public
Vector3
area2
;
public
Vector3
area3
;
public
Vector3
area3
;
...
@@ -28,13 +30,10 @@ public class TouristModeInitializer : MonoBehaviour
...
@@ -28,13 +30,10 @@ public class TouristModeInitializer : MonoBehaviour
if
(
IsRobotInspection1
)
if
(
IsRobotInspection1
)
{
{
touristModeController
.
CameraInspection1
=
CameraInspection
;
touristModeController
.
CameraInspection1
=
CameraInspection
;
touristModeController
.
AGVInspection1
=
this
.
gameObject
;
}
}
else
else
{
{
touristModeController
.
CameraInspection2
=
CameraInspection
;
touristModeController
.
CameraInspection2
=
CameraInspection
;
touristModeController
.
AGVInspection2
=
this
.
gameObject
;
this
.
gameObject
.
SetActive
(
false
);
}
}
}
}
}
}
...
@@ -44,22 +43,18 @@ public class TouristModeInitializer : MonoBehaviour
...
@@ -44,22 +43,18 @@ public class TouristModeInitializer : MonoBehaviour
{
{
if
(
other
.
name
==
"台体区域1"
)
if
(
other
.
name
==
"台体区域1"
)
{
{
Debug
.
Log
(
"1"
);
CameraInspection
.
transform
.
eulerAngles
=
area1
;
CameraInspection
.
transform
.
eulerAngles
=
area1
;
}
}
if
(
other
.
name
==
"台体区域2"
)
if
(
other
.
name
==
"台体区域2"
)
{
{
Debug
.
Log
(
"1"
);
CameraInspection
.
transform
.
eulerAngles
=
area2
;
CameraInspection
.
transform
.
eulerAngles
=
area2
;
}
}
if
(
other
.
name
==
"检定区域1"
)
if
(
other
.
name
==
"检定区域1"
)
{
{
Debug
.
Log
(
"1"
);
CameraInspection
.
transform
.
eulerAngles
=
area3
;
CameraInspection
.
transform
.
eulerAngles
=
area3
;
}
}
if
(
other
.
name
==
"检定区域2"
)
if
(
other
.
name
==
"检定区域2"
)
{
{
Debug
.
Log
(
"1"
);
CameraInspection
.
transform
.
eulerAngles
=
area4
;
CameraInspection
.
transform
.
eulerAngles
=
area4
;
}
}
}
}
...
...
Assets/_Scenes/1_Main.unity
View file @
ccc6f93e
This diff is collapsed.
Click to expand it.
Assets/_美术资源/UI/UI素材/底框.meta
0 → 100644
View file @
ccc6f93e
fileFormatVersion: 2
guid: eb42c754784d8b4459f91ef80b658049
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Assets/_美术资源/UI/UI素材/底框/框-Popup08_Transparent改.png
0 → 100644
View file @
ccc6f93e
51.4 KB
Assets/_美术资源/UI/UI素材/底框/框-Popup08_Transparent改.png.meta
0 → 100644
View file @
ccc6f93e
fileFormatVersion: 2
guid: 7c3e9cd8b16a67641968ccc177012b4b
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 0
wrapV: 0
wrapW: 0
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 90, y: 212, z: 90, w: 212}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 1537655665
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Assets/_美术资源/UI/UI素材/装饰.meta
0 → 100644
View file @
ccc6f93e
fileFormatVersion: 2
guid: b9bd49a934b813b498be925e4dcb2a95
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Assets/_美术资源/UI/UI素材/装饰/装饰-banner1改.png
0 → 100644
View file @
ccc6f93e
22.1 KB
Assets/_美术资源/UI/UI素材/装饰/装饰-banner1改.png.meta
0 → 100644
View file @
ccc6f93e
fileFormatVersion: 2
guid: 22aa624819f397c4fb6cea8adf1c8c22
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 0
wrapV: 0
wrapW: 0
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 1174, y: 0, z: 142, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 1537655665
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Assets/_美术资源/UI/UI素材/装饰/装饰-圆.png
0 → 100644
View file @
ccc6f93e
7.89 KB
Assets/_美术资源/UI/UI素材/装饰/装饰-圆.png.meta
0 → 100644
View file @
ccc6f93e
fileFormatVersion: 2
guid: ef5666c4c53cf0b4696d07111d475b2a
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 0
wrapV: 0
wrapW: 0
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Assets/_预设/UI/Canvas-3D跟随.prefab
0 → 100644
View file @
ccc6f93e
This diff is collapsed.
Click to expand it.
Assets/_预设/UI/Canvas-3D跟随.prefab.meta
0 → 100644
View file @
ccc6f93e
fileFormatVersion: 2
guid: 2a25391e5be82954881b4276687dc048
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Assets/_预设/设备/AGV1.prefab
View file @
ccc6f93e
...
@@ -1568,6 +1568,8 @@ MonoBehaviour:
...
@@ -1568,6 +1568,8 @@ MonoBehaviour:
m_EditorClassIdentifier
:
m_EditorClassIdentifier
:
IsRobotInspection1
:
1
IsRobotInspection1
:
1
CameraInspection
:
{
fileID
:
2831112200708131673
}
CameraInspection
:
{
fileID
:
2831112200708131673
}
FaultName
:
{
fileID
:
0
}
FaultyEquipment
:
{
fileID
:
0
}
area1
:
{
x
:
0
,
y
:
0
,
z
:
0
}
area1
:
{
x
:
0
,
y
:
0
,
z
:
0
}
area2
:
{
x
:
0
,
y
:
180
,
z
:
0
}
area2
:
{
x
:
0
,
y
:
180
,
z
:
0
}
area3
:
{
x
:
0
,
y
:
-90
,
z
:
0
}
area3
:
{
x
:
0
,
y
:
-90
,
z
:
0
}
...
...
Assets/_预设/设备/AGV2.prefab
View file @
ccc6f93e
...
@@ -453,7 +453,7 @@ GameObject:
...
@@ -453,7 +453,7 @@ GameObject:
m_Icon
:
{
fileID
:
0
}
m_Icon
:
{
fileID
:
0
}
m_NavMeshLayer
:
0
m_NavMeshLayer
:
0
m_StaticEditorFlags
:
0
m_StaticEditorFlags
:
0
m_IsActive
:
0
m_IsActive
:
1
---
!u!4
&4756991542252936888
---
!u!4
&4756991542252936888
Transform
:
Transform
:
m_ObjectHideFlags
:
0
m_ObjectHideFlags
:
0
...
@@ -601,6 +601,8 @@ MonoBehaviour:
...
@@ -601,6 +601,8 @@ MonoBehaviour:
m_EditorClassIdentifier
:
m_EditorClassIdentifier
:
IsRobotInspection1
:
0
IsRobotInspection1
:
0
CameraInspection
:
{
fileID
:
7301166422595926751
}
CameraInspection
:
{
fileID
:
7301166422595926751
}
FaultName
:
{
fileID
:
0
}
FaultyEquipment
:
{
fileID
:
0
}
area1
:
{
x
:
0
,
y
:
180
,
z
:
0
}
area1
:
{
x
:
0
,
y
:
180
,
z
:
0
}
area2
:
{
x
:
0
,
y
:
0
,
z
:
0
}
area2
:
{
x
:
0
,
y
:
0
,
z
:
0
}
area3
:
{
x
:
0
,
y
:
-90
,
z
:
0
}
area3
:
{
x
:
0
,
y
:
-90
,
z
:
0
}
...
...
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