示例#1
0
    /// <summary>
    /// Function called when the Ball animation is at the lowest point (i.e. touches the hand).
    /// Given that the animation is two seconds long, this function is called every two seconds.
    /// </summary>
    public void TouchCallBack()
    {
        float touchTime = Time.time;

        ballHandlerScript.TouchCallBack(touchTime);
        vibHandlerScript.TouchCallBack(touchTime);
    }