Ejemplo n.º 1
0
    public void DestroySheep(Script_Sheep p_sheep, Material p_material)
    {
        GameObject sheepObject = p_sheep.GetSheepObject();

        _sheepList.Remove(p_sheep);
        _gameManager.DestroyObject(sheepObject);
        _gameManager.DestroyMaterial(p_material);
    }