尝试修复Loading页面跳步不消失问题
This commit is contained in:
parent
d425a98349
commit
7ba69600f6
@ -193,12 +193,12 @@ public class OperationController : MonoSingleton<OperationController>
|
|||||||
|
|
||||||
public void RunCurAction(IAction curAction, int targetIndex)
|
public void RunCurAction(IAction curAction, int targetIndex)
|
||||||
{
|
{
|
||||||
|
TypeEventSystem.Global.Send<OnLoadingHide>();
|
||||||
if (curAction != null)
|
if (curAction != null)
|
||||||
{
|
{
|
||||||
this.index = targetIndex;
|
this.index = targetIndex;
|
||||||
isStepRun = true;
|
isStepRun = true;
|
||||||
TypeEventSystem.Global.Send(new StepStatusOnChange() { curIndex = targetIndex, status = StepStatus.Start });
|
TypeEventSystem.Global.Send(new StepStatusOnChange() { curIndex = targetIndex, status = StepStatus.Start });
|
||||||
TypeEventSystem.Global.Send<OnLoadingHide>();
|
|
||||||
curAction.Start(this, () =>
|
curAction.Start(this, () =>
|
||||||
{
|
{
|
||||||
isStepRun = false;
|
isStepRun = false;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user