You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
535 B
23 lines
535 B
1 year ago
|
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>();
|
||
|
}
|
||
|
}
|
||
|
}
|