23 lines
		
	
	
		
			462 B
		
	
	
	
		
			C#
		
	
	
	
		
		
			
		
	
	
			23 lines
		
	
	
		
			462 B
		
	
	
	
		
			C#
		
	
	
	
|  | using System; | |||
|  | using System.Collections.Generic; | |||
|  | using UnityEngine; | |||
|  | 
 | |||
|  | public class LevelConfig : ConfigBase<LevelConfig> | |||
|  | { | |||
|  |     public List<LevelData> DataList; | |||
|  | } | |||
|  | 
 | |||
|  | [Serializable] | |||
|  | public class LevelData | |||
|  | { | |||
|  |     public int RetryTotal => Retry1Num + Retry2Num; | |||
|  | 
 | |||
|  |     public int LevelID; | |||
|  |     public int FirstNum; | |||
|  |     public int Retry1Num; | |||
|  |     public int Retry2Num; | |||
|  |     public int TotalNum; | |||
|  |     public int UnitNum; | |||
|  |     public int MaxLevel; | |||
|  |     public string Formation; | |||
|  | } |