Example #1
0
    private void OnTriggerEnter(Collider other)
    {
        Kart ThisKart = other.gameObject.GetComponent <Kart>();


        if (ThisKart != null)
        {
            ThisKart.Boost();
        }
    }