20 lines
452 B
C#
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
|
|||
|
}
|