예제 #1
0
    private void ThrowAI()
    {
        Player  catcher = MyTeam.ChooseRandomCatcher(this);
        Vector3 dir     = (catcher.transform.position - transform.position).normalized * Random.Range(900f, 1500f);

        ThrowDisc(new Vector2(-dir.x, -dir.z));
    }