protected virtual void Awake() { if (!Application.isPlaying) { return; } CustomAttributesChecker.CheckAttributes(this); }
protected virtual void OnValidate() { if ((gameObject.hideFlags & HideFlags.DontSaveInEditor) != 0) { return; } CustomAttributesChecker.CheckAttributes(this); }