video thumbnail 21:58
Unity Gradient Editor (3/3)

2018-01-04

[public] 11.2K views, 306 likes, dislikes audio only

In this series we'll be creating a custom gradient editor.

Source:

https://github.com/SebLague/Gradient-Editor

Support the creation of more gamedev tutorials:

https://www.patreon.com/SebastianLague

https://www.paypal.me/SebastianLague


move these existing color keys
/youtube/video/EXuCrb3VBJs?t=3.22
give it a little black background
/youtube/video/EXuCrb3VBJs?t=118.149
give this a black color
/youtube/video/EXuCrb3VBJs?t=157.19
get the index of that new key
/youtube/video/EXuCrb3VBJs?t=276.14999
return an integer for the index of the new key
/youtube/video/EXuCrb3VBJs?t=286.32001
update the time of a color
/youtube/video/EXuCrb3VBJs?t=354.09
remove keys from the interface
/youtube/video/EXuCrb3VBJs?t=411.38
update the selected key index
/youtube/video/EXuCrb3VBJs?t=504.26999
grab one of the key rectangles from the array
/youtube/video/EXuCrb3VBJs?t=700.09998
draw a settings rectangle
/youtube/video/EXuCrb3VBJs?t=728.39001
remove the minus one from the loop
/youtube/video/EXuCrb3VBJs?t=980.53998
set the current blend mode
/youtube/video/EXuCrb3VBJs?t=1016.06
cast this to the correct type of enum
/youtube/video/EXuCrb3VBJs?t=1042.4
calculating a random color
/youtube/video/EXuCrb3VBJs?t=1138.64
set up the size of the window
/youtube/video/EXuCrb3VBJs?t=1184.99
mark the current scene
/youtube/video/EXuCrb3VBJs?t=1238.42
Sebastian Lague Hello, on this channel I explore how to create stuff out of code. I hope you find some of it interesting!
/youtube/channel/UCmtyQOKKmrMVaKuRXz02jbQ
Support these videos on Patreon patreon.com
https://www.patreon.com/SebastianLague
Shape Editor Tool by Sebastian Lague
/youtube/video/bPO7_JNWNmI
Behind the Scenes by Sebastian Lague
/youtube/video/H7-3dZTERf0