15 lines
		
	
	
		
			260 B
		
	
	
	
		
			C#
		
	
	
	
		
		
			
		
	
	
			15 lines
		
	
	
		
			260 B
		
	
	
	
		
			C#
		
	
	
	
|  | using System.Collections; | |||
|  | using System.Collections.Generic; | |||
|  | using UnityEngine; | |||
|  | 
 | |||
|  | public class UIListCell : MonoBehaviour | |||
|  | { | |||
|  |     public int Index => mIndex; | |||
|  | 
 | |||
|  |     protected int mIndex; | |||
|  | 
 | |||
|  |     public void SetIndex(int pIndex) | |||
|  |     { | |||
|  |         mIndex = pIndex; | |||
|  |     } | |||
|  | } |