I’ve had a case where the Prefab I set into a SerializedField was deleted and I didn’t get an obvious error.
What’s the best way in Unity class to check that you have something assigned in a field expected to be set in the Insprector?
Best I can comeup with so far is to add an if statment in the Awake to check if it’s null and Log an error, but is there a better way? I know RequireComponent does a similar thing for components that should be attacked.
Thanks.