void OnPress(bool isDown)
 {
     listPopulator.itemIsPressed(itemDataIndex, isDown);
 }
예제 #2
0
 void OnPress(bool isDown)
 {
     listPopulator.itemIsPressed(itemDataIndex, isDown);
     // change sprite color
     backgroundSprite.color = isDown?spritePressedColor:spriteColor;
 }