Did a few things
This commit is contained in:
20
Assets/UserReporting/Scripts/UserReportingConfigureOnly.cs
Normal file
20
Assets/UserReporting/Scripts/UserReportingConfigureOnly.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
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
|
||||
}
|
Reference in New Issue
Block a user