12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- using System.Collections;
- using System.Collections.Generic;
- using System.Threading.Tasks;
- using UnityEngine;
- using WS;
- public class ShowMapComponent : OperateComponent<ShowMapData>
- {
-
- private MapController mapPop;
- public override void Init()
- {
- }
- public override void StartOperate()
- {
- mapPop = FacadeComponent.Instance.CreateController<MapController>();
- mapPop.OpenView();
-
-
-
-
-
- }
- public override Task StartState()
- {
- if (mapPop != null)
- {
- mapPop.CloseView();
- }
- return Task.CompletedTask;
- }
- public override Task EndState()
- {
- if (mapPop != null)
- {
- mapPop.CloseView();
- }
- return Task.CompletedTask;
- }
- public override void Update()
- {
- }
- }
- public class ShowMapData
- {
-
- public string sceneName;
- }
|