23 lines
535 B
C#
Raw Normal View History

2024-08-17 14:27:18 +08:00
using UnityEngine;
namespace BestHTTP.Examples.Helpers
{
public abstract class SampleBase : MonoBehaviour
{
[Header("Common Properties")]
public string Category;
public string DisplayName;
[TextArea]
public string Description;
public RuntimePlatform[] BannedPlatforms = new RuntimePlatform[0];
protected SampleRoot sampleSelector;
protected virtual void Start()
{
this.sampleSelector = FindObjectOfType<SampleRoot>();
}
}
}