Skip to content

Conversation

@FreezyExp
Copy link
Contributor

Changes

  • Add shouldDrawGotoButton and shouldDrawPreviewButton to CollectionItemEditorOptions, use auto-properties

  • Added OptionsAttribute getting and passing through to CollectionItemPropertyDrawer

  • Changed CollectionItemPropertyDrawer to allow for OptionsAttribute to be provided in constructor

  • Refactored CollectionItemIndirectReferencePropertyDrawer OnGUI into subfunctions for readability

  • Change DrawGotoButton to use the same parameters as DrawEditFoldoutButton

  • Renamed CollectionItemItemPropertyDrawer to CollectionItemPropertyDrawer

Unrelated to Expanded Options:

  • Fix T is also used as the Type variable of the class by using TInstance instead of T (+5 squashed commit)
  • Add [Preserve] to AoT helper code, so that it survives code stripping

@brunomikoski
Copy link
Owner

Nice work! :)

Thanks for the contribution!

@brunomikoski brunomikoski reopened this Sep 3, 2021
@brunomikoski brunomikoski merged commit 396cfa8 into brunomikoski:master Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants