14 lines
		
	
	
		
			333 B
		
	
	
	
		
			C#
		
	
	
	
		
		
			
		
	
	
			14 lines
		
	
	
		
			333 B
		
	
	
	
		
			C#
		
	
	
	
| 
								 | 
							
								namespace SRF
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
								    public static class SRFStringExtensions
							 | 
						||
| 
								 | 
							
								    {
							 | 
						||
| 
								 | 
							
								#if UNITY_EDITOR
							 | 
						||
| 
								 | 
							
								        [JetBrains.Annotations.StringFormatMethod("formatString")]
							 | 
						||
| 
								 | 
							
								#endif
							 | 
						||
| 
								 | 
							
								        public static string Fmt(this string formatString, params object[] args)
							 | 
						||
| 
								 | 
							
								        {
							 | 
						||
| 
								 | 
							
								            return string.Format(formatString, args);
							 | 
						||
| 
								 | 
							
								        }
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								}
							 |