Show how to access subviews by name

This commit is contained in:
soywiz
2020-12-01 20:18:31 +01:00
parent de80a01ad1
commit 9e3b8c0b1b

View File

@@ -6,4 +6,5 @@ import com.soywiz.korio.file.std.*
suspend fun main() = Korge(bgcolor = Colors["#172335"]) {
addChild(resourcesVfs["scene.ktree"].readKTree(views()))
this["small"].alpha(0.1)
}