GeoJam2021/Assets/UserReporting/Scripts/UserReportingConfigureOnly.cs
2021-07-23 09:45:12 +02:00

20 lines
452 B
C#

using Unity.Cloud.UserReporting.Plugin;
using UnityEngine;
/// <summary>
/// Represents a behavior that configures user reporting, but does not provide any additional functionality.
/// </summary>
public class UserReportingConfigureOnly : MonoBehaviour
{
#region Methods
private void Start()
{
if (UnityUserReporting.CurrentClient == null)
{
UnityUserReporting.Configure();
}
}
#endregion
}