public void SetupPreview(UnassignedBehavior editor) { TryClearFieldList(); if (editor == null) { return; } var defaultProps = editor.GetDefaultProperties(); foreach (PropEditor propEditor in defaultProps) { if (IsRelevantField(propEditor)) { SpawnField(propEditor); } } SetPreviewSpacerAndOverlay(HasAnyProps()); }
public PropEditor[] GetDefaultProperties() { return(item.GetDefaultProperties()); }