garettbass / UnityExtensions.ArrayDrawer

ArrayDrawer is a base class like PropertyDrawer, but for arrays and lists.
MIT License
131 stars 21 forks source link

Please add support for List<T>? #8

Closed zhengying closed 5 years ago

zhengying commented 5 years ago

"List" is used more common than "System.Array", can you add support for List

zhengying commented 5 years ago

Sorry! List is already supported.

garettbass commented 5 years ago

This library builds upon Unity’s SerializedProperty API, which treats System.Array and List the same. As a result, ArrayDrawer-based GUI works with all arrays and lists.

See this example: https://github.com/garettbass/UnityExtensions.ArrayDrawer/blob/master/ArrayDrawerExamples/SampleAsset.cs