예제 #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)
 {
 }