This repository has been archived on 2023-09-13. You can view files and clone it, but cannot push or open issues or pull requests.
station_obscurum_unity/Assets/FishNet/Runtime/Object/NetworkBehaviour.Logging.cs

22 lines
528 B
C#
Raw Normal View History

2023-05-31 17:32:21 +02:00
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);
}
}
}