You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			39 lines
		
	
	
		
			902 B
		
	
	
	
		
			C#
		
	
			
		
		
	
	
			39 lines
		
	
	
		
			902 B
		
	
	
	
		
			C#
		
	
| using Game.Battle;
 | |
| 
 | |
| namespace Game
 | |
| {
 | |
|     public class PageDie : UIPageBase<ViewDie>
 | |
|     {
 | |
|         public PageDie()
 | |
|         {
 | |
|         }
 | |
|         protected override void OnCreate()
 | |
|         {
 | |
|             CreateUI(true);
 | |
|         }
 | |
|         protected override void OnDestroy()
 | |
|         {
 | |
|         }
 | |
|         protected override void OnOpen()
 | |
|         {
 | |
|             Util.SetTimeScale(0);
 | |
|         }
 | |
|         protected override void OnClose()
 | |
|         {
 | |
|             Util.SetTimeScale(1);
 | |
|         }
 | |
|         public override void Update()
 | |
|         {
 | |
| 
 | |
|         }
 | |
|         protected override void OnInput(PPlayerInput context)
 | |
|         {
 | |
|             if (context.Action == EKeyActionType.Press)
 | |
|             {
 | |
|                 UIManager.Instance.Close();
 | |
|                 Util.EntityReborn(Util.GetMaster());
 | |
|                 Util.EnterLevel(GameConst.LevelHome);
 | |
|             }
 | |
|         }
 | |
|     }
 | |
| } |