Unity call function on collision. Alternatively you could make use of UnityEvents (...