private void ExcutePopdown(FageUIManager manager, FageUIRequest request) { Queue queue = manager.GetQueue (); if (queue.Count > 0) { FageUIPopupMem current = queue.Peek () as FageUIPopupMem; this.current = current; current.Instantiate (manager.canvas, request.param); } else { manager.GetRequests ().Dequeue (); manager.ReserveState ("FageUIManagerIdle"); return; } }
private void ExcutePopdown(FageUIManager manager, FageUIRequest request) { Queue queue = manager.GetQueue(); if (queue.Count > 0) { FageUIPopupMem current = queue.Peek() as FageUIPopupMem; this.current = current; current.Instantiate(manager.canvas, request.param); } else { manager.GetRequests().Dequeue(); manager.ReserveState("FageUIManagerIdle"); return; } }
private void ExcutePush(FageUIManager manager, FageUIRequest request) { Stack stack = manager.GetStack(); if (stack.Count > 0) { FageUIMem current = stack.Peek() as FageUIMem; this.current = current; current.Instantiate(manager.canvas, request.param); } else { manager.GetRequests().Dequeue(); manager.ReserveState("FageUIManagerIdle"); return; } }
private void ExcutePush(FageUIManager manager, FageUIRequest request) { Stack stack = manager.GetStack (); if (stack.Count > 0) { FageUIMem current = stack.Peek () as FageUIMem; this.current = current; current.Instantiate (manager.canvas, request.param); } else { manager.GetRequests ().Dequeue (); manager.ReserveState ("FageUIManagerIdle"); return; } }