onCollisionWith as method of GameObject