1
0
Fork 0
LaboratoryProtection/Assets/PMaker/Set/ObjectSetInitializerBase.cs

20 lines
407 B
C#
Raw Normal View History

2023-09-12 15:55:51 +08:00
using Sirenix.OdinInspector;
using UnityEngine;
namespace PMaker.Set
{
public abstract class ObjectSetInitializerBase : BaseBehaviour
{
[SerializeField]
protected ObjectSet _set;
private void Reset()
{
this._set = this.transform.GetComponentInChildren<ObjectSet>(true);
}
[Button]
protected abstract void SetValue();
}
}