void OnTriggerExit(Collider other)
        {
            ThrowController throwController = other.GetComponent <ThrowController>();

            if (throwController == null || currentBall == null || !currentBall.Ready)
            {
                return;
            }

            currentBall.SetHighlightEnabled(false);
        }
Beispiel #2
0
 void Awake()
 {
     throwController = GetComponent <ThrowController>();
 }