20 lines
407 B
C#
20 lines
407 B
C#
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();
|
|
}
|
|
} |