q&d hack for ui opacity control using a shader

This commit is contained in:
minjaesong
2020-09-12 11:24:32 +09:00
parent 9b079d0467
commit f9883f2516
6 changed files with 61 additions and 12 deletions

View File

@@ -12,7 +12,7 @@ open class UIItemTransitionContainer(
initialY: Int,
override val width: Int,
override val height: Int,
val transitionLength: Float = 0.212f,
val transitionLength: Float = 0.15f,
var currentPosition: Float = 0f,
val uis: Array<out UICanvas>
) : UIItem(parent, initialX, initialY) {