public override bool HasPreviewGUI() { if (!EditorUtility.IsPersistent(base.target)) { return false; } return this.HasStaticPreview(); }