0
Fixed

Add EditorGUI.GradientField method

Ex-Crow 2 years ago updated by Lazlo Bonin (Lead Developer) 1 year ago 2
Bolt Version:
2.0.0a4
Unity Version:
2018.3.14f1
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):
Bolt 2
+1
Fixed in Alpha

Welp this was a little bit more complicated than I thought because Unity has serialization limitations for gradients, but it works now!





Note: this does make me realize that we don't have array get/set units. You can theoretically get the keys out by using List<GradientColorKey> units, but they won't be contextually suggested because that requires a conversion behind the scenes. I'll have to look into implementing the actual array units, which is actually pretty complex.