Browse Source

2021 5 18 .2 合并

Dai Guangjun 3 years ago
parent
commit
406c42bd0e

+ 32 - 2
Assets/XDKUnityCloudExamples/Common/Scripts/Test/TeshMap.cs

@@ -36,17 +36,20 @@ public class TeshMap : MonoBehaviour
     ///   场景所有水晶点
     /// </summary>
     public List<Transform> listPoint;
+    public LineRenderer line;
 
     List<Vector3> listPointPos;
+    List<Vector3> listMapRoutePos;
     Vector3 oldPos;
     float times;
-
+    int Index = 0;
     private void Start()
     {
+        listMapRoutePos = new List<Vector3>();
         Debug.Log(mapPointA.eulerAngles + " mapPointA " + mapPointA.localEulerAngles);
         disX = Mathf.Abs(mapPointB.localPosition.x - mapPointA.localPosition.x);
         disZ = Mathf.Abs(mapPointB.localPosition.z - mapPointA.localPosition.z);
-        MapPoint();
+        
     }
 
     private void LateUpdate()
@@ -91,6 +94,33 @@ public class TeshMap : MonoBehaviour
         testMinMapShow.MapRot(z, x, player.transform.localEulerAngles.y - 80);
     }
 
+    public void SettingMapPoint(List<Transform> list_Pos)
+    {
+        //for (int i = 0; i < listPoint.Count; i++)
+        //{
+        //    //listPoint[i].position = list_Pos[i + 3].position;
+        //}
+        MapPoint();
+    }
+
+
+    public void ADDMapRoutePoint(Vector3 pos)
+    {
+        listMapRoutePos.Add(pos);
+    }
+
+    public void SettingMapRoute()
+    {
+        for (int i = 0; i < listMapRoutePos.Count; i++)
+        {
+            float x = Mathf.Abs(listMapRoutePos[i].x - mapPointA.localPosition.x) / disX;
+            float z = Mathf.Abs(listMapRoutePos[i].z - mapPointA.localPosition.z) / disZ;
+            listMapRoutePos[i] = new Vector3(z, x, 0);
+        }
+
+        testMaxMapShow.SettingMapRoute(listMapRoutePos);
+    }
+
     /// <summary>
     ///  计算场景水晶点位置
     /// </summary>

+ 51 - 37
Assets/XDKUnityCloudExamples/Common/Scripts/Test/TestJsonManage.cs

@@ -31,8 +31,9 @@ public class TestJsonManage : MonoBehaviour
     public Root data;
     [HideInInspector]
     public List<GameObject> list_route;
+    public TeshMap teshMap;
     bool isInit = true;
