public abstract class ProbabilityConfig<T> : ScriptableObject where T : Object {
[System.Serializable]
public struct Entry {
[Expandable]
public T Value;
public int Weight;
}
[SerializeField] Entry[] _entries;
Sometimes the inheriting class uses SOs, sometimes it uses other types. In the case where I'm using non-SO types I get a lot of noise in the inspector:
I would like to open a PR that adds an option to suppress this warning, e.g.:
I use the following pattern:
Sometimes the inheriting class uses SOs, sometimes it uses other types. In the case where I'm using non-SO types I get a lot of noise in the inspector:
I would like to open a PR that adds an option to suppress this warning, e.g.: