Пример #1
0
 public override void onTriggerEnter(PlayerStats stats, ControllerGame controllerGame)
 {
     stats.addScore(value);
     if(destroyOnPickup == true)
     {
         Destroy(gameObject);
     }
 }