﻿using UnityEngine;
using System.Collections;

public class SourisScript : MonoBehaviour {
    public MaterielScript material_interface;
	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame"
	void Update () {
        if (Input.GetButtonUp("Fire1"))
        {
            material_interface.B1 = true;
            Debug.Log("[SOURIS] Fire1 ACTIVE");
        }
        else
            material_interface.B1 = false;
        if (Input.GetButtonUp("Fire3"))
        {
            material_interface.B2 = true;
            Debug.Log("[SOURIS] Fire3 ACTIVE");
        }
        else
            material_interface.B2 = false;
        if (Input.GetButtonUp("Fire2"))
        {
            material_interface.B3 = true;
            Debug.Log("[SOURIS] Fire2 ACTIVE");
        }
        else
            material_interface.B3 = false;
	}
}
