Пример #1
0
 private void OnTriggerExit(Collider other)
 {
     if (parent.rolling && other.gameObject.tag == "Finish")
     {
         parent.stopRolling();
     }
 }