void OnTriggerExit(Collider other) { ThrowController throwController = other.GetComponent <ThrowController>(); if (throwController == null || currentBall == null || !currentBall.Ready) { return; } currentBall.SetHighlightEnabled(false); }
void Awake() { throwController = GetComponent <ThrowController>(); }