看板娘调整界面 增加自带返回时的修改保存
parent
2575cb9716
commit
3c7d3f1daa
|
|
@ -296,15 +296,17 @@ public class UICameraAndPosterChangeController : UIWindow
|
|||
#endregion
|
||||
}
|
||||
|
||||
public override UniTask<bool> OnBack(object data = null)
|
||||
{
|
||||
public override UniTask<bool> OnBack(object data = null)
|
||||
{
|
||||
if (inPosterEdit)
|
||||
{
|
||||
EventManager.Instance.Send(EventManager.EventName.MainPanelPosterRelocateCancel);
|
||||
return new UniTask<bool>(true);
|
||||
}
|
||||
return base.OnBack(data);
|
||||
}
|
||||
}
|
||||
if (_CheckAndSaveChange())
|
||||
return new UniTask<bool>(true);
|
||||
return base.OnBack(data);
|
||||
}
|
||||
|
||||
#region #Event Function
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue