GeoJam2021/Assets/UserReporting/Scripts/UserReportingConfigureOnly.cs

20 lines
452 B
C#
Raw Normal View History

2021-07-23 09:45:12 +02:00
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
}