Ejemplo n.º 1
0
    void HasOwnerFound()
    {
        //do the grab action, and the animal has been found

        /*destroy the animal*/
        // Destroy(gameObject);

        /*generate a particle system for it to cover the destroy mechanic*/

        /*incerement the animals found counter*/
        gameManager.IncrementAnimalsSaved();
    }