/// <summary> /// Pops up. /// </summary> /// <param name="text">Text.</param> /// <param name="type">Type.</param> /// <param name="finished">Finished.</param> public virtual void PopUp(string text, PopUpType type, PopUpController.FinishedDelegate finished = null) { PopUp (popUpSceneName, new PopUpData (text, type), delegate(SSceneController ctrl) { PopUpController popUp = (PopUpController)ctrl; popUp.finishedDelegate = finished; }); }