예제 #1
0
        void OnTriggerExit(Collider other)
        {
            ThrowController throwController = other.GetComponent <ThrowController>();

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

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