示例#1
0
 void _OnSnakeAteApple(SnakeAteAppleEvent e)
 {
     if (!BoardData.RandomApple())
     {
         num_inactive++;
     }
 }
示例#2
0
 void _OnSnakeAteAppleEvent(SnakeAteAppleEvent e)
 {
     ++gold;
     UpdateShop();
 }