Пример #1
0
 public override void OnOverlap(PlayerMovement pm)
 {
     AddScore(); // Do AddScore method
 }
Пример #2
0
 /// <summary>
 /// This function is overwritten by child classes (because of "virtual")
 /// </summary>
 /// <param name="pm"></param>
 virtual public void OnOverlap(PlayerMovement pm)
 {
 }