예제 #1
0
    private void OnTriggerEnter(Collider collision)
    {
        if (collision.gameObject.tag != "Player")
        {
            return;
        }

        roadManager.CheckPointReached();
    }