using UnityEngine;
using System.Collections;

public class ZWriteOn : MonoBehaviour {
	// Use this for initialization
	void Start () {
        GetComponent<Renderer>().materials[0].SetFloat("_ZWrite", 1.0f);
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}
}
