1
This commit is contained in:
@@ -3,16 +3,16 @@ using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
namespace BITKit
|
||||
{
|
||||
public class ShowProfiler : BITBehavior
|
||||
public class ShowProfiler : MonoBehaviour
|
||||
{
|
||||
[Header(Constant.Header.Settings)]
|
||||
[SubclassSelector, SerializeReference] public References pingAddress;
|
||||
[SerializeField] private IntervalUpdate fpsInterval;
|
||||
[Header(Constant.Header.Output)]
|
||||
[SerializeField,SerializeReference,SubclassSelector] private IProvider fpsOutput;
|
||||
[SerializeField,SerializeReference,SubclassSelector] private IProvider pingOutput;
|
||||
[SerializeField,SerializeReference,SubclassSelector] private IProvider resolutionOutput;
|
||||
[SerializeField,SerializeReference,SubclassSelector] private IProvider frameRateOutput;
|
||||
[SerializeReference,SubclassSelector] private IProvider fpsOutput;
|
||||
[SerializeReference,SubclassSelector] private IProvider pingOutput;
|
||||
[SerializeReference,SubclassSelector] private IProvider resolutionOutput;
|
||||
[SerializeReference,SubclassSelector] private IProvider frameRateOutput;
|
||||
private readonly DeltaTimer timer = new();
|
||||
private Ping ping;
|
||||
[Header(Constant.Header.InternalVariables)]
|
||||
@@ -41,10 +41,5 @@ namespace BITKit
|
||||
? "Unlimited"
|
||||
: Application.targetFrameRate.ToString());
|
||||
}
|
||||
|
||||
public override string GetName()
|
||||
{
|
||||
return nameof(ShowProfiler);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user