22 lines
		
	
	
		
			528 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			528 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using FishNet.Managing.Logging;
 | |
| using UnityEngine;
 | |
| 
 | |
| namespace FishNet.Object
 | |
| {
 | |
| 
 | |
|     public abstract partial class NetworkBehaviour : MonoBehaviour
 | |
|     {
 | |
| 
 | |
|         /// <summary>
 | |
|         /// True if can log for loggingType.
 | |
|         /// </summary>
 | |
|         /// <param name="loggingType">Type of logging being filtered.</param>
 | |
|         /// <returns></returns>
 | |
|         public bool CanLog(LoggingType loggingType)
 | |
|         {
 | |
|             return (NetworkManager == null) ? false : NetworkManager.CanLog(loggingType);
 | |
|         }
 | |
|     }
 | |
| 
 | |
| 
 | |
| } |