Browse Source

机房信息位置获取修改

蓝色星空 1 year ago
parent
commit
a675c38f98
2 changed files with 4 additions and 7 deletions
  1. 1 0
      Assets/Game/ShowDevice/BasicDeviceControl.cs
  2. 3 7
      Assets/Scenes/LangChaoDemo2.unity

+ 1 - 0
Assets/Game/ShowDevice/BasicDeviceControl.cs

@@ -27,6 +27,7 @@ namespace GHZLangChao
                     ArrowToggleBackground.enabled = true;
 
             });
+            UICallManager.Instance.GetDeviceTransform();
         }
         public void ShowChoose()
         {

+ 3 - 7
Assets/Scenes/LangChaoDemo2.unity

@@ -16699,11 +16699,7 @@ MonoBehaviour:
   m_Script: {fileID: 11500000, guid: a7952e1e75c7cf44c86c9747b0e54515, type: 3}
   m_Name: 
   m_EditorClassIdentifier: 
-  controlPoints:
-  - {fileID: 1163283228}
-  - {fileID: 1663534263}
-  - {fileID: 277939623}
-  - {fileID: 1962958266}
+  global: 1
   lineRenderer: {fileID: 843863016}
   point: {fileID: 491790587}
 --- !u!135 &1163283225
@@ -22483,14 +22479,14 @@ Transform:
   m_PrefabInstance: {fileID: 0}
   m_PrefabAsset: {fileID: 0}
   m_GameObject: {fileID: 1617127046}
-  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+  m_LocalRotation: {x: 0, y: 0.7071068, z: 0, w: 0.7071068}
   m_LocalPosition: {x: 0, y: 0.5, z: -1}
   m_LocalScale: {x: 0.1, y: 0.1, z: 0.1}
   m_ConstrainProportionsScale: 0
   m_Children: []
   m_Father: {fileID: 1012225063}
   m_RootOrder: 6
-  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+  m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0}
 --- !u!23 &1617127049
 MeshRenderer:
   m_ObjectHideFlags: 0