mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-06-27 11:54:41 +00:00
23 lines
535 B
C#
23 lines
535 B
C#
|
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>();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|