コード例 #1
0
    private void OnTriggerEnter(Collider other)
    {
        Debug.Log("collision");
        PokemonBehaviour pokemonAcertado = other.GetComponent <PokemonBehaviour>();

        if (pokemonAcertado != null)
        {
            move.Move(this, pokemonAcertado);
        }
        UpdateScale();
    }