Assets/Scripts/TowerDefense/Towers/Placement/TowerPlacementGridEndless.cs
@@ -550,22 +550,6 @@ } /// <summary> /// OnGUI is called for rendering and handling GUI events. /// This function can be called multiple times per frame (one call per event). /// </summary> void OnGUI() { if (GUILayout.Button("11111111111111111111111111111111111111111111111111")) { //AudioSourceManager.Ins.Play(AudioEnum.BGM1); preCalculateGridUIPos(); } } void ResetPos(){ } /// <summary> /// 预计算塔位格子对应的屏幕坐标以及塔位格子的屏幕尺寸 /// WORK START: 计算屏幕坐标,然后开搞屏幕相关的内容。下午要把塔位上显示界面搞出来。 /// WORK START: 为什么OppoGrid对应的屏幕坐标不对?