CareBoo / Serially

Adds a unity-supported, SerializableType class and an inspector for editing SerializeReference fields.
MIT License
40 stars 0 forks source link

jasonboukheir/issue53 #55

Closed jasonboukheir closed 4 years ago

jasonboukheir commented 4 years ago

Making Selectable types lazy because they only need to exist when the type picker is shown. Alternatively, we could be using a function instead--will decide later.

BREAKING CHANGES: Removes the IEnumerable of SelectableType parameter and replaces with a Lazy version. Fixes #53

codecov[bot] commented 4 years ago

Codecov Report

Merging #55 into preview will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##           preview       #55   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           21        21           
  Lines          419       420    +1     
=========================================
+ Hits           419       420    +1     
Flag Coverage Δ
#unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...oo.serially/Editor/ShowSerializeReferenceDrawer.cs 100.00% <ø> (ø)
....careboo.serially/Editor/SerializableTypeDrawer.cs 100.00% <100.00%> (ø)
Packages/com.careboo.serially/Editor/TypeField.cs 100.00% <100.00%> (ø)
github-actions[bot] commented 4 years ago

:tada: This PR is included in version 2.1.0-preview.2 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: