This commit is contained in:
YangHua 2023-11-20 17:45:05 +08:00
parent 29e4a23181
commit 1a194fa370
2 changed files with 1 additions and 8 deletions

View File

@ -33,11 +33,10 @@ public class DragController : MonoBehaviour, IBeginDragHandler, IEndDragHandler,
} }
} }
public async void OnEndDrag(PointerEventData eventData) public void OnEndDrag(PointerEventData eventData)
{ {
if (model != null) if (model != null)
{ {
model.GetComponent<EquipmentCommon>().isStartRehearsing = GlobalFlag.isStartRehearsing; model.GetComponent<EquipmentCommon>().isStartRehearsing = GlobalFlag.isStartRehearsing;
List<List_paraItem> temp = UIBootstrap.Instance.GetListParaItemById(deviceID); List<List_paraItem> temp = UIBootstrap.Instance.GetListParaItemById(deviceID);

View File

@ -92,10 +92,6 @@ public class GameManager : MonoBehaviour
tenkokuModule.mainCamera = spt.transform; tenkokuModule.mainCamera = spt.transform;
} }
public void Start() public void Start()
{ {
SetWeatherValue(); SetWeatherValue();
@ -105,8 +101,6 @@ public class GameManager : MonoBehaviour
} }
public void OnOtherPlayerOnline(string msg) public void OnOtherPlayerOnline(string msg)
{ {
StopCoroutine(WaitSpawn(msg)); StopCoroutine(WaitSpawn(msg));