-
+    int index = 0;
     private void Start()
     {
         //  BlueUdp.logMBSRD += AnalysisJson;
@@ -47,49 +48,50 @@ public class TestJsonManage : MonoBehaviour
     /// 处理Json 数据
     /// </summary>
     /// <param name="message"></param>
-    private void AnalysisJson(string message)
+    private void AnalysisJson( string message )
     {
         if (!state)
-            return;
+            return; 
         Debug.Log("Message  aaa  " + message);
-        if (message == "" || message == "Message")
+        if(message == ""||message == "Message")
         {
             Debug.LogError("未接受到json 数据");
             udpClient.SendIpToBluetooth();
             return;
         }
 
-        if (!isInit)
+        if(!isInit)    
             return;
-
+        
         isInit = false;
 
-        data = JsonControl.Instance().ToJsonData(message);
-        //    Debug.Log(data.navLines.Count);
+         data = JsonControl.Instance().ToJsonData(message);
+    //    Debug.Log(data.navLines.Count);
         if (data == null)
             return;
         //  Debug.Log(data.projectId);
         for (int i = 0; i < data.navLines.Count; i++)
         {
-            for (int j = 0; j < data.navLines[i].points.Count; j++)
-            {
-                Debug.Log(data.navLines[i].points[j].MN);
-            }
+            //for (int j = 0; j < data.navLines[i].points.Count; j++)
+            //{
+            //    Debug.Log(data.navLines[i].points[j].MN);
+            //}
             SettingLuJing(data.navLines[i], i);
         }
         SettingObj(data);
         //SettingLuJing(data);
         SettingLuJing(0);
+        teshMap.SettingMapPoint(list_Crystal);
     }
 
     /// <summary>
     ///  设置路径
     /// </summary>
-    private void SettingLuJing(Root data)
+    private void SettingLuJing( Root data)
     {
         for (int i = 0; i < data.navLines.Count; i++)
         {
-            for (int j = 0; j < data.navLines[i].points.Count - 1; j++)
+            for (int j = 0; j < data.navLines[i].points.Count-1; j++)
             {
                 GameObject route = GameObject.Instantiate(meshRoute, meshRoute.transform.parent);
                 Vector3 endPos = new Vector3((float)data.navLines[i].points[j].X, 0, (float)data.navLines[i].points[j].Y);
@@ -103,24 +105,32 @@ public class TestJsonManage : MonoBehaviour
 
     }
 
-    private void SettingLuJing(NavLinesItem data, int Index)
+    private void SettingLuJing(NavLinesItem data , int Index)
     {
         GameObject routes = new GameObject("Route" + Index.ToString());
         routes.transform.parent = meshRoute.transform.parent;
         for (int j = 0; j < data.points.Count - 1; j++)
-        {
-            GameObject route = GameObject.Instantiate(meshRoute, routes.transform);
-            Vector3 endPos = new Vector3((float)data.points[j].X, 0, (float)data.points[j].Y);
-            Vector3 exitPos = new Vector3((float)data.points[j + 1].X, 0, (float)data.points[j + 1].Y);
-            Debug.Log(endPos + "   " + exitPos);
-            route.GetComponent<TestRoute>().SetRoute(endPos, exitPos, Index);
-            route.SetActive(true);
-        }
+            {
+                GameObject route = GameObject.Instantiate(meshRoute, routes.transform);
+                Vector3 endPos = new Vector3((float)data.points[j].X, 0, (float)data.points[j].Y);
+                Vector3 exitPos = new Vector3((float)data.points[j + 1].X, 0, (float)data.points[j + 1].Y);
+                Debug.Log(endPos + "   " + exitPos);      
+                route.GetComponent<TestRoute>().SetRoute(endPos, exitPos , Index);
+                route.SetActive(true);
+
+
+            // 地图显示路径
+            teshMap.ADDMapRoutePoint(endPos);
+                
+            }
+        teshMap.ADDMapRoutePoint(new Vector3((float)data.points[data.points.Count - 1].X, 0, (float)data.points[data.points.Count - 1].Y));
+        teshMap.SettingMapRoute();
+
         list_route.Add(routes);
     }
     public void SettingLuJing(int Index)
     {
-        if (list_route == null || list_route.Count < Index)
+        if(list_route ==null||list_route.Count<Index)
         {
             Debug.LogError(" 未初始化路径 或 所选的路径不存在 ");
             return;
@@ -136,7 +146,7 @@ public class TestJsonManage : MonoBehaviour
 
     private void Update()
     {
-        if (state && UdpClient.logMBSRD != null)
+        if(state && UdpClient.logMBSRD!=null)
         {
             Debug.Log("              UdpClient.logMBSRD");
             UdpClient.logMBSRD(result);
@@ -161,7 +171,7 @@ public class TestJsonManage : MonoBehaviour
     ///  设置物体位置 和 触发范围 
     /// </summary>
     /// <param name="data"></param>
-    private void SettingObj(Root data)
+    private void SettingObj( Root data)
     {
         for (int i = 0; i < data.navLines.Count; i++)
         {
@@ -172,13 +182,13 @@ public class TestJsonManage : MonoBehaviour
                     switch (data.navLines[i].points[j].MN)
                     {
                         case "Transformers":
-                            QueryBox("P6", data.navLines[i].points[j]);
+                            QueryBox("P6", data.navLines[i].points[j]);  
                             break;
                         case "Car":
                             QueryBox("P4Car", data.navLines[i].points[j]);
                             break;
                         case "Solar":
-                            QueryBox("P2Galaxy", data.navLines[i].points[j]);
+                            QueryBox("QuestionContral", data.navLines[i].points[j]);
                             break;
                         case "Library":
                             // 博物馆 前4个触发器改为一个触发器
@@ -203,18 +213,19 @@ public class TestJsonManage : MonoBehaviour
     /// <param name="Name"></param>
     /// <param name="points"></param>
     private void QueryBox(string Name, PointsItem points)
-    {
+    { 
         for (int i = 0; i < list_Obj.Count; i++)
         {
             if (list_Obj[i].name == Name)
             {
                 SettingBox(list_Box[i], list_Obj[i], list_Crystal[i], points);
+                Debug.Log(list_Box[i].name + list_Crystal[i].name + list_Obj[i].name);
                 break;
 
             }
         }
     }
-
+   
     /// <summary>
     /// 设置物体位置 和触发范围
     /// </summary>
@@ -222,30 +233,33 @@ public class TestJsonManage : MonoBehaviour
     /// <param name="obj">显示物体</param>
     /// <param name="crystal">水晶点</param>
     /// <param name="points"></param>
-    private void SettingBox(Transform box, Transform obj, Transform crystal, PointsItem points)
+    private void SettingBox( Transform box , Transform obj, Transform crystal,  PointsItem points )
     {
-        box.position = new Vector3((float)points.X, -1f, (float)points.Y);
+        box.position = new Vector3((float)points.X, -1f, (float)points.Y);     
         crystal.position = new Vector3(box.position.x, -3f, box.position.z);
-        obj.position = new Vector3((float)points.MP[0].X, points.MP[0].Z == -1 ? obj.position.y : (float)points.MP[0].Z, (float)points.MP[0].Y);
+        obj.position = new Vector3((float)points.MP[0].X, points.MP[0].Z==-1?obj.position.y:(float)points.MP[0].Z, (float)points.MP[0].Y);
+       
     }
-
+ 
     private void SettingBox(Transform obj, MPItem mpItem)
     {
-        obj.position = new Vector3((float)mpItem.X, mpItem.Z == -1 ? obj.position.y : (float)mpItem.Z, (float)mpItem.Y);
+        obj.position = new Vector3((float)mpItem.X,mpItem.Z==-1?obj.position.y: (float)mpItem.Z, (float)mpItem.Y);
+        
     }
 
     private void SettingBox(Transform obj, Vector3 mpItem)
     {
         Debug.Log(obj.name);
-        obj.position = new Vector3((float)mpItem.x, obj.position.y, (float)mpItem.y);
+        obj.position = new Vector3((float)mpItem.x,  obj.position.y, (float)mpItem.y);
         list_Crystal[0].position = new Vector3(obj.position.x, -2.5f, obj.position.z);
+       
     }
 
     IEnumerator Test()
     {
         WWW www = new WWW(Application.streamingAssetsPath + "/projectInfo.json");
         yield return www;
-        string message = www.text;
+        string  message = www.text;
         Debug.Log(message);
         AnalysisJson(message);
     }

+ 18 - 0
Assets/XDKUnityCloudExamples/Common/Scripts/Test/TestMapShow.cs

@@ -14,6 +14,8 @@ public class TestMapShow : MonoBehaviour
     public Transform mapParent;
     public Image point;
     public Color lucency;
+    public LineRenderer line;
+    public RectTransform Rpoint;
     Vector2 startMapPos;
 
     private void Start()
@@ -70,6 +72,8 @@ public class TestMapShow : MonoBehaviour
         {
             listAllPoint[i].DOColor(new Color(listAllPoint[i].color.r, listAllPoint[i].color.g, listAllPoint[i].color.b, state?0: lucency.a), 1f);
         }
+       
+        line.gameObject.SetActive(!state);
     }
     /// <summary>
     /// 设置地图透明度
@@ -99,4 +103,18 @@ public class TestMapShow : MonoBehaviour
         mapPlayer2.transform.parent = canvas.transform;
         mapPlayer.transform.SetAsLastSibling();
     }
+
+    public void SettingMapRoute(List<Vector3> listMapRoutePos)
+    {
+        line.positionCount = listMapRoutePos.Count-8;
+        for (int i = 8; i < listMapRoutePos.Count; i++)
+        {
+            Rpoint.anchoredPosition = new Vector3(canvas.rect.width * listMapRoutePos[i].x, canvas.rect.height * listMapRoutePos[i].y, transform.position.z);
+            listMapRoutePos[i] = Rpoint.position;
+            line.SetPosition(i-8, listMapRoutePos[i]);
+        }
+
+        
+       
+    }
 }

+ 237 - 11
Assets/XDKUnityCloudExamples/Demo/Scenes/Demo.unity

@@ -2112,6 +2112,12 @@ GameObject:
     type: 3}
   m_PrefabInstance: {fileID: 798969608916956821}
   m_PrefabAsset: {fileID: 0}
+--- !u!224 &123602702 stripped
+RectTransform:
+  m_CorrespondingSourceObject: {fileID: 798969608862036379, guid: 33a156d487b1c83498375053012dc7f8,
+    type: 3}
+  m_PrefabInstance: {fileID: 798969608916956821}
+  m_PrefabAsset: {fileID: 0}
 --- !u!114 &123602703 stripped
 MonoBehaviour:
   m_CorrespondingSourceObject: {fileID: 798969608862036378, guid: 33a156d487b1c83498375053012dc7f8,
@@ -5170,6 +5176,81 @@ MeshRenderer:
   m_SortingLayerID: 0
   m_SortingLayer: 0
   m_SortingOrder: 0
+--- !u!1 &350232745
+GameObject:
+  m_ObjectHideFlags: 0
+  m_CorrespondingSourceObject: {fileID: 0}
+  m_PrefabInstance: {fileID: 0}
+  m_PrefabAsset: {fileID: 0}
+  serializedVersion: 6
+  m_Component:
+  - component: {fileID: 350232746}
+  - component: {fileID: 350232748}
+  - component: {fileID: 350232747}
+  m_Layer: 5
+  m_Name: RoutePoint
+  m_TagString: Untagged
+  m_Icon: {fileID: 0}
+  m_NavMeshLayer: 0
+  m_StaticEditorFlags: 0
+  m_IsActive: 1
+--- !u!224 &350232746
+RectTransform:
+  m_ObjectHideFlags: 0
+  m_CorrespondingSourceObject: {fileID: 0}
+  m_PrefabInstance: {fileID: 0}
+  m_PrefabAsset: {fileID: 0}
+  m_GameObject: {fileID: 350232745}
+  m_LocalRotation: {x: -0, y: -0, z: 0.7071068, w: 0.7071068}
+  m_LocalPosition: {x: 0, y: 0, z: 0.000098243}
+  m_LocalScale: {x: 2.9697723, y: 2.9697723, z: 2.9697716}
+  m_Children: []
+  m_Father: {fileID: 2098391563}
+  m_RootOrder: 2
+  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 90}
+  m_AnchorMin: {x: 0, y: 0}
+  m_AnchorMax: {x: 0, y: 0}
+  m_AnchoredPosition: {x: 368.99973, y: 322.99994}
+  m_SizeDelta: {x: 40, y: 20}
+  m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &350232747
+MonoBehaviour:
+  m_ObjectHideFlags: 0
+  m_CorrespondingSourceObject: {fileID: 0}
+  m_PrefabInstance: {fileID: 0}
+  m_PrefabAsset: {fileID: 0}
+  m_GameObject: {fileID: 350232745}
+  m_Enabled: 0
+  m_EditorHideFlags: 0
+  m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
+  m_Name: 
+  m_EditorClassIdentifier: 
+  m_Material: {fileID: 2100000, guid: f42e370924eb6c54d82aa01fad7953ae, type: 2}
+  m_Color: {r: 1, g: 0, b: 0, a: 1}
+  m_RaycastTarget: 1
+  m_OnCullStateChanged:
+    m_PersistentCalls:
+      m_Calls: []
+    m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+      Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+  m_Sprite: {fileID: 21300000, guid: 7a1dfdc297505c543b31fdd0d7c1f707, type: 3}
+  m_Type: 0
+  m_PreserveAspect: 0
+  m_FillCenter: 1
+  m_FillMethod: 4
+  m_FillAmount: 1
+  m_FillClockwise: 1
+  m_FillOrigin: 0
+  m_UseSpriteMesh: 0
+  m_PixelsPerUnitMultiplier: 1
+--- !u!222 &350232748
+CanvasRenderer:
+  m_ObjectHideFlags: 0
+  m_CorrespondingSourceObject: {fileID: 0}
+  m_PrefabInstance: {fileID: 0}
+  m_PrefabAsset: {fileID: 0}
+  m_GameObject: {fileID: 350232745}
+  m_CullTransparentMesh: 0
 --- !u!1 &353754082
 GameObject:
   m_ObjectHideFlags: 0
@@ -5624,6 +5705,131 @@ Transform:
     type: 3}
   m_PrefabInstance: {fileID: 380026888}
   m_PrefabAsset: {fileID: 0}
+--- !u!1 &382232265
+GameObject:
+  m_ObjectHideFlags: 0
+  m_CorrespondingSourceObject: {fileID: 0}
+  m_PrefabInstance: {fileID: 0}
+  m_PrefabAsset: {fileID: 0}
+  serializedVersion: 6
+  m_Component:
+  - component: {fileID: 382232267}
+  - component: {fileID: 382232266}
+  m_Layer: 0
+  m_Name: Line
+  m_TagString: Untagged
+  m_Icon: {fileID: 0}
+  m_NavMeshLayer: 0
+  m_StaticEditorFlags: 0
+  m_IsActive: 1
+--- !u!120 &382232266
+LineRenderer:
+  m_ObjectHideFlags: 0
+  m_CorrespondingSourceObject: {fileID: 0}
+  m_PrefabInstance: {fileID: 0}
+  m_PrefabAsset: {fileID: 0}
+  m_GameObject: {fileID: 382232265}
+  m_Enabled: 1
+  m_CastShadows: 1
+  m_ReceiveShadows: 1
+  m_DynamicOccludee: 1
+  m_MotionVectors: 0
+  m_LightProbeUsage: 0
+  m_ReflectionProbeUsage: 0
+  m_RenderingLayerMask: 1
+  m_RendererPriority: 0
+  m_Materials:
+  - {fileID: 2100000, guid: f42e370924eb6c54d82aa01fad7953ae, type: 2}
+  m_StaticBatchInfo:
+    firstSubMesh: 0
+    subMeshCount: 0
+  m_StaticBatchRoot: {fileID: 0}
+  m_ProbeAnchor: {fileID: 0}
+  m_LightProbeVolumeOverride: {fileID: 0}
+  m_ScaleInLightmap: 1
+  m_ReceiveGI: 1
+  m_PreserveUVs: 0
+  m_IgnoreNormalsForChartDetection: 0
+  m_ImportantGI: 0
+  m_StitchLightmapSeams: 1
+  m_SelectedEditorRenderState: 3
+  m_MinimumChartSize: 4
+  m_AutoUVMaxDistance: 0.5
+  m_AutoUVMaxAngle: 89
+  m_LightmapParameters: {fileID: 0}
+  m_SortingLayerID: 0
+  m_SortingLayer: 0
+  m_SortingOrder: 0
+  m_Positions: []
+  m_Parameters:
+    serializedVersion: 3
+    widthMultiplier: 0.1
+    widthCurve:
+      serializedVersion: 2
+      m_Curve:
+      - serializedVersion: 3
+        time: 0
+        value: 0.042966843
+        inSlope: 0
+        outSlope: 0
+        tangentMode: 0
+        weightedMode: 0
+        inWeight: 0.33333334
+        outWeight: 0.33333334
+      m_PreInfinity: 2
+      m_PostInfinity: 2
+      m_RotationOrder: 4
+    colorGradient:
+      serializedVersion: 2
+      key0: {r: 0, g: 0.9077401, b: 1, a: 1}
+      key1: {r: 0, g: 0.87953043, b: 1, a: 1}
+      key2: {r: 0, g: 0, b: 0, a: 0}
+      key3: {r: 0, g: 0, b: 0, a: 0}
+      key4: {r: 0, g: 0, b: 0, a: 0}
+      key5: {r: 0, g: 0, b: 0, a: 0}
+      key6: {r: 0, g: 0, b: 0, a: 0}
+      key7: {r: 0, g: 0, b: 0, a: 0}
+      ctime0: 0
+      ctime1: 65535
+      ctime2: 0
+      ctime3: 0
+      ctime4: 0
+      ctime5: 0
+      ctime6: 0
+      ctime7: 0
+      atime0: 0
+      atime1: 65535
+      atime2: 0
+      atime3: 0
+      atime4: 0
+      atime5: 0
+      atime6: 0
+      atime7: 0
+      m_Mode: 0
+      m_NumColorKeys: 2
+      m_NumAlphaKeys: 2
+    numCornerVertices: 0
+    numCapVertices: 0
+    alignment: 1
+    textureMode: 2
+    shadowBias: 0.5
+    generateLightingData: 0
+  m_UseWorldSpace: 0
+  m_Loop: 0
+--- !u!4 &382232267
+Transform:
+  m_ObjectHideFlags: 0
+  m_CorrespondingSourceObject: {fileID: 0}
+  m_PrefabInstance: {fileID: 0}
+  m_PrefabAsset: {fileID: 0}
+  m_GameObject: {fileID: 382232265}
+  m_LocalRotation: {x: -0, y: -0, z: -0.7229671, w: 0.6908825}
+  m_LocalPosition: {x: -358, y: 500.43, z: -1081.6001}
+  m_LocalScale: {x: 1538.4617, y: 1326.4463, z: 784.8926}
+  m_Children: []
+  m_Father: {fileID: 123602702}
+  m_RootOrder: 1
+  m_LocalEulerAnglesHint: {x: 0, y: 0, z: -92.6}
 --- !u!1 &383808384
 GameObject:
   m_ObjectHideFlags: 0
@@ -10504,11 +10710,6 @@ PrefabInstance:
   m_Modification:
     m_TransformParent: {fileID: 1074243345}
     m_Modifications:
-    - target: {fileID: 8487014886471357456, guid: a300aebea814eb14f85bfd9a204b49b7,
-        type: 3}
-      propertyPath: m_Name
-      value: PressableButton (4)
-      objectReference: {fileID: 0}
     - target: {fileID: 8487014886471357461, guid: a300aebea814eb14f85bfd9a204b49b7,
         type: 3}
       propertyPath: m_LocalPosition.x
@@ -10579,6 +10780,11 @@ PrefabInstance:
       propertyPath: m_LocalScale.z
       value: 0.95
       objectReference: {fileID: 0}
+    - target: {fileID: 8487014886471357456, guid: a300aebea814eb14f85bfd9a204b49b7,
+        type: 3}
+      propertyPath: m_Name
+      value: PressableButton (4)
+      objectReference: {fileID: 0}
     - target: {fileID: 8487014887564030250, guid: a300aebea814eb14f85bfd9a204b49b7,
         type: 3}
       propertyPath: m_IsActive
@@ -12394,6 +12600,8 @@ MonoBehaviour:
   mapParent: {fileID: 2101773373}
   point: {fileID: 10039767}
   lucency: {r: 1, g: 1, b: 1, a: 0.6117647}
+  line: {fileID: 382232266}
+  Rpoint: {fileID: 350232746}
   listAllPoint: []
 --- !u!1 &1028935606
 GameObject:
@@ -14331,7 +14539,7 @@ MonoBehaviour:
   - {fileID: 1664086427}
   - {fileID: 837362593}
   - {fileID: 217931932}
-  - {fileID: 388689489}
+  - {fileID: 92890355}
   list_Box:
   - {fileID: 1246477379}
   - {fileID: 416153020}
@@ -14353,6 +14561,7 @@ MonoBehaviour:
   udpClient: {fileID: 808391225}
   isSlam: 0
   list_route: []
+  teshMap: {fileID: 1801162214}
 --- !u!1 &1232781751
 GameObject:
   m_ObjectHideFlags: 0
@@ -18226,11 +18435,6 @@ PrefabInstance:
   m_Modification:
     m_TransformParent: {fileID: 471256621}
     m_Modifications:
-    - target: {fileID: 8487014886471357456, guid: a300aebea814eb14f85bfd9a204b49b7,
-        type: 3}
-      propertyPath: m_Name
-      value: PressableButton (4)
-      objectReference: {fileID: 0}
     - target: {fileID: 8487014886471357461, guid: a300aebea814eb14f85bfd9a204b49b7,
         type: 3}
       propertyPath: m_LocalPosition.x
@@ -18301,6 +18505,11 @@ PrefabInstance:
       propertyPath: m_LocalScale.z
       value: 0.95
       objectReference: {fileID: 0}
+    - target: {fileID: 8487014886471357456, guid: a300aebea814eb14f85bfd9a204b49b7,
+        type: 3}
+      propertyPath: m_Name
+      value: PressableButton (4)
+      objectReference: {fileID: 0}
     - target: {fileID: 8487014887564030250, guid: a300aebea814eb14f85bfd9a204b49b7,
         type: 3}
       propertyPath: m_IsActive
@@ -22728,6 +22937,7 @@ MonoBehaviour:
   - {fileID: 1335957573}
   - {fileID: 198380072}
   - {fileID: 446303757}
+  line: {fileID: 382232266}
 --- !u!1 &1802815758
 GameObject:
   m_ObjectHideFlags: 0
@@ -27068,6 +27278,12 @@ Transform:
   m_Father: {fileID: 471256621}
   m_RootOrder: 2
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!224 &2098391563 stripped
+RectTransform:
+  m_CorrespondingSourceObject: {fileID: 798969609322864362, guid: 33a156d487b1c83498375053012dc7f8,
+    type: 3}
+  m_PrefabInstance: {fileID: 798969608916956821}
+  m_PrefabAsset: {fileID: 0}
 --- !u!1 &2101773372
 GameObject:
   m_ObjectHideFlags: 0
@@ -28068,6 +28284,16 @@ PrefabInstance:
       propertyPath: m_IsActive
       value: 0
       objectReference: {fileID: 0}
+    - target: {fileID: 798969608862036378, guid: 33a156d487b1c83498375053012dc7f8,
+        type: 3}
+      propertyPath: Rpoint
+      value: 
+      objectReference: {fileID: 350232746}
+    - target: {fileID: 798969608862036378, guid: 33a156d487b1c83498375053012dc7f8,
+        type: 3}
+      propertyPath: line
+      value: 
+      objectReference: {fileID: 382232266}
     - target: {fileID: 798969608862036379, guid: 33a156d487b1c83498375053012dc7f8,
         type: 3}
       propertyPath: m_LocalPosition.